Index

Package: Super2xSaI

Description

package Super2xSaI is

Subprograms & Entries

Init_2xSaI

function Init_2xSaI
( depth: Integer ) return Integer;
Initializes the Super 2xSaI library. This must be called before calling a filtering procedure. depth: the color depth to use when filtering. source and destination bitmaps must use this color depth.

Super2xSaI

procedure Super2xSaI
( src, dest: not null A_Bitmap;
sx, sy, dx, dy: Integer;
width, height: Positive );
Enlarges a bitmap by 2x magnification using the Super 2xSaI filter. The destination bitmap dimensions must be at least (dx+width*2-1) by (dy+height*2-1). src : the source bitmap dest : the destination bitmap (must be large enough!) sx, sy: the source bitmap coordinates dx, sy: the destination bitmap coordinates width : the width of the area from the source bitmap to scale height: the height of the area from the source bitmap to scale

SuperEagle

procedure SuperEagle
( src, dest: not null A_Bitmap;
sx, sy, dx, dy: Integer;
width, height: Positive );
Enlarges a bitmap by 2x magnification using the Super Eagle filter. The destination bitmap dimensions must be at least (dx+width*2-1) by (dy+height*2-1). src : the source bitmap dest : the destination bitmap (must be large enough!) sx, sy: the source bitmap coordinates dx, sy: the destination bitmap coordinates width : the width of the area from the source bitmap to scale height: the height of the area from the source bitmap to scale