Originally posted by Edmond Corrola:
As for graphics 2D, I saw the rotate method in the API, but unfortunately I have other things drawn on the graphics object, so by rotating the graphics object, i essentially will ruin the coordinates of everything else i think.
Originally posted by Campbell Ritchie:
I prefer to use create() rather than rotate(x) . . . rotate(-x) even though there may be a delay. This is because the last time I tried that trick I found transforms interfering with later transforms. Rotation and translation were all right, but when I combined rotation with shear, there was a slight distortion for all objects added subsequently. That was an MSc assignment; shortly after I handed it in I realised taking a copy of the Graphics object would have worked better than transform...untransform.
We find this kind of rampant individuality very disturbing. But not this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
|