vg4->window->open()
Open window.
SYNTAX
VG_BOOL
vg4->window->open(int size, int scale)
FUNCTION PARAMETERS
size | Size of the window: one of VG_WINDOW_SIZES |
scale | Scaling of the window: one of VG_WINDOW_SCALES |
RETURN VALUE
Returns boolean:
- VG_TRUE: OK
- VG_FALSE: Error
DESCRIPTION
Open window.
The parameter size indicates the number of virtual pixels,
the parameter scale indicates the scaling.
EXAMPLE
if (!vg4->window->open(VG_WINDOW_SIZE_LOW, VG_WINDOW_SCALE_BEST)) { VG_dest(); exit(1); }
SEE ALSO