SliceExpanded

float slicePos, OlSlicingChoise mode );

Stretches a one pixel wide slice of the bitmap to fill the entire bitmap. The mode should be one of the following: HORIZONTAL_SLICE or VERTICAL_SLICE.

Examples

Bitmap myBmp( ... );

// Blit the Bitmap to the screen such that the fifth row of the Bitmap fills the entire Bitmap //
myBmp.Blit( 200.0, 100.0, SliceExpanded( 5.0, VERTICAL ));


Parent Class


Questions about SliceExpanded? Click here.