What is the max number of points in vector graphic?

dunbarx at aol.com dunbarx at aol.com
Thu May 22 16:42:29 EDT 2014


Bernd may just have got this right.


The list of points goes negative  after 32767 if I place a higher upper limit in the repeat loop. I guess something "wrapped" around the max. Here is the handler:




on mouseUp
   repeat with y = 1 to 50000
      put "100," & y & return after temp
   end repeat
   set the points of grc 1 to temp
   put the points of grc 1 into temp1
end mouseUp


Now if you look at the point list, right at the middle, we get an inflection point (Hermann? You there?):



100,32758
100,32759
100,32760
100,32761
100,32762
100,32763
100,32764
100,32765
100,32766
100,32767
100,-32768
100,-32767
100,-32766
100,-32765
100,-32764
100,-32763
100,-32762
100,-32761



Odd...



Craig









-----Original Message-----
From: BNig <bernd.niggemann at uni-wh.de>
To: use-revolution <use-revolution at lists.runrev.com>
Sent: Thu, May 22, 2014 3:14 pm
Subject: Re: What is the max number of points in vector graphic?


Hi Al,

I think Craig ran into a display problem, not a number of points of a
graphic problem. Because the points made the graphic to large.
Similar to maximum of a line. It can hold 65,536 but only display 32768 

I ran into this when vectorizing an image into graphic objects, above 65,536
points it will only display a part of the points. Up to 65,536 it will
display all points; apparently provided they are within the display limit.

Kind regards
Bernd




--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-is-the-max-number-of-points-in-vector-graphic-tp4679840p4679873.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
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