.pixelpacking R/O Property
Function: |
Indicates how pixels are packed into controller memory for the currently selected controller/panel. |
Type: |
Enum (ver_hor, byte) |
Value Range: |
0 — PL_VERTICAL: Several vertically adjacent pixels are packed into each byte of controller memory. 1 — PL_HORIZONTAL: Several horizontally adjacent pixels are packed into each byte of controller memory. |
See Also: |
Details
Controller/panel selection is made through the Customize Project dialog, accessible through the Project Settings dialog.
This property is only relevant for controllers/panels whose lcd.bitsperpixel value is less than 8. In this case, 2, 4, or 8 pixels are packed into a single byte of controller memory.
This property is purely informational and largely has no influence over how you write your application. The only exception is related to working with text. Fonts can also have vertical or horizontal packing and the speed at which you can output the text onto the screen is improved when lcd.pixelpacking and lcd.fontpixelpacking have the same value (i.e., controller memory pixels and font encoding are "aligned").