back to FEHImage
Description
The function is used to draw a FEHImage onto the LCD screen.
Syntax
.Draw(int x, int y);
Parameters
x: x-coordinate of the top left corner of where you want the image to be drawn
y: y-coordinate of the top left corner of where you want the image to be drawn
Returns
None.
Examples
#include <FEHImages.h> int main(void) { // Declares an image for a unicorn FEHImage unicorn; // Open the image unicorn.Open("UnicornFEH.pic"); // Draw a unicorn in the top left corner unicorn.Draw(0, 0); // Close the image unicorn.Close(); while(1) LCD.Update(); //Never quit return 0; }