bitmap_color_depth man page on DragonFly
[printable version]
bitmap_color_depth(3) Allegro manual bitmap_color_depth(3)
NAME
bitmap_color_depth - Returns the color depth of the specified bitmap.
Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int bitmap_color_depth(BITMAP *bmp);
DESCRIPTION
Returns the color depth of the specified bitmap (8, 15, 16, 24, or 32).
Example:
switch (bitmap_color_depth(screen)) {
case 8:
/* Access screen using optimized 8-bit code. */
break;
default:
/* Use generic slow functions. */
break;
}
SEE ALSO
set_color_depth(3), bitmap_mask_color(3), ex3d(3), exlights(3),
exscn3d(3), exswitch(3), extrans(3), exupdate(3), exzbuf(3)
Allegro version 4.4.2 bitmap_color_depth(3)
[top]
List of man pages available for DragonFly
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|