BitmapSize

Aus MCS Wiki AVR
Version vom 12. Dezember 2014, 22:00 Uhr von Admin (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Inhaltsverzeichnis

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

Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Sprache