Index

Package: Scale_X

Description

package Scale_X is

Subprograms & Entries

Scale2x

procedure Scale2x
( dst: Address;
dstXres: Unsigned_32;
src: Address;
srcXres: Unsigned_32;
width, height: Positive );

References:

scale_x.ads:17:15 (declaration)
scaling.adb:151:25 (reference)
scaling.adb:167:29 (reference)
scaling.adb:171:29 (reference)
scale_x.adb:4:15 (body)
scale_x.adb:21:9 (label)

Calls:

Scale_X.Scale2x.Scale2x_C defined at scale_x.adb:10:19
Scales source 2x to destination. dst : address of destination bitmap dstXres : width in pixels of destination bitmap src : address of source bitmap srcXres : width in pixels of source bitmap width : width of top left area in source bitmap to scale height : height of top left area in source bitmap to scale

Scale3x

procedure Scale3x
( dst: Address;
dstXres: Unsigned_32;
src: Address;
srcXres: Unsigned_32;
width, height: Positive );

References:

scale_x.ads:36:15 (declaration)
scaling.adb:156:25 (reference)
scale_x.adb:25:15 (body)
scale_x.adb:42:9 (label)

Called by:

Scaling.Scale defined at scaling.ads:30:15

Calls:

Scale_X.Scale3x.Scale3x_C defined at scale_x.adb:31:19
Scales source 3x to destination. dst : address of destination bitmap dstXres : width in pixels of destination bitmap src : address of source bitmap srcXres : width in pixels of source bitmap width : width of top left area in source bitmap to scale height : height of top left area in source bitmap to scale

Scale4x

function Scale4x
( dst: Address;
dstXres: Unsigned_32;
src: Address;
srcXres: Unsigned_32;
width, height: Positive )
return Boolean;

References:

scale_x.ads:57:14 (declaration)
scale_x.adb:46:14 (body)
scale_x.adb:63:9 (label)

Calls:

Scale_X.Scale4x.Scale4x_C defined at scale_x.adb:52:18
Scales source 4x to destination, returning True on success. This function essentially applies the scale2x function twice. The function could possibly fail there isn't enough memory available for a temporary bitmap. dst : address of destination bitmap dstXres : width in pixels of destination bitmap src : address of source bitmap srcXres : width in pixels of source bitmap width : width of top left area in source bitmap to scale height : height of top left area in source bitmap to scale

Scale2x3

procedure Scale2x3
( dst: Address;
dstXres: Unsigned_32;
src: Address;
srcXres: Unsigned_32;
width, height: Positive );

References:

scale_x.ads:76:15 (declaration)
scale_x.adb:67:15 (body)
scale_x.adb:84:9 (label)

Calls:

Scale_X.Scale2x3.Scale2x3_C defined at scale_x.adb:73:19
Scales source 2x wide by 3x high to destination. dst : address of destination bitmap dstXres : width in pixels of destination bitmap src : address of source bitmap srcXres : width in pixels of source bitmap width : width of top left area in source bitmap to scale height : height of top left area in source bitmap to scale

Scale2x4

procedure Scale2x4
( dst: Address;
dstXres: Unsigned_32;
src: Address;
srcXres: Unsigned_32;
width, height: Positive );

References:

scale_x.ads:95:15 (declaration)
scale_x.adb:88:15 (body)
scale_x.adb:105:9 (label)

Calls:

Scale_X.Scale2x4.Scale2x4_C defined at scale_x.adb:94:19
Scales source 2x wide by 4x high to destination. dst : address of destination bitmap dstXres : width in pixels of destination bitmap src : address of source bitmap srcXres : width in pixels of source bitmap width : width of top left area in source bitmap to scale height : height of top left area in source bitmap to scale