Index

Package: Scale_X

Description

package Scale_X is

Subprograms & Entries

Copyright

function Copyright return String;
Returns the copyright tag for Scale2X.

Version

function Version return String;
Returns a string describing the library version.

Scale2x

procedure Scale2x
( dst: Address;
dstXres: Unsigned_32;
src: Address;
srcXres: Unsigned_32;
width, height: Positive );
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 );
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;
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 );
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 );
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