[cairo] Pango in Cairo?

Behdad Esfahbod behdad at behdad.org
Fri Dec 8 22:36:10 PST 2006


On Fri, 2006-12-08 at 22:04 -0500, Piotr Zurek wrote:
> Hi there,
> 
> How can I draw a Pango layout to a Cairo image surface? I'm working with 
> Gtk# 2.8 and I can't use pangocairo yet. Unfortunately all google 
> results direct me to pangocairo.

pango_cairo_create_layout()

followed by 

pango_cairo_show_layout()

> I know it's probably a trivial question but I know I'm not the only one 
> looking for the answer to it so feel slightly excused asking it.
> 
> Cheers,
> Piotr
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://cairographics.org/cgi-bin/mailman/listinfo/cairo
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list