Effective points of graphics

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Effective points of graphics

Post by Mag » Tue Aug 19, 2014 5:03 pm

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.

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4174
Joined: Sun Jan 07, 2007 9:12 pm

Re: Effective points of graphics

Post by bn » Tue Aug 19, 2014 5:33 pm

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

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: Effective points of graphics

Post by Mag » Tue Aug 19, 2014 7:25 pm

Thank you Bernd.

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

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10333
Joined: Wed May 06, 2009 2:28 pm

Re: Effective points of graphics

Post by dunbarx » Wed Aug 20, 2014 3:35 am

This all started last january.

Read from here;

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

Craig Newman

Post Reply