<div dir="ltr">The following example show you how to measure the bounding box and how to create text with pango and cairo:<br><br><a href="http://live.gnome.org/PangoLayoutLineBbox">http://live.gnome.org/PangoLayoutLineBbox</a><br>
<br>Regards,<br>Dov<br><br><div class="gmail_quote">On Wed, Apr 28, 2010 at 16:26, Oscar Lazzarino <span dir="ltr"><<a href="mailto:oscar.lazzarino@gmail.com">oscar.lazzarino@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Wed, Apr 28, 2010 at 3:23 PM, Oscar Lazzarino<br>
<<a href="mailto:oscar.lazzarino@gmail.com">oscar.lazzarino@gmail.com</a>> wrote:<br>
> Hi<br>
><br>
> I'd like to build an image containing some text.<br>
><br>
<br>
</div>BTW I'm using cairomm and pangomm and a c++ solution would be<br>
preferred (but a plain c solution would be fine, too)<br>
<br>
Regards<br>
<div><div></div><div class="h5"><br>
O.<br>
--<br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
<a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br>
</div></div></blockquote></div><br><div style="display: none;" id="divCleekiAttrib"></div></div>