draw_point

Draws a single pixel.

语法:

draw_point(x, y);


参数 描述
x The x coordinate of the point to be drawn.
y The y coordinate of the point to be drawn.


返回: N/A(无返回值)


描述

With this function you can draw a single pixel anywhere on the screen.


例如:

draw_set_colour(c_yellow);
draw_point(100,100);

This will draw a yellow pixel at position (100,100).


上一页: Drawing Basic Forms
下一页: draw_point_colour
© Copyright YoYo Games Ltd. 2018 All Rights Reserved