Component: Bitmap Drawer (Displays: Graphical)

From Flowcode Help
Revision as of 12:09, 1 August 2016 by BenR (talk | contribs)
Jump to navigationJump to search


Author Matrix TSL
Version 1.0 (Release)
Category Displays: Graphical


Image Bitmap Drawer component

A component to simplify the process of drawing bitmap images to a graphical display. Stores the bitmap image inside a ROM look up table. Compatible with 24-bit Bitmaps and Monochrome Bitmaps. The gLCD object property specifies which LCD component to draw the bitmap to. Use multiple BitmapDrawer components for multiple bitmap images.

Examples

Here is an example which loops drawing a monochrome and 24-bit bitmaps to the EBM001 graphical display.

FC6 Icon.png Modbus Master Example


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

BitmapDrawerDemo.zip


Downloadable macro reference

Display_BMP

No additional information


Parameters

UINT X
UINT Y


Return value

This call does not return a value


Simulation macro reference

This component does not contain any simulation macros


Property reference

gLCD Object

This property is of type Panel object and can be referenced with the variable name glcd_obj.

Graphical LCD Object to draw the bitmap image to

Bitmap File

This property is of type Filename and can be referenced with the variable name bitmap_file.

Bitmap file you wish to embed into the program

File Length

This property is of type Unsigned integer and can be referenced with the variable name file_Len.

Bitmap file size in bytes

ColourDisplay

This property is of type True or false and can be referenced with the variable name Colour_Display.

Automatically detects if the graphical LCD object is colour or monochrome