ClutterPaintNode implementations
Clutter provides a set of predefined <clutter-paint-node>
implementations that cover all the state changes available.
<clutter-color>
) ⇒ (ret <clutter-paint-node>
)Creates a new
<clutter-paint-node>
that will paint a solid color fill using color.
- color
- the color to paint, or ‘
#f
’.- ret
- the newly created
<clutter-paint-node>
. Useclutter-paint-node-unref
when done.Since 1.10
<pango-layout>
) (color <clutter-color>
) ⇒ (ret <clutter-paint-node>
)Creates a new
<clutter-paint-node>
that will paint a<pango-layout>
with the given color.This function takes a reference on the passed layout, so it is safe to call
g-object-unref
after it returns.
- layout
- a
<pango-layout>
, or ‘#f
’.- color
- the color used to paint the layout, or ‘
#f
’.- ret
- the newly created
<clutter-paint-node>
. Useclutter-paint-node-unref
when done.Since 1.10