1_getpixel(3)                    Allegro manual                    _getpixel(3)
2
3
4

NAME

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

SYNOPSIS

10       #include <allegro.h>
11
12
13       int _getpixel(BITMAP *bmp, int x, int y);
14
15       int _getpixel15(BITMAP *bmp, int x, int y);
16
17       int _getpixel16(BITMAP *bmp, int x, int y);
18
19       int _getpixel24(BITMAP *bmp, int x, int y);
20
21       int _getpixel32(BITMAP *bmp, int x, int y);
22

DESCRIPTION

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

RETURN VALUE

29       Returns the value of the pixel in the color format you specified.
30
31

SEE ALSO

33       getpixel(3)
34
35
36
37Allegro                          version 4.4.3                    _getpixel(3)
Impressum