Name

lqr_vmap_get_orientation — get the orientation of an LqrVMap object

Synopsis

#include <lqr.h>
gint lqr_vmap_get_orientation(LqrVMap* vmap);
 

Description

The function lqr_vmap_get_orientation returns the orientation of the LqrVMap object pointed to by vmap, which is 0 for horizontally oriented maps, 1 for vertically oriented ones.

See the LqrVMap objects format description in the page for LqrVMap constructor and destructor.

See also

lqr_vmap_new(3), lqr_vmap_get_data(3), lqr_vmap_get_depth(3), lqr_vmap_get_width(3), lqr_vmap_get_height(3)