419
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
.Fontpixelpacking R/O Property
Function:
Indicates how pixels are packed into bytes in a currently
selected font.
Type:
Enum (ver_hor, byte)
Value Range:
0- PL_VERTICAL: Several vertically adjacent pixels are
packed into each byte of character bitmaps.
1- PL_HORIZONTAL: Several horizontally adjacent pixels
are packed into each byte of character bitmaps.
See Also:
,
Details
Display controllers/panels can have vertical or horizontal pixel packing (see
). The speed at which you can output the text onto the screen is
improved when the lcd.pixelpacking and lcd.fontpixelpacking have the same value,
i.e. controller memory pixels and font encoding are "aligned". Our font files are
typically available both in vertical and horizontal pixel packing. Pick the right file
for your controller/panel.
This property will only return meaningful data after you select a font using the
method.
.Forecolor Property
Function:
Specifies current "pen" (drawing) color.
Type:
Word
Value Range:
0-65535. Default= 65535 (&hFFFF).
See Also:
Understanding Controller Properties
,
,
,
Details
Pen color is used when drawing lines (
,
,
) and
rectangles (
,
), as well as displaying text (
).
Property value interpretation depends on the currently selected controller/panel. S
election is made through the Customize Platform dialog, accessible through the
Project Settings dialog.
The property is of word type, but only
lower bits of this value
will be relevant. All higher bits will be ignored.
For monochrome and grayscale controllers/panels (
= 0-
PL_LCD_PANELTYPE_GRAYSCALE), this value will relate to the brightness of the
pixel. For color panels/controllers (lcd.paneltype= 1- PL_LCD_PANELTYPE_COLOR)
the value is composed of three fields -- one for the red, green, and blue
"channels". Check
,
properties to
see how the fields are combined into the color word.
397
418
425
428
393
395
414
423
422
432
421
427
418
425
426
414
424
427
420
415