Copying to and centering artwork on artboard using SDK
Can someone please tell me the best way to copy and center artwork on the artboard using the SDK? I can copy the art just fine and tried everything that I can think of but cannot get the artwork to center. I'm currently using a translation matrix for x, y with no luck. I have the code written already through script which works fine (not with any matrix, just plain old math to calculate x, y), but decided to rewrite the code as a C++ plugin. I'm going to need to scale the artwork a bit as well, but struggling with positioning at the moment. So, is this the best way (transformation/translation matrix) to do what I need or someone has another way?
