BitmapLayout
(Created page with "= <span class="f_Header">Action</span> = Specify the source bitmap memory format and layout for the current handle. <span style="font-family: Arial;"> </span> <span st...") |
|||
Line 29: | Line 29: | ||
<span style="font-weight: bold;">ARGB1555</span> | <span style="font-weight: bold;">ARGB1555</span> | ||
− | <span style="font-weight: bold;"> | + | <span style="font-weight: bold;">FT_L1</span> |
− | <span style="font-weight: bold;"> | + | <span style="font-weight: bold;">FT_L4</span> |
− | <span style="font-weight: bold;"> | + | <span style="font-weight: bold;">FT_L8</span> |
<span style="font-weight: bold;">RGB332</span> | <span style="font-weight: bold;">RGB332</span> |
Latest revision as of 21:11, 15 June 2015
Contents |
Action
Specify the source bitmap memory format and layout for the current handle.
Syntax
BitmapLayout format, linestride, height
Remarks
format |
Bitmap Pixel Formats.
ARGB1555 FT_L1 FT_L4 FT_L8 RGB332 ARGB2 ARGB4 RGB565 PALETTED TEXT8x8 TEXTVGA BARGRAPGH |
linestride |
Bitmap linestride, in bytes. Please note the alignment requirement which is described below. |
height |
Bitmap height, in lines |
The bitmap formats supported are L1, L4, L8, RGB332, ARGB2, ARGB4, ARGB1555, RGB565 and PALETTED.
For L1 format the linestride must be a multiple of 8 bits.
For L4 format the linestride must be multiple of 2 nibbles (Aligned to byte).
For more details about alignment, please refer to the FT800 Series Programmer Guide.PDF from FTDI.
See also
BitmapHandle, BitmapSize, BitmapSource
Example
Languages | English |
---|