Re: XOR, was : Drawing text into a drawing area with Pango



So, now I have to figure out how to get the size of the outlining box
(in pixels) from the length of the text string and the font.

With pango_layout_set_rich_text, pango_layout_get_extents and
pango_layout_get_pixel_size, it won't be difficult.

-- 
FX



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]