Article View: adobe.scripting.indesign
Article #1388Rotate around a coordinate
From: Current_Point
Date: Thu, 12 Feb 2009 20:39
Date: Thu, 12 Feb 2009 20:39
9 lines
1123 bytes
1123 bytes
Has anyone had any luck rotating an obj around an origin other than the constant values (ie center anchor)? I'm trying to rotate an obj around an x/y coordinate (instead of an objects anchor point)...
transform myFrame in pasteboard coordinates from {4.25, 5.5} with matrix myMatrix
It doesn't error, but it just doesn't return predictable results. Almost like a math error or something. The non-matrix rotation method used in InDesign versions CS/CS2 worked perfectly...
rotate myFrame by 45 around {4.25, 8.5}
Any thoughts are greatly appreciated.
Technical Details
Message-ID:
<59b7e5f3.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,6bf5c8e7ffd70265,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Current_Point@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Rotate around a coordinate Message-ID: <59b7e5f3.-1@webcrossing.la2eafNXanI> Date: Thu, 12 Feb 2009 12:39:59 -0800 Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit