libmonochrome/doc/ML_pixel.3.txt

35 lines
598 B
Plaintext

:Author: Thomas "Cakeisalie5" Touhey
:Email: thomas@touhey.fr
:man source: libmonochrome
:man manual: libmonochrome
ML_PIXEL(3)
===========
NAME
----
ML_pixel - Pixel setting and testing functions from libmonochrome
SYNOPSIS
--------
[source,c]
----
#include <monochrome.h>
void ML_pixel(int x, int y, ML_Color color);
ML_Color ML_pixel_test(int x, int y);
----
DESCRIPTION
-----------
Sets or test (get) a pixel's state/color.
For ML_pixel_test, if the asked pixel is out of the screen, the returned color
will be ML_TRANSPARENT.
SEE ALSO
--------
libmonochrome(3),
ML_VRAM(3),
ML_Color(3)