draw_point_colour

Draws a single pixel in a given colour.

Syntax:

draw_point_colour(x, y, col1);


Argument Description
x The x coordinate of the point.
y The y coordinate of the point.
col1 The colour of the point.


Returns: N/A


Description

With this function you can draw a single pixel anywhere on the screen with a colour that you define. The colour settings will over-ride the base colour set with the function draw_set_colour.


Example:

draw_point_colour(50, 50, c_red);

This would draw a red pixel at (50,50).


Back: Drawing Basic Forms
Next: draw_rectangle
© Copyright YoYo Games Ltd. 2018 All Rights Reserved