<- PRPL reference <- Everything Else 2

PixelToCell

ArgumentsResultNotation
PX PY X Y [ float float - float float ]

Description

Converts pixel coordinates to cell coordinates. Cell coordinates are returned as floats. Pixel:Cell ratio is 4:1

Examples

20 40 PixelToCell

1 2 CellToPixel PixelToCell

21.5 42.5 PixelToCell CellToPixel