math on widths doesn't add up
dochawk at gmail.com
Fri Jun 14 15:22:15 EDT 2019
Playing around with a couple of things needing alignment, I’ve noticed that the math on widths and edges isn’t quite right.
For example, I have a boundary rect of width 12, with a left of 0 and a right of 12.
One of these is wrong . . . a width of 12 would go from 0 to 11; 0 to 12 is 13 pixels wide . . .
It seems that “right” actually means, “the pixel to the right of” . . .
Richard E. Hawkins, Esq.
The Hawkins Law Firm
3430 E. Flamingo Rd.
Las Vegas, NV 89121
More information about the Use-livecode