Jump to content

Component: GLCD Colour Dummy (Misc)

From Flowcode Help
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

BPlot

BPlot
 
- UINT X1
 
- UINT Y1
 
- VOID Return


ClearDisplay

ClearDisplay
 
- VOID Return


DrawEllipse

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


DrawLine

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


DrawRectangle

DrawRectangle
 
- UINT X1
 
- UINT Y1
 
- UINT X2
 
- UINT Y2
 
- BYTE Transparent
 
- BYTE Solid
 
- VOID 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. 
- VOID Return


Plot

Plot
 
- UINT X1
 
- UINT Y1
 
- VOID Return


Print

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


ReadFontStat

ReadFontStat
 
- BYTE Font
 
- BYTE Index
 
- BYTE Return


ReadFontWidth

ReadFontWidth
 
- BYTE Font
 
- BYTE Character
 
- BYTE Return


SetDisplayOrientation

SetDisplayOrientation
 
- BYTE Orientation
 
- VOID Return


SetForegroundColour

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


Window

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


Property reference

Properties