forked from external/yambar
In begin_expose(), we call cairo_scaled_font_text_to_glyphs() with (x,y) = (0,0), in order to calculate the glyph extents (needed for width calculation). Then, in expose(), we called it again, but with correct (x,y) offsets. Simplify this, by caching the glyphs from begin_expose(). Then, in expose(), simply adjust the glyph offsets before calling cairo_show_text_glyphs(). |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
dynlist.c | ||
dynlist.h | ||
empty.c | ||
list.c | ||
map.c | ||
progress-bar.c | ||
ramp.c | ||
string.c |