This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
crpl:docs:pixeltocell [2014/12/20 01:30] – created stewbasic | crpl:docs:pixeltocell [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | + | |
<- [[crpl: | <- [[crpl: | ||
===== PixelToCell | ===== PixelToCell | ||
Line 9: | Line 9: | ||
=== Description === | === Description === | ||
Converts a pair of pixel coordinates into a pair of map cell coordinates. | Converts a pair of pixel coordinates into a pair of map cell coordinates. | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | |||
+ | To convert them to integers, this is one way: | ||
+ | < | ||
=== Examples === | === Examples === |