General Terminal

GtGetFontSize

Get the height of one text cell

Syntax

Signature
int GtGetFontSize( void );

Arguments

No arguments.

Return value

The cell height in pixels.

Description

This is a terminal cell height. GtGetFontWidth() reports the corresponding width.

Example

gtgetfontsize.c
#include "xdev-wtui.h"

#include <stdio.h>

int main( void )
{
   printf( "Text cell dimensions, height (pixels): %d\n", GtGetFontSize() );

   return 0;
}

See also