GetTextHeight Function

Microchip Graphics Library

Microchip Graphics Library
GetTextHeight Function
C
SHORT GetTextHeight(
    void * pFont
);
Overview

This macro returns the height of the specified font. All characters in a given font table have a constant height.

Input Parameters
Input Parameters 
Description 
void * pFont 
Pointer to the font image. 
Returns

Returns the font height.

Side Effects

none

Example

See OutTextXY() example.

Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved