natiny_surface_get_height

C
uint32_t natiny_surface_get_height(NatinySurface surf);

Returns the surface height in pixels.

Parameters

Name Type Description
surf NatinySurface Surface handle from natiny_surface_create

Returns

Type Description
uint32_t Height in pixels, or 0 for an invalid handle

Example

C
uint32_t h = natiny_surface_get_height(rt);