Difference between revisions of "love.graphics.point"

m
Line 12: Line 12:
 
== Notes ==
 
== Notes ==
 
The pixel grid is actually offset to the center of each pixel. So to get clean pixels drawn use 0.5 + integer increments.
 
The pixel grid is actually offset to the center of each pixel. So to get clean pixels drawn use 0.5 + integer increments.
 
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Draws a point.}}
 
{{#set:Description=Draws a point.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.point}}
 
{{i18n|love.graphics.point}}

Revision as of 10:18, 25 March 2011

Draws a point.

Function

Synopsis

love.graphics.point( x, y )

Arguments

number x
The position on the x-axis.
number y
The position on the y-axis.

Returns

Nothing.

Notes

The pixel grid is actually offset to the center of each pixel. So to get clean pixels drawn use 0.5 + integer increments.

See Also


Other Languages