General Terminal

GtIsFontDrawBox

Check whether the driver draws box characters

Syntax

Signature
xBool GtIsFontDrawBox( void );

Arguments

No arguments.

Return value

T if the driver draws box characters, otherwise F.

Description

Controls drawing box characters from line primitives instead of the font glyphs on drivers that implement the option.

Example

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

#include <stdio.h>

int main( void )
{
   printf( "Font Draw Box state: %s\n", GtIsFontDrawBox() ? "on" : "off" );

   return 0;
}

See also