[cairo] questions about using scaled_font
Micah Heyer
hacim.h at gmail.com
Tue Jul 17 09:03:31 PDT 2007
Hi,
I haven't used cairo very much so pardon me if this is a rather newbish
question,I need to know the size a the text before I start rendering, so
I thought ,I would use scaled_font.My question is do I use
'cairo_scaled_font_text_extents("string")' to find out the size of my
text and the during the render process use 'cairo_show_text("string")'
or is there some sort of caching that is done so I don't need to use
cairo_show_text?
-micah
More information about the cairo
mailing list