• Alexander Larsson's avatar
    stylecontext: add gtk_render_icon_surface · 91a268f0
    Alexander Larsson authored
    This draws an icon from a cairo_surface. We want to use this more rather
    than render_icon as this means we can skip the pixbuf to surface
    conversion (including allocation and alpha premultiplication) at
    render time, plus we can use create_similar_image which may allow
    faster rendering.
gtkstylecontext.h 35.1 KB