Hello Everyone,
I want to know how I can resize the width/ length of a art?
I went through APIs and got some helpful suite like AITransformArtSuite. But I am unable to use it's method TransformArt. since I don't know how to create appropriate AIRealMatrix.
Please show me way to do that.
Thanks,
D.A
Hello,
I use the AITransformArtSuite like this :
AIRealMatrix matrix;
AIReal ScaleX, ScaleY;
AIArtHandle MyArt;
sMath->AIRealMatrixSetIdentity(&matrix);
ScaleX=0.5;
ScaleY=0.5;
sMath->AIRealMatrixSetScale(&matrix, ScaleX, ScaleY);
error=sAITransformArt->TransformArt(MyArt, &matrix, 1.0, kTransformObjects);
For me, it works.
JLG.
Thank you very much for your great help!