Index

Package: Bitmaps

Description

package Allegro.Bitmaps is

Types

Gfx_Vtable

type Gfx_Vtable is private;

A_Gfx_Vtable

type A_Gfx_Vtable is access all Gfx_Vtable;

A_Bitmap

type A_Bitmap is access all Bitmap;

Subprograms & Entries

Acquire_Bitmap

procedure Acquire_Bitmap
( bmp: not null A_Bitmap );

Acquire_Screen

procedure Acquire_Screen;

Add_Clip_Rect

procedure Add_Clip_Rect
( bmp: not null A_Bitmap;
x1, y1, x2, y2: Integer );

Bitmap_Color_Depth

function Bitmap_Color_Depth
( bmp: not null A_Bitmap ) return Integer;

Bitmap_Mask_Color

function Bitmap_Mask_Color
( bmp: not null A_Bitmap ) return Color_Type;

Create_Bitmap

function Create_Bitmap
( width, height: Positive ) return A_Bitmap;

Create_Bitmap_Ex

function Create_Bitmap_Ex
( color_depth, width, height: Positive ) return A_Bitmap;

Create_Sub_Bitmap

function Create_Sub_Bitmap
( parent: not null A_Bitmap;
x, y: Integer;
width, height: Positive ) return A_Bitmap;

Create_System_Bitmap

function Create_System_Bitmap
( width, height: Positive ) return A_Bitmap;

Create_Video_Bitmap

function Create_Video_Bitmap
( width, height: Positive ) return A_Bitmap;

Destroy_Bitmap

procedure Destroy_Bitmap
( bmp: in out A_Bitmap );

Get_Clip_Rect

procedure Get_Clip_Rect
( bmp: not null A_Bitmap;
x1, y1, x2, y2: out Integer );

Get_Clip_State

function Get_Clip_State
( bmp: not null A_Bitmap ) return Integer;

Get_Dat

function Get_Dat
( bmp: A_Bitmap ) return Address;

Get_Height

function Get_Height
( bmp: A_Bitmap ) return Integer;

Get_Screen

function Get_Screen return A_Bitmap;

Get_Screen_H

function Get_Screen_H return Integer;

Get_Screen_W

function Get_Screen_W return Integer;

Get_Virtual_H

function Get_Virtual_H return Integer;

Get_Virtual_W

function Get_Virtual_W return Integer;

Get_Width

function Get_Width
( bmp: A_Bitmap ) return Integer;

Is_Inside_Bitmap

function Is_Inside_Bitmap
( bmp: not null A_Bitmap;
x, y, clip: Integer ) return Integer;

Is_Linear_Bitmap

function Is_Linear_Bitmap
( bmp: A_Bitmap ) return Integer;

Is_Memory_Bitmap

function Is_Memory_Bitmap
( bmp: A_Bitmap ) return Integer;

Is_Planar_Bitmap

function Is_Planar_Bitmap
( bmp: A_Bitmap ) return Integer;

Is_Same_Bitmap

function Is_Same_Bitmap
( bmp1, bmp2: A_Bitmap ) return Integer;

Is_Screen_Bitmap

function Is_Screen_Bitmap
( bmp: A_Bitmap ) return Integer;

Is_Sub_Bitmap

function Is_Sub_Bitmap
( bmp: A_Bitmap ) return Integer;

Is_System_Bitmap

function Is_System_Bitmap
( bmp: A_Bitmap ) return Integer;

Is_Video_Bitmap

function Is_Video_Bitmap
( bmp: A_Bitmap ) return Integer;

Lock_Bitmap

procedure Lock_Bitmap
( bmp: not null A_Bitmap );

Release_Bitmap

procedure Release_Bitmap
( bmp: not null A_Bitmap );

Release_Screen

procedure Release_Screen;

Set_Clip_Rect

procedure Set_Clip_Rect
( bmp: not null A_Bitmap;
x1, y1, x2, y2: Integer );

Set_Clip_State

procedure Set_Clip_State
( bmp: not null A_Bitmap;
state: Integer );