SIMPLE SOLUTIONS

_GETPIXEL(3ALLEG4) - Linux man page online | Library functions

Faster specific version of getpixel(). Allegro.

Chapter
version 4.4.2
_getpixel(3alleg4) Allegro manual _getpixel(3alleg4)

NAME

_getpixel, _getpixel15, _getpixel16, _getpixel24, _getpixel32 - Faster specific version of getpixel(). Allegro game programming library.

SYNOPSIS

#include <allegro.h> int _getpixel(BITMAP *bmp, int x, int y); int _getpixel15(BITMAP *bmp, int x, int y); int _getpixel16(BITMAP *bmp, int x, int y); int _getpixel24(BITMAP *bmp, int x, int y); int _getpixel32(BITMAP *bmp, int x, int y);

DESCRIPTION

Faster inline versions of getpixel() for specific color depths. These won't work in mode- X, and don't do any clipping, so you must make sure the point lies inside the bitmap.

RETURN VALUE

Returns the value of the pixel in the color format you specified.

SEE ALSO

getpixel(3alleg4)
Allegro version 4.4.2 _getpixel(3alleg4)
This manual Reference Other manuals
_getpixel(3alleg4) referred by getpixel(3alleg4)
refer to getpixel(3alleg4)
Download raw manual
Main page Allegro manual (+923) Allegro (+926) № 3 (+68044)
Go top