Cogl.Framebuffer.get_viewport_x

### Method

# Cogl Framebufferget_viewport_x

since: 1.8

#### Declaration [src]

    float
    cogl_framebuffer_get_viewport_x (
      CoglFramebuffer* framebuffer
    )

#### Description [src]

Queries the x coordinate of the viewport origin as set using `cogl_framebuffer_set_viewport()` or the default value which is 0.

Stability: Unstable

Available since: 1.8

#### Return value

Type: `float`

The x coordinate of the viewport origin.