libmonochrome/doc/ML_bmp_16.3.txt

48 lines
1.3 KiB
Plaintext

ML_BMP_16(3)
============
Thomas "Cakeisalie5" Touhey
:Email: thomas@touhey.fr
:man source: libmonochrome
:man manual: libmonochrome manual
NAME
----
ML_bmp_16_or, ML_bmp_16_and, ML_bmp_16_xor,
ML_bmp_16_or_cl, ML_bmp_16_and_cl, ML_bmp_16_xor_cl
- 16*16 BMP drawing functions from libmonochrome
SYNOPSIS
--------
[source,c]
----
#include <monochrome.h>
void ML_bmp_16_or(const unsigned short *bmp,
int x, int y);
void ML_bmp_16_and(const unsigned short *bmp,
int x, int y);
void ML_bmp_16_xor(const unsigned short *bmp,
int x, int y);
void ML_bmp_16_or_cl(const unsigned short *bmp,
int x, int y);
void ML_bmp_16_and_cl(const unsigned short *bmp,
int x, int y);
void ML_bmp_16_xor_cl(const unsigned short *bmp,
int x, int y);
----
DESCRIPTION
-----------
Those functions are meant to draw 16*16 monochrome with fill bits bitmaps -- like game sprites -- on the VRAM.
Function with the _cl suffix are functions using clipping, which means they are able to draw sprites even if they aren't completely on screen. Other functions only draw the bitmap if it is in the screen -- which makes them a little faster.
For bitmaps with other dimensions, please see ML_bmp_or(3) and ML_bmp_8_or(3).
SEE ALSO
--------
*libmonochrome*(3),
*ML_bmp_or*(3),
*ML_bmp_8_or*(3),
*ML_display_vram*(3)