Add Actor::create_pango_layout()

Final bit of integration between ClutterActor and Pango: a simple
method for creating a PangoLayout, pre-filled with text and ready
to be rendered using cogl_pango_render_layout().

This should make writing new Actors rendering custom text in their
paint() implementation easy and reliable.
This commit is contained in:
Emmanuele Bassi
2009-02-02 09:01:41 +00:00
parent 52d04b5750
commit 801e535e94
3 changed files with 41 additions and 0 deletions

View File

@ -451,6 +451,7 @@ clutter_actor_get_transformed_sizeu
clutter_actor_grab_key_focus
clutter_actor_get_pango_context
clutter_actor_create_pango_context
clutter_actor_create_pango_layout
<SUBSECTION Standard>
CLUTTER_TYPE_GEOMETRY