Syntax
int GtGetLogicalWidth( void );
Arguments
No arguments.
Return value
The width in logical pixels of the drawing surface before display scaling.
Description
Read GtGetLogicalHeight() for the other dimension. Use GtGetOutputWidth() when you need the related measurement.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
printf( "Logical drawing dimensions, width (logical pixels): %d\n", GtGetLogicalWidth() );
return 0;
}