Richard. Intersting stuff.
When one first drags a roundRect from the toolbar, the PI has a field to enter a value for the “roundRadius” property. But after a rotation, where the graphic is now defined solely by its “points” property, the ability to get or set that property disappears. I suppose this makes sense. And if one sets the roundRadius property to a value greater than the geometry of the graphic will allow, that is, the radius of the corners is greater than that which will ‘fit” onto the graphic itself, one gets a circle, though defined by points as opposed to the usual startAngle and arcAngle. Craig > On Jun 4, 2024, at 2:48 PM, Richard Gaskin via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Craig wrote: >> The docs must be wrong. I just tested with all seven of the graphic >> options in the tools palette, and they all rotate just fine. > > I'd guess that Dictionary entry was written before July 7, 2007. > > In the revcommonlibrary script you'll find the revRotatePoly command on lines > 496 thru 532, with the comment block above it noting the date it was added. > > On line 506 it gets the EFFECTIVE points for any graphic styles that doesn't > innately have a points property. > > On line 525 it changes the style of the target graphic object to polygon if > needed. > > Those two changes are not present in the older revRotatePolygonOld command > listed just below it. > > -- > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode