Index

Package: Allegro.Drawing

Description

package Allegro.Drawing is

Types

Point

type Point is
        record
            x, y : Integer;
        end record;

References:

allegro-drawing.ads:23:10 (declaration)
allegro-drawing.ads:28:53 (reference)
allegro-drawing.ads:143:27 (reference)

Point_Array

type Point_Array is array (Integer range <>) of Point;

References:

allegro-drawing.ads:28:10 (declaration)
allegro-drawing.adb:12:33 (reference)
allegro-drawing.ads:114:33 (reference)
allegro-drawing.ads:144:27 (reference)

A_Draw_Proc

type A_Draw_Proc is
        access procedure( bmp : A_Bitmap; x, y : Integer; d : Integer );

Subprograms & Entries

Arc

procedure Arc
( bmp: not null A_Bitmap;
x, y: Integer;
ang1, ang2: Fixed;
r: Integer;
color: Color_Type );

References:

allegro-drawing.ads:35:15 (declaration)
allegro-drawing.ads:147:23 (body)

Circle

procedure Circle
( bmp: not null A_Bitmap;
x, y, radius: Integer;
color: Color_Type );

References:

allegro-drawing.ads:42:15 (declaration)
allegro-drawing.ads:148:23 (body)

Circlefill

procedure Circlefill
( bmp: not null A_Bitmap;
x, y, radius: Integer;
color: Color_Type );

References:

allegro-drawing.ads:47:15 (declaration)
allegro-drawing.ads:149:23 (body)

Clear_Bitmap

procedure Clear_Bitmap
( bmp: not null A_Bitmap );

References:

allegro-drawing.ads:52:15 (declaration)
allegro-drawing.ads:150:23 (body)

Clear_To_Color

procedure Clear_To_Color
( bmp: not null A_Bitmap;
color: Color_Type );

References:

allegro-drawing.ads:54:15 (declaration)
allegro-drawing.adb:6:9 (reference)
allegro-drawing.ads:151:23 (body)
drawing_contexts.adb:46:9 (reference)
renderers.adb:30:13 (reference)
renderers.adb:52:13 (reference)

Called by:

Clear_To_Transparent defined at allegro-drawing.ads:56:15
Drawing_Contexts.Clear_To_Color defined at drawing_contexts.ads:31:15
Renderers.Adjust defined at renderers.ads:54:15
Renderers.Construct defined at renderers.ads:56:15

Clear_To_Transparent

procedure Clear_To_Transparent
( bmp: not null A_Bitmap );

References:

allegro-drawing.ads:56:15 (declaration)
allegro-drawing.adb:4:15 (body)
allegro-drawing.adb:7:9 (label)
widgets-containers.adb:114:21 (reference)
widgets.adb:317:25 (reference)
widgets.adb:326:25 (reference)

Called by:

Widgets.Containers.Draw defined at widgets-containers.ads:66:15
Widgets.Draw defined at widgets.ads:100:15
Widgets.Draw defined at widgets.ads:100:15

Do_Arc

procedure Do_Arc
( bmp: not null A_Bitmap;
x, y, a1, a2: Fixed;
r: Integer;
d: Integer;
proc: not null A_Draw_Proc );

References:

allegro-drawing.ads:58:15 (declaration)
allegro-drawing.ads:152:23 (body)

Do_Circle

procedure Do_Circle
( bmp: not null A_Bitmap;
x, y, radius: Integer;
d: Integer;
proc: not null A_Draw_Proc );

References:

allegro-drawing.ads:65:15 (declaration)
allegro-drawing.ads:153:23 (body)

Do_Ellipse

procedure Do_Ellipse
( bmp: not null A_Bitmap;
x, y, rx, ry: Integer;
d: Integer;
proc: not null A_Draw_Proc );

References:

allegro-drawing.ads:71:15 (declaration)
allegro-drawing.ads:154:23 (body)

Do_Line

procedure Do_Line
( bmp: not null A_Bitmap;
x1, y1, x2, y2: Integer;
d: Integer;
proc: not null A_Draw_Proc );

References:

allegro-drawing.ads:77:15 (declaration)
allegro-drawing.ads:155:23 (body)

Ellipse

procedure Ellipse
( bmp: not null A_Bitmap;
x, y, rx, ry: Integer;
color: Color_Type );

References:

allegro-drawing.ads:83:15 (declaration)
allegro-drawing.ads:157:23 (body)

Ellipsefill

procedure Ellipsefill
( bmp: not null A_Bitmap;
x, y, rx, ry: Integer;
color: Color_Type );

References:

allegro-drawing.ads:88:15 (declaration)
allegro-drawing.ads:156:23 (body)

Fastline

procedure Fastline
( bmp: not null A_Bitmap;
x1, y1, x2, y2: Integer;
color: Color_Type );

References:

allegro-drawing.ads:93:15 (declaration)
allegro-drawing.ads:158:23 (body)
drawing_contexts.adb:95:13 (reference)

Floodfill

procedure Floodfill
( bmp: not null A_Bitmap;
x, y: Integer;
color: Color_Type );

References:

allegro-drawing.ads:98:15 (declaration)
allegro-drawing.ads:159:23 (body)

Getpixel

function Getpixel
( bmp: not null A_Bitmap;
x, y: Integer )
return Color_Type;

References:

allegro-drawing.ads:102:14 (declaration)
allegro-drawing.ads:160:23 (body)
worlds-importing.adb:54:24 (reference)
worlds-importing.adb:79:37 (reference)
worlds-importing.adb:80:37 (reference)
worlds-importing.adb:103:28 (reference)
worlds-importing.adb:105:42 (reference)

Called by:

Worlds.Importing.Import_World.Is_Transparent defined at worlds-importing.adb:47:18
Worlds.Importing.Import_World.Match defined at worlds-importing.adb:64:18
Worlds.Importing.Import_World.Match defined at worlds-importing.adb:64:18
Worlds.Importing.Import_World.Transparent_Match defined at worlds-importing.adb:91:18
Worlds.Importing.Import_World.Transparent_Match defined at worlds-importing.adb:91:18

Hline

procedure Hline
( bmp: not null A_Bitmap;
x1, y, x2: Integer;
color: Color_Type );

References:

allegro-drawing.ads:104:15 (declaration)
allegro-drawing.ads:161:23 (body)

Line

procedure Line
( bmp: not null A_Bitmap;
x1, y1, x2, y2: Integer;
color: Color_Type );

References:

allegro-drawing.ads:108:15 (declaration)
allegro-drawing.ads:162:23 (body)
drawing_contexts.adb:100:13 (reference)

Polygon

procedure Polygon
( bmp: not null A_Bitmap;
points: Point_Array;
color: Color_Type );

References:

allegro-drawing.ads:113:15 (declaration)
allegro-drawing.adb:11:15 (body)
allegro-drawing.adb:21:9 (label)

Calls:

Allegro.Drawing.Polygon.C_Polygon defined at allegro-drawing.adb:14:19

Putpixel

procedure Putpixel
( bmp: not null A_Bitmap;
x, y: Integer;
color: Color_Type );

References:

allegro-drawing.ads:117:15 (declaration)
allegro-drawing.ads:163:23 (body)

Rect

procedure Rect
( bmp: not null A_Bitmap;
x1, y1, x2, y2: Integer;
color: Color_Type );

References:

allegro-drawing.ads:121:15 (declaration)
allegro-drawing.ads:164:23 (body)
drawing_contexts.adb:118:13 (reference)
drawing_contexts.adb:121:13 (reference)

Rectfill

procedure Rectfill
( bmp: not null A_Bitmap;
x1, y1, x2, y2: Integer;
color: Color_Type );

References:

allegro-drawing.ads:126:15 (declaration)
allegro-drawing.ads:165:23 (body)
drawing_contexts.adb:136:13 (reference)
drawing_contexts.adb:139:13 (reference)

Triangle

procedure Triangle
( bmp: not null A_Bitmap;
x1, y1, x2, y2, x3, y3: Integer;
color: Color_Type );

References:

allegro-drawing.ads:131:15 (declaration)
allegro-drawing.ads:166:23 (body)
drawing_contexts.adb:233:13 (reference)
drawing_contexts.adb:240:13 (reference)

Vline

procedure Vline
( bmp: not null A_Bitmap;
x, y1, y2: Integer;
color: Color_Type );

References:

allegro-drawing.ads:137:15 (declaration)
allegro-drawing.ads:167:23 (body)