Page 1 of 1

Effective points of graphics

Posted: Tue Aug 19, 2014 5:03 pm
by Mag
I saw that in this blog post http://livecode.com/blog/2014/07/22/we- ... -released/ they talk about "Effective points of graphics". Does anyone know what this is? I hope it's a way to improve the quality of graphics LiveCode.

Re: Effective points of graphics

Posted: Tue Aug 19, 2014 5:33 pm
by bn
Hi Mag,

the effective points of a graphic according to the dictionary:
Syntax:
set the [effective] points of graphic to vertexList

Changes:
6.7: The effective points and effective relativePoints of a graphic return a polygonal representation of the shape even for shapes not defined by points. In particular, you can get the effective points of rectangle, round-rectangle, oval and regular polygon graphics.
in other words if you have a rectangle graphic you used to have only height and width, the effective points of a rectangle give you points from e.g. a rectangle graphic.
Does anyone know what this is? I hope it's a way to improve the quality of graphics LiveCode.
this will not improve the quality of current graphics, in case of an oval graphic the effective points of the oval graphic look not as good as the original.

What would you like to have improved in the current graphics?

Ultimately the quality of graphics in LiveCode will improve once we have a resolution independent graphic object, something like Bezier curves. A mathematical representation of the graphic, not the cartesian coordinates. As long as you have cartesian coordinates you have the graphic objects we have today. Resolution independence of graphic is on the road map as
vector shape object

http://livecode.com/community/roadmap/

Kind regards
Bernd

Re: Effective points of graphics

Posted: Tue Aug 19, 2014 7:25 pm
by Mag
Thank you Bernd.

PS
Unfortunately I was not able to have nice strokes, even with Bezier curves. Definitely my fault anyway.

Re: Effective points of graphics

Posted: Wed Aug 20, 2014 3:35 am
by dunbarx
This all started last january.

Read from here;

http://forums.livecode.com/viewtopic.ph ... 361#p91186

Craig Newman