Method

GtkSnapshotrotate_3d

Declaration [src]

void
gtk_snapshot_rotate_3d (
  GtkSnapshot* snapshot,
  float angle,
  const graphene_vec3_t* axis
)

Description [src]

Rotates snapshots coordinate system by angle degrees around axis.

For a rotation in 2D space, use gsk_transform_rotate().

Parameters

angle

Type: float

The rotation angle, in degrees (clockwise).

axis

Type: graphene_vec3_t

The rotation axis.

The data is owned by the caller of the method.