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.

Return value

Type: float

The width of the viewport.