General Terminal

GtGetOutputHeight

Get the height for rendering output dimensions

Syntax

Signature
int GtGetOutputHeight( void );

Arguments

No arguments.

Return value

The height in output pixels of the render target or framebuffer.

Description

Read GtGetOutputWidth() for the other dimension. Use GtGetWindowHeight() when you need the related measurement.

Example

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

#include <stdio.h>

int main( void )
{
   printf( "Rendering output dimensions, height (output pixels): %d\n", GtGetOutputHeight() );

   return 0;
}

See also