Cogl.Framebuffer.push_scissor_clip

### Method

# Cogl Framebufferpush_scissor_clip

since: 1.10

#### Declaration [src]

    void
    cogl_framebuffer_push_scissor_clip (
      CoglFramebuffer* framebuffer,
      int x,
      int y,
      int width,
      int height
    )

#### Description [src]

Specifies a rectangular clipping area for all subsequent drawing operations. Any drawing commands that extend outside the rectangle will be clipped so that only the portion inside the rectangle will be displayed. The rectangle dimensions are not transformed by the current model-view matrix.

The rectangle is intersected with the current clip region. To undo the effect of this function, call cogl_framebuffer_pop_clip().

Stability: Unstable

Available since: 1.10

#### Parameters

`x`

  Type: `int`

  Left edge of the clip rectangle in window coordinates.

`y`

  Type: `int`

  Top edge of the clip rectangle in window coordinates.

`width`

  Type: `int`

  Width of the clip rectangle.

`height`

  Type: `int`

  Height of the clip rectangle.