EasyManua.ls Logo

Bridgetek FT801 - BITMAP_SIZE

Default Icon
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
94
Product Page
Document Feedback Copyright © Bridgetek Limited
4.8 BITMAP_SIZE
Specify the screen drawing of bitmaps for the current handle
Encoding
31 24
23 21
20
19
18
17 9
8 0
0x08
reserved
filter
wrapx
wrapy
width
height
Parameters
filter
Bitmap filtering mode, one of NEAREST or BILINEAR
The value of NEAREST is 0 and the value of BILINEAR is 1.
wrapx
Bitmap x wrap mode, one of REPEAT or BORDER
The value of BORDER is 0 and the value of REPEAT is 1.
wrapy
Bitmap y wrap mode, one of REPEAT or BORDER
width
Drawn bitmap width, in pixels
height
Drawn bitmap height, in pixels
Description
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 REPEAT then the corresponding memory layout dimension
(BITMAP_LAYOUT line stride or height) must be power of two, otherwise the result is
undefined.
For parameter width and height, the value from 1 to 511 means the bitmap width
and height in pixel. The value of zero means the 512 pixels in width or height.

Table of Contents