Difference between revisions of "Component: GLCD Colour Dummy (Misc)"
From Flowcode Help
Jump to navigationJump to searchLine 89: | Line 89: | ||
{{Zip|BitmapDrawerFATDemo.zip|Bitmap Drawer FAT Files}} | {{Zip|BitmapDrawerFATDemo.zip|Bitmap Drawer FAT Files}} | ||
+ | |||
+ | |||
Line 94: | Line 96: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===ReadFontWidth=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 117: | Line 120: | ||
+ | ===DrawLine=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 150: | Line 154: | ||
+ | ===Plot=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 173: | Line 178: | ||
+ | ===DrawEllipse=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 216: | Line 222: | ||
+ | ===FastPlot=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 229: | Line 236: | ||
+ | ===SetDisplayOrientation=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 247: | Line 255: | ||
+ | ===BPlot=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 270: | Line 279: | ||
+ | ===Window=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 303: | Line 313: | ||
+ | ===ReadFontStat=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 326: | Line 337: | ||
+ | ===Print=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 364: | Line 376: | ||
+ | ===ClearDisplay=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 377: | Line 390: | ||
+ | ===SetForegroundColour=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 405: | Line 419: | ||
+ | ===DrawRectangle=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:49, 3 February 2023
Author | MatrixTSL |
Version | 1.0 |
Category | Misc |
Contents
GLCD Colour Dummy component
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Dummy__GLCD_Colour.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Dummy__GLCD_Colour.fcfx
Detailed description
No detailed description exists yet for this component
Examples
The Bitmap Drawer FAT component must be linked to the graphical LCD using the gLCD Object property and to the FAT component using the FAT Object property.
Here is an example which loops drawing a monochrome and 24-bit bitmaps to the EBM001 graphical display.
The bitmap files used in the example can be found here.
Macro reference
ReadFontWidth
![]() |
ReadFontWidth |
![]() |
Font |
![]() |
Character |
![]() |
Return |
DrawLine
![]() |
DrawLine |
![]() |
X1 |
![]() |
Y1 |
![]() |
X2 |
![]() |
Y2 |
![]() |
Return |
Plot
![]() |
Plot |
![]() |
X1 |
![]() |
Y1 |
![]() |
Return |
DrawEllipse
![]() |
DrawEllipse |
![]() |
X |
![]() |
Y |
![]() |
XRadius |
![]() |
YRadius |
![]() |
Transparent |
![]() |
Solid |
![]() |
Return |
FastPlot
![]() |
FastPlot |
Sets a pixel with the current foreground colour at current pixel location. Not compatible with orientations other than 0. Currently does not simulate. | |
![]() |
Return |
SetDisplayOrientation
![]() |
SetDisplayOrientation |
![]() |
Orientation |
![]() |
Return |
BPlot
![]() |
BPlot |
![]() |
X1 |
![]() |
Y1 |
![]() |
Return |
Window
ReadFontStat
![]() |
ReadFontStat |
![]() |
Font |
![]() |
Index |
![]() |
Return |
![]() |
|
![]() |
Str |
![]() |
X1 |
![]() |
Y1 |
![]() |
Font |
![]() |
Transparent |
![]() |
Return |
ClearDisplay
![]() |
ClearDisplay |
![]() |
Return |
SetForegroundColour
![]() |
SetForegroundColour |
![]() |
Red |
![]() |
Green |
![]() |
Blue |
![]() |
Return |
DrawRectangle
![]() |
DrawRectangle |
![]() |
X1 |
![]() |
Y1 |
![]() |
X2 |
![]() |
Y2 |
![]() |
Transparent |
![]() |
Solid |
![]() |
Return |
Property reference
![]() |
Properties |