Skip to content

cf_app_get_size

Category: app
GitHub: cute_app.h


Gets the size of the window in logical points (called "points" on Retina/HiDPI displays; use cf_app_get_pixel_scale to convert to physical pixels).

void cf_app_get_size(int* w, int* h);
Parameters Description
w The width of the window in logical points.
h The height of the window in logical points.

cf_app_set_size
cf_app_get_position
cf_app_set_position
cf_app_get_width
cf_app_get_height
cf_app_get_dpi_scale
cf_app_get_pixel_scale