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 [email protected] -----Original Message----- From: use-livecode [mailto:[email protected]] On Behalf Of hh via use-livecode Sent: Friday, June 14, 2019 7:01 PM To: [email protected] 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 [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
