glview_get_size()

Fetch the current surface size.

Synopsis:

#include <glview/glview.h>
 
GLVIEW_API int glview_get_size(unsigned int *width, unsigned int *height)

Since:

BlackBerry 10.0.0

Arguments:

width

If this parameter is non-null then it will be set to the current width of the surface.

height

If this parameter is non-null then it will be set to the current height of the surface.

Library:

libglview (For the qcc command, use the -l glview option to link against this library)

Description:

Query the surface to determine the size of the current surface.

Returns:

GLVIEW_SUCCESS upon success, GLVIEW_FAILURE otherwise, with errno set to the following:

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus