You don't need sub-pixels per say but you need to know they exist. I found
that out real quick when writing the color gradient math for CGI. If I did
not use center pixel coordinates the gradients were "jaggy" so to speak.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of hh via use-livecode
Sent: Friday, June 14, 2019 7:01 PM
To: use-livecode@lists.runrev.com
Cc: hh
Subject: Re: math on widths doesn't add up

@Dar.
Could we agree that in LC Script we cannot draw subpixels? (I would like
to...)

And yes, you are right with the invariance of width and height. The number
of pixels isn't dependent of how I enumerate them. Sorry.

> I don't understand why you say "pixel 1".

OK. I should say pixel 1 (one-based counting).
Zero-based counting certainly has also some advantages.


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to