Template:Coordinate to Pixel

From Drunkapedia
Jump to: navigation, search


Syntax

{{Coordinate to Pixel
 | <Value> (0.0 to 102.8)
 | <Direction> (N E S W)
 | <Scale> (128, 256, 512, etc)
 | <Offset> (Half point image width rounded up, minus any border width)
}}

For example:

{{Coordinate to Pixel|10.5|N|128|3}}

gives the result:


0

0 {{#var:vn}}



112

128

128


Help:Contents