Closed stephanschulz closed 3 years ago
Try using E.pushMatrix()
, E.translate()
, etc.? or am I misunderstanding your question? See for example https://github.com/CreativeInquiry/PEmbroider/blob/master/API.md#void-translatefloat-x-float-y
You are totally right. This works just fine. Sorry, should have know this by now.
E.pushMatrix();
E.scale(0.3, 0.3);
E.translate(200, 0);
E.popMatrix();
No problem. In this regard PEmbroider operates much more like the PGraphics object in Processing, than an alternative rendering pipeline like the PDF renderer.
I am trying to draw a bunch of lines just like the PEmbroider_lines_1 example shows. But the following does show the same results as not using push/pop.