Method
ClutterActorget_pango_context
Declaration [src]
PangoContext*
clutter_actor_get_pango_context (
ClutterActor* self
)
Description [src]
Retrieves the PangoContext
for self
. The actor’s PangoContext
is already configured using the appropriate font map, resolution
and font options.
Unlike clutter_actor_create_pango_context(), this context is owend
by the ClutterActor
and it will be updated each time the options
stored by the ClutterBackend
change.
You can use the returned PangoContext
to create a PangoLayout
and render text using cogl_pango_show_layout()
to reuse the
glyphs cache also used by Clutter.
Available since: | 1.0 |
Return value
Returns: | PangoContext |
The |
|
The data is owned by the instance. |