BitmapSize
From MCS Wiki AVR
Contents |
Action
Specify the Screen Drawing Bitmap Size (for the current Bitmap Handle)
Syntax
BitmapSize Filter, Wrapx , Wrapx ,Width, Height
Remarks
Filter |
Bitmap Filtering Mode, NEAREST or BILINEAR |
Wrapx |
Bitmap x wrap mode, REPEAT or BORDER |
Wrapx |
Bitmap y wrap mode, REPEAT or BORDER |
Width |
Drawn bitmap Width, in Pixels |
Height |
Drawn bitmap Height, in Pixels |
This command controls the drawing of bitmaps: the on-screen size of the bitmap, the behavior for wrapping, and
the filtering function. Please note that if Wrapx or Wrapy is using REPEAT then the corresponding memory layout dimension
(BitmapLayout linestride or height) must be power of two, otherwise the result is undefined.
See also
BitmapHandle, BitmapLayout, BitmapSource