Display Device Driver Level Primitives

Microchip Graphics Library

Microchip Graphics Library
Display Device Driver Level Primitives
Functions
 
Name 
Description 
 
Returns pixel color at the given x,y coordinate position. 
 
Puts pixel with the given x,y coordinate position. 
 
Enables/disables clipping. 
 
Sets clipping region. 
 
Sets current transparent color. PutImage() will not render pixels that matches the set transparent color. To enable Transparent Color feature, define the macro USE_TRANSPARENT_COLOR in the GraphicsConfig.h file. 
 
Sets the brightness of the display. 
 
Copies a block of data from source specified by srcAddr and srcOffset to the destination specified by dstAddr and dstOffset. This is similar to the CopyWindow() and but instead of using left, top position of the source and destination, it uses offsets instead. This is a blocking function. 
 
This is a blocking call. A windows is a rectangular area with the given width and height of a page. The source and destination window can be located in different pages and each page is assumed to have the same dimensions (equal width and height). 
 
A windows is a rectangular area with the given width and height located in the given base source address. The source and destination window can be located in the same base address. If this is the case, then srcAddr = dstAddr. The operation is similar to CopyPageWindow() but instead of using page numbers, addresses are used for versatility. This is a blocking function. 
 
Sets active graphic page. 
 
Sets graphic page to display. 
Macros
Name 
Description 
Returns current drawing color. 
Sets current drawing color. 
Returns maximum horizontal coordinate. 
Returns maximum vertical coordinate. 
Returns bottom clipping border. 
Returns left clipping border. 
Returns right clipping border. 
Returns top clipping border. 
Disables clipping. 
Enables clipping. 
Disables the transparent color function. 
Returns the current transparent color function enable status. 
Returns the current transparent color value. 
Check of transparent color is not performed 
Check pixel if color is equal to transparent color, if equal do not render pixel 
Returns the address of the given page. 
Topics
Name 
Description 
The device driver must also implement the definition of standard color set based on the color format used. 
Links
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved