Specifies a rectangular clipping area for all subsequent drawing operations.
Use cogl_framebuffer_push_rectangle_clip
instead
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 transformed by the current model-view matrix.
The rectangle is intersected with the current clip region. To undo the effect of this function, call clip_pop.
x0 |
x coordinate for top left corner of the clip rectangle |
y0 |
y coordinate for top left corner of the clip rectangle |
x1 |
x coordinate for bottom right corner of the clip rectangle |
y1 |
y coordinate for bottom right corner of the clip rectangle |