Text Functions

Microchip Graphics Library

Microchip Graphics Library
Text Functions

This lists the Primitive level text functions.

Functions
 
Name 
Description 
 
This function sets the current font used in OutTextXY(), OutText() and OutChar() functions. 
 
This function outputs a character from the current graphic cursor position. OutChar() uses the current active font set with SetFont(). 
 
This function outputs a string of characters starting at the current graphic cursor position. The string must be terminated by a line feed or zero. For Non-Blocking configuration, OutText() may return control to the program due to display device busy status. When this happens zero is returned and OutText() must be called again to continue the outputting of the string. For Blocking configuration, this function always returns a 1. OutText() uses the current active font set with SetFont(). 
 
This function outputs a string of characters starting at the given x, y position. The string must be terminated by a line feed or zero. For Non-Blocking configuration, OutTextXY() may return control to the program due to display device busy status. When this happens zero is returned and OutTextXY() must be called again to continue the outputting of the string. For Blocking configuration, this function always returns a 1. OutTextXY() uses the current active font set with SetFont(). 
 
This macro returns the height of the specified font. All characters in a given font table have a constant height. 
 
This function returns the width of the specified string for the specified font. The string must be terminated by a line feed or zero. 
Macros
Name 
Description 
Returns font orientation. 
Sets font orientation vertical or horizontal. 
Returns the font anti-alias type. 
Sets font anti-alias type to either Translucent or opaque. 
This macro sets the data type for the strings and characters. There are three types used for XCHAR and the type is selected by adding one of the macros in GraphicsConfig.h.  
Structures
Name 
Description 
Structure describing the font header. 
Structure for font stored in FLASH memory. 
Topics
Name 
Description 
Anti-alias type definitions. 
Types
Name 
Description 
Structure for font stored in EXTERNAL memory space. (example: External SPI or parallel Flash, EDS_EPMP) 
Links
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved