Package: gsk

GBoxed gsk:transform

Declaration

(glib:define-gboxed-opaque transform ¸"GskTransform"
  :export t
  :type-initializer "gsk_transform_get_type"
  :alloc (%transform-new))  

Details

The gsk:transform structure is a structure to describe transform matrices. Unlike the graphene:matrix-t structure, the gsk:transform structure retains the steps in how a transform was constructed, and allows inspecting them. It is modeled after the way CSS describes transforms.

The gsk:transform instances 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.
 

Returned by

See also

2024-4-21