Syntax
int GtGetOutputWidth( void );
Arguments
No arguments.
Return value
The width in output pixels of the render target or framebuffer.
Description
Read GtGetOutputHeight() for the other dimension. Use GtGetWindowWidth() when you need the related measurement.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
printf( "Rendering output dimensions, width (output pixels): %d\n", GtGetOutputWidth() );
return 0;
}