BitmapSize

From MCS Wiki AVR
Revision as of 22:00, 12 December 2014 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

BitmapHandleBitmapLayoutBitmapSource

 

 

Example

Personal tools
Namespaces
Variants
Actions
Navigation
Language