GNOME Bugzilla – Bug 706728
pixelcache: allow specifying extra size and cairo_content_t of surface
Last modified: 2013-08-26 19:25:43 UTC
Created attachment 253041 [details] [review] pixelcache: allow specifying content type and extra size To implement pixelcache for textview, we need to specify the cairo_content_t of the surface to force rgba. This is because the text needs to be drawn separate from the background for static backgrounds. Additionally, we need to specify the width and height. Might as well do this as one patch.
Review of attachment 253041 [details] [review]: Minor comment from my part ::: gtk/gtkpixelcache.c @@ +162,3 @@ double red, green, blue, alpha; + if (!(content = cache->content)) to be more consistent with other parts of the code in gtk I'd split this: content = cache->content; if (!content)