math on widths doesn't add up

Dar Scott Consulting dsc at swcp.com
Fri Jun 14 18:09:47 EDT 2019


I tried to avoid the confusion by using the word pixel. I goofed somewhere.

I don't understand why you say "pixel 1". Other that that, I think we are saying the same thing.


> On Jun 14, 2019, at 3:54 PM, hh via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> @Dar.
> 
> Probably you wish with your post avoid the confusion between
> 
> = a math-point (x,y) which has no dimension, so cannot be drawn and
> 
> = a LC-point (x,y) which is (with a linewidth of 1) in fact a
> shorthand for the rect (x,y,x+1,y+1)= 1 pixel, which can be drawn.
> 
> So the LC-point (x,y) is (with a linewidth of 1) the pixel in column x+1
> and row y+1 of your screen/ coordinate system which has the rect (x,y,x+1,y+1).
> 
> Rows and Columns count here one-based, so for example (with a linewidth of 1)
> LC-Point (0,0) = rect (0,0,1,1) = pixel 1 of your coordinate system.
> _______________________________________________
> 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