Jump to content

Component: GLCD Colour Dummy (Misc)

From Flowcode Help
Revision as of 16:47, 30 January 2023 by Wiki bot (talk | contribs)
Author MatrixTSL
Version 1.0
Category Misc


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.

Bitmap Drawer FAT Demo

The bitmap files used in the example can be found here.

Bitmap Drawer FAT Files


Macro reference

ReadFontWidth
 
- BYTE Font
 
- BYTE Character
 
- BYTE Return


DrawLine
 
- UINT X1
 
- UINT Y1
 
- UINT X2
 
- UINT Y2
 
- VOID Return


Plot
 
- UINT X1
 
- UINT Y1
 
- VOID Return


DrawEllipse
 
- UINT X
 
- UINT Y
 
- UINT XRadius
 
- UINT YRadius
 
- BYTE Transparent
 
- BYTE Solid
 
- VOID Return


FastPlot
Sets a pixel with the current foreground colour at current pixel location. Not compatible with orientations other than 0. Currently does not simulate. 
- VOID Return


SetDisplayOrientation
 
- BYTE Orientation
 
- VOID Return


BPlot
 
- UINT X1
 
- UINT Y1
 
- VOID Return


Window
Specifies a full screen or sub window of pixels to draw. Useful when used with the FastPlot function to draw bitmaps at high speed. Does not simulate. 
- UINT X1
 
- UINT Y1
 
- UINT X2
 
- UINT Y2
 
- VOID Return


ReadFontStat
 
- BYTE Font
 
- BYTE Index
 
- BYTE Return


Print
 
- STRING Str
 
- UINT X1
 
- UINT Y1
 
- BYTE Font
 
- BYTE Transparent
 
- VOID Return


ClearDisplay
 
- VOID Return


SetForegroundColour
 
- BYTE Red
 
- BYTE Green
 
- BYTE Blue
 
- VOID Return


DrawRectangle
 
- UINT X1
 
- UINT Y1
 
- UINT X2
 
- UINT Y2
 
- BYTE Transparent
 
- BYTE Solid
 
- VOID Return



Property reference

Properties