Method
CoglMatrixStackorthographic
Declaration [src]
void
cogl_matrix_stack_orthographic (
CoglMatrixStack* stack,
float x_1,
float y_1,
float x_2,
float y_2,
float near,
float far
)
Parameters
x_1-
Type:
floatThe x coordinate for the first vertical clipping plane.
y_1-
Type:
floatThe y coordinate for the first horizontal clipping plane.
x_2-
Type:
floatThe x coordinate for the second vertical clipping plane.
y_2-
Type:
floatThe y coordinate for the second horizontal clipping plane.
near-
Type:
floatThe distance to the near clipping plane (will be negative if the plane is behind the viewer)
far-
Type:
floatThe distance to the far clipping plane (will be negative if the plane is behind the viewer)