Index

Package: Bitmaps

Description

package Allegro.Bitmaps is
Allegro 5.0.9 - Bitmaps routines

Types

Allegro_Bitmap

type Allegro_Bitmap is limited private;

A_Allegro_Bitmap

type A_Allegro_Bitmap is access all Allegro_Bitmap;

Allegro_Bitmap_Flags

subtype Allegro_Bitmap_Flags is Unsigned_32;

Constants & Global variables

ALLEGRO_MEMORY_BITMAP (Allegro_Bitmap_Flags)

ALLEGRO_MEMORY_BITMAP          : constant Allegro_Bitmap_Flags;

ALLEGRO_KEEP_BITMAP_FORMAT (Allegro_Bitmap_Flags)

ALLEGRO_KEEP_BITMAP_FORMAT     : constant Allegro_Bitmap_Flags;

ALLEGRO_FORCE_LOCKING (Allegro_Bitmap_Flags)

ALLEGRO_FORCE_LOCKING          : constant Allegro_Bitmap_Flags;

ALLEGRO_NO_PRESERVE_TEXTURE (Allegro_Bitmap_Flags)

ALLEGRO_NO_PRESERVE_TEXTURE    : constant Allegro_Bitmap_Flags;

ALLEGRO_ALPHA_TEST (Allegro_Bitmap_Flags)

ALLEGRO_ALPHA_TEST             : constant Allegro_Bitmap_Flags;

ALLEGRO_MIN_LINEAR (Allegro_Bitmap_Flags)

ALLEGRO_MIN_LINEAR             : constant Allegro_Bitmap_Flags;

ALLEGRO_MAG_LINEAR (Allegro_Bitmap_Flags)

ALLEGRO_MAG_LINEAR             : constant Allegro_Bitmap_Flags;

ALLEGRO_MIPMAP (Allegro_Bitmap_Flags)

ALLEGRO_MIPMAP                 : constant Allegro_Bitmap_Flags;

ALLEGRO_NO_PREMULTIPLIED_ALPHA (Allegro_Bitmap_Flags)

ALLEGRO_NO_PREMULTIPLIED_ALPHA : constant Allegro_Bitmap_Flags;

ALLEGRO_VIDEO_BITMAP (Allegro_Bitmap_Flags)

ALLEGRO_VIDEO_BITMAP           : constant Allegro_Bitmap_Flags;

Subprograms & Entries

Al_Get_New_Bitmap_Flags

function Al_Get_New_Bitmap_Flags return Allegro_Bitmap_Flags;

Al_Get_New_Bitmap_Format

function Al_Get_New_Bitmap_Format return Allegro_Pixel_Format;

Al_Set_New_Bitmap_Flags

procedure Al_Set_New_Bitmap_Flags
( flags: Allegro_Bitmap_Flags );

Al_Add_New_Bitmap_Flag

procedure Al_Add_New_Bitmap_Flag
( flag: Allegro_Bitmap_Flags );

Al_Set_New_Bitmap_Format

procedure Al_Set_New_Bitmap_Format
( format: Allegro_Pixel_Format );

Al_Create_Bitmap

function Al_Create_Bitmap
( w, h: Integer ) return A_Allegro_Bitmap;

Al_Clone_Bitmap

function Al_Clone_Bitmap
( bitmap: A_Allegro_Bitmap ) return A_Allegro_Bitmap;

Al_Destroy_Bitmap

procedure Al_Destroy_Bitmap
( bitmap: in out A_Allegro_Bitmap );

Al_Get_Bitmap_Flags

function Al_Get_Bitmap_Flags
( bitmap: A_Allegro_Bitmap ) return Allegro_Bitmap_Flags;

Al_Get_Bitmap_Format

function Al_Get_Bitmap_Format
( bitmap: A_Allegro_Bitmap ) return Allegro_Pixel_Format;

Al_Get_Bitmap_Height

function Al_Get_Bitmap_Height
( bitmap: A_Allegro_Bitmap ) return Integer;

Al_Get_Bitmap_Width

function Al_Get_Bitmap_Width
( bitmap: A_Allegro_Bitmap ) return Integer;

Al_Get_Pixel

function Al_Get_Pixel
( bitmap: A_Allegro_Bitmap;
x, y: Integer ) return Allegro_Color;

Al_Put_Pixel

procedure Al_Put_Pixel
( x, y: Integer;
color: Allegro_Color );

Al_Put_Blended_Pixel

procedure Al_Put_Blended_Pixel
( x, y: Integer;
color: Allegro_Color );

Al_Convert_Mask_To_Alpha

procedure Al_Convert_Mask_To_Alpha
( bitmap: A_Allegro_Bitmap;
mask_color: Allegro_Color );

Al_Get_Clipping_Rectangle

procedure Al_Get_Clipping_Rectangle
( x, y, w, h: out Integer );

Al_Reset_Clipping_Rectangle

procedure Al_Reset_Clipping_Rectangle;

Al_Set_Clipping_Rectangle

procedure Al_Set_Clipping_Rectangle
( x, y, width, height: Integer );

Al_Create_Sub_Bitmap

function Al_Create_Sub_Bitmap
( parent: A_Allegro_Bitmap;
x, y: Integer;
w, h: Integer ) return A_Allegro_Bitmap;

Al_Is_Sub_Bitmap

function Al_Is_Sub_Bitmap
( bitmap: A_Allegro_Bitmap ) return Boolean;

Al_Get_Parent_Bitmap

function Al_Get_Parent_Bitmap
( bitmap: A_Allegro_Bitmap ) return A_Allegro_Bitmap;