Struct
GskTransform
since: 4.0
Description [src]
struct GskTransform {
/* No available fields */
}
GskTransform
is an object to describe transform matrices.
Unlike graphene_matrix_t
, GskTransform
retains the steps in how
a transform was constructed, and allows inspecting them. It is modeled
after the way CSS describes transforms.
GskTransform
objects are immutable and cannot be changed after creation.
This means code can safely expose them as properties of objects without
having to worry about others changing them.
Available since: 4.0
Functions
gsk_transform_parse
Parses the given string
into a transform and puts it in
out_transform
.
since: 4.0
Instance methods
gsk_transform_print
Converts self
into a human-readable string representation suitable
for printing.
since: 4.0
gsk_transform_rotate
Rotates next
angle
degrees in 2D - or in 3D-speak, around the Z axis.
The rotation happens around the origin point of (0, 0).
since: 4.0
gsk_transform_transform_bounds
Transforms a graphene_rect_t
using the given transform self
.
since: 4.0
gsk_transform_transform_point
Transforms a graphene_point_t
using the given transform self
.
since: 4.0