Emmanuele Bassi
78628edf2f
Add a per-actor PangoContext
...
Rendering text inside an actor is pretty much impossible without
using internal API to create the various pieces like the PangoContext
and the font map.
Each actor should have the ability to create a PangoContext, which
is the only object needed to generate layouts and change the various
Pango settings.
This commit adds a clutter_actor_get_pango_context() function that
creates a PangoContext inside the ClutterActor private data and allows
the creation of PangoLayouts when needed. If the actor already
has a PangoContext, the same instance is returned.
The PangoContext is created only on demand.
2008-12-23 14:06:55 +00:00
..
2008-12-10 12:13:20 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 17:04:34 +00:00
2008-12-04 17:24:33 +00:00
2008-04-09 14:18:42 +00:00
2008-10-30 17:04:34 +00:00
2008-11-21 16:18:31 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 17:04:34 +00:00
2008-11-07 16:31:56 +00:00
2008-12-23 14:06:55 +00:00
2008-12-23 14:06:55 +00:00
2008-11-18 12:42:05 +00:00
2008-11-18 12:42:05 +00:00
2008-11-18 09:50:03 +00:00
2008-11-18 09:50:03 +00:00
2008-12-23 13:55:51 +00:00
2008-12-23 13:55:51 +00:00
2008-10-30 16:37:55 +00:00
2008-10-30 17:04:34 +00:00
2008-12-10 11:27:14 +00:00
2008-10-30 17:04:34 +00:00
2008-01-18 11:02:34 +00:00
2008-10-30 17:04:34 +00:00
2008-12-05 14:08:06 +00:00
2008-12-05 13:13:37 +00:00
2008-10-30 16:37:55 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 16:37:55 +00:00
2008-10-30 17:04:34 +00:00
2008-05-01 09:28:41 +00:00
2008-10-30 17:04:34 +00:00
2008-12-05 13:13:37 +00:00
2008-12-05 13:13:37 +00:00
2008-12-08 13:57:10 +00:00
2008-12-08 14:22:52 +00:00
2008-08-06 10:20:57 +00:00
2008-10-30 17:04:34 +00:00
2008-11-12 13:57:58 +00:00
2008-10-30 17:04:34 +00:00
2008-11-05 12:16:15 +00:00
2008-10-30 17:04:34 +00:00
2008-10-16 10:28:17 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 09:50:03 +00:00
2008-11-18 09:50:03 +00:00
2008-12-05 13:13:37 +00:00
2008-10-30 17:04:34 +00:00
2007-12-25 11:41:10 +00:00
2007-08-20 20:16:15 +00:00
2008-12-08 13:57:10 +00:00
2008-12-08 13:57:10 +00:00
2008-06-06 13:44:22 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 16:37:55 +00:00
2008-10-31 12:07:01 +00:00
2008-05-09 16:27:06 +00:00
2008-10-30 17:04:34 +00:00
2008-11-26 16:46:48 +00:00
2008-10-30 17:04:34 +00:00
2008-03-09 19:07:17 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 09:50:03 +00:00
2008-11-18 09:50:03 +00:00
2008-04-23 13:58:58 +00:00
2008-06-10 06:37:46 +00:00
2008-08-05 10:54:40 +00:00
2008-03-19 18:33:33 +00:00
2008-10-30 17:04:34 +00:00
2008-12-08 12:02:36 +00:00
2008-10-30 17:11:29 +00:00
2008-12-08 13:57:10 +00:00
2008-11-21 16:18:38 +00:00
2008-10-30 17:04:34 +00:00
2008-01-09 14:18:53 +00:00
2008-07-30 10:32:25 +00:00
2008-10-30 17:04:34 +00:00
2008-12-05 13:13:37 +00:00
2008-12-05 13:13:37 +00:00
2008-12-22 13:24:52 +00:00
2008-11-17 14:21:49 +00:00
2008-10-30 17:04:34 +00:00
2008-11-25 13:19:48 +00:00
2008-10-30 17:04:34 +00:00
2008-08-04 16:21:27 +00:00
2008-08-04 16:21:27 +00:00
2008-11-18 18:53:10 +00:00
2008-10-30 17:04:34 +00:00
2007-11-14 11:32:24 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 15:08:40 +00:00
2008-11-18 15:08:40 +00:00
2008-11-18 15:08:40 +00:00
2008-11-18 15:08:40 +00:00
2008-06-03 20:15:11 +00:00
2008-10-30 17:04:34 +00:00
2008-04-04 15:02:11 +00:00
2008-10-30 17:04:34 +00:00
2008-12-05 14:08:06 +00:00
2008-10-30 17:04:34 +00:00
2008-12-22 13:43:41 +00:00
2008-12-16 12:41:20 +00:00
2008-12-05 14:08:06 +00:00
2008-10-30 17:04:34 +00:00
2008-12-05 17:44:12 +00:00
2008-10-30 17:04:34 +00:00
2008-09-23 13:25:31 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 12:42:05 +00:00
2008-05-09 10:58:26 +00:00
2008-10-30 17:04:34 +00:00
2008-02-12 17:17:52 +00:00
2008-10-30 17:04:34 +00:00
2008-03-31 17:15:02 +00:00
2008-12-11 13:49:39 +00:00
2008-12-11 13:49:39 +00:00