gsk_transform_translate(NULL, ...) etc are awkward to use from bindings
Currently to initialize a GskTransform
, one has to call gsk_transform_translate()
, gsk_transform_scale()
etc on a NULL
. This works in C, but for example in Vala it looks like this:
var transform = ((Gsk.Transform) null).translate (point);
(Note that null as Gsk.Transform
is a compile error, it must be this cast)
And it's probably not going to work at all for languages such as Python or JS, because you cannot cast.