set_viewport


Description:


public void set_viewport (int x, int y, int width, int height)

Replaces the current viewport with the given values.

Note:

Use cogl_framebuffer_set_viewport instead

Parameters:

x

X offset of the viewport

y

Y offset of the viewport

width

Width of the viewport

height

Height of the viewport


Namespace: Cogl
Package: cogl-1.0