Method

CoglFramebufferget_viewport_width

Declaration [src]

float
cogl_framebuffer_get_viewport_width (
  CoglFramebuffer* framebuffer
)

Description [src]

Queries the width of the viewport as set using cogl_framebuffer_set_viewport() or the default value which is the width of the framebuffer.

Stability:Unstable
Available since:1.8

Return value

Returns: float
 

The width of the viewport.