Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

is_sub_bitmap(3alleg4) [opendarwin man page]

is_sub_bitmap(3alleg4)						  Allegro manual					    is_sub_bitmap(3alleg4)

NAME
is_sub_bitmap - Tells if a bitmap is a sub bitmap. Allegro game programming library. SYNOPSIS
#include <allegro.h> int is_sub_bitmap(BITMAP *bmp); DESCRIPTION
Returns TRUE if bmp is a sub-bitmap. SEE ALSO
create_sub_bitmap(3alleg4) Allegro version 4.4.2 is_sub_bitmap(3alleg4)

Check Out this Related Man Page

create_sub_bitmap(3alleg4)					  Allegro manual					create_sub_bitmap(3alleg4)

NAME
create_sub_bitmap - Creates a memory sub bitmap. Allegro game programming library. SYNOPSIS
#include <allegro.h> BITMAP *create_sub_bitmap(BITMAP *parent, int x, y, width, height); DESCRIPTION
Creates a sub-bitmap, ie. a bitmap sharing drawing memory with a pre-existing bitmap, but possibly with a different size and clipping set- tings. When creating a sub-bitmap of the mode-X screen, the x position must be a multiple of four. The sub-bitmap width and height can extend beyond the right and bottom edges of the parent (they will be clipped), but the origin point must lie within the parent region. RETURN VALUE
Returns a pointer to the created sub bitmap, or NULL if the sub bitmap could not be created. Remember to free the sub bitmap before freeing the parent bitmap to avoid memory leaks and potential crashes accessing memory which has been freed. SEE ALSO
create_bitmap(3alleg4), create_bitmap_ex(3alleg4), destroy_bitmap(3alleg4), is_sub_bitmap(3alleg4), clear_bitmap(3alleg4), clear_to_color(3alleg4), expat(3alleg4), exscroll(3alleg4), exswitch(3alleg4) Allegro version 4.4.2 create_sub_bitmap(3alleg4)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: ␀␀Word Finder® Plus™. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word Finder® Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies

Featured Tech Videos