Cogl.Framebuffer.get_viewport_width

### Method

# Cogl Framebufferget_viewport_width

since: 1.8

#### 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

Type: `float`

The width of the viewport.