GM: draw point

From GMpedia.org Wiki

Jump to: navigation, search
The correct title of this article is draw_point(x,y). It appears incorrectly here because of technical restrictions.
The correct title of this article is draw_point(). It appears incorrectly here because of technical restrictions.


Arguments

x = Horizontal position in pixels. y = Vertical position in pixels.

Limitations

must be in Draw Event or used with Surfaces.

Note: Please remove limitations and port them in the "Remarks" section at the end of the article.

This function will draw a point (pixel) at the x & y co ordinates in the current colour (the current colour can be changed with the function draw_set_color). The default colour is black (c_black).

[edit] See Also

This article was originally found at the Game Maker Knowledge Base, contributed by nickydude.
See the talk page for details
Personal tools