General Terminal

GtGetLogicalHeight

Get the height for logical drawing dimensions

Syntax

Signature
int GtGetLogicalHeight( void );

Arguments

No arguments.

Return value

The height in logical pixels of the drawing surface before display scaling.

Description

Read GtGetLogicalWidth() for the other dimension. Use GtGetOutputHeight() when you need the related measurement.

Example

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

#include <stdio.h>

int main( void )
{
   printf( "Logical drawing dimensions, height (logical pixels): %d\n", GtGetLogicalHeight() );

   return 0;
}

See also