Open a new document in AI (CS5/CS6), and then draw some arts (rectangles), given an original point (such as 0,0), now I want to all arts in current layer rotate 30 degree around the origin. How to realize it?
Thanks in advance.
In AITransformArt.h you'll find AITransformArtSuite::TransformArt(). That's the method you'll want. You just need to build the appropriate matrix using the methods in AIRealMath.h -- with an AIRealMatrix -- and then apply that to all the art you want affected.