Frank D. Engel, Jr.
fde101 at fjrhome.net
Wed Jan 5 07:49:17 CST 2005
-----BEGIN PGP SIGNED MESSAGE-----
As an alternative, try placing a list of the points (each point on a
separate line, with a blank line between them) into the points property
of a polygon shape; for example, if your code generates points and
creates a list with one point on each line of a variable, say
srcpoints, create a polygon on your card (call it, say, mypoly), and
replace the lineDelimiter with (the lineDelimiter & the lineDelimiter)
put the lineDelimiter after srcpoints
set the points of graphic "mypoly" to srcpoints
set the markerPoints of graphic "mypoly" to 0,0
See what that does for you.
On Jan 4, 2005, at 10:55 PM, Ben Fisher wrote:
> I was wondering if there is some way to draw pixels directly onto the
> screen without having to create an object.
> My program (it's for a math class) creates a list of pixels to be
> drawn on the screen. Right now it "clicks" using the pencil tool and
> is *very* sluggish. Probably creating graphic objects for these points
> will be even slower.
> The only other idea I have would be to write to imagedata, and then to
> put that in an image and display it. This might be slow also though,
> and would be complicated. Is there a way to just draw a pixel on the
> screen (without an object), like in Java?
> use-revolution mailing list
> use-revolution at lists.runrev.com
Frank D. Engel, Jr. <fde101 at fjrhome.net>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten
Son, that whosoever believeth in him should not perish, but have
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
-----END PGP SIGNATURE-----
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
More information about the use-livecode