Polygon Side Does Note Match to Polygon rect

Richmond richmondmathewson at gmail.com
Fri Dec 27 14:53:34 EST 2019


This is similar to a problem I've had with hexagons.

Probably the best thing is NOT to use the Regular Polygon Tool but to
define your own triangles using a Polygon Graphic where you set the points.

Richmond.

On 27.12.19 17:30, Sannyasin Brahmanathaswami via use-livecode wrote:
> Regular Polygon Tool:
>
> If you create a triangle grc and set its width and height to 243pt
>
> the tool positions the top of the triangle to center of the top line of the rect and leaves margins on the left and right sides. Thus, the triangle itself doesn't take the width of 243pt. It like ist has margins left and right…
>
> how to does have precise control over the size of the triangle (not the rect)?
>
> right now I have to build a "measuring grc/ruler" underneath, set it width to 243, and fiddle with the triangle until it matches my "ruler"
>
> BR
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list