Hi, I'm working on converting the Étoilé Camaelon themes to GNUstep themes, and found some bugs in the tile drawing code in the process.
The first patch fixes some rect calculations in GSThemeTools.m: initWithNinePatchImage: and scaleFillRect:. The second patch, for back, turns on the CAIRO_EXTEND_PAD option for the Cairo pattern used to draw images. Without this, the edges of image become soft when scaled up, so you end up seeing 'seams' between tiles. Here's a screenshot of a test tile I made applied to NSButton, with my patches: http://stashbox.org/732039/gnustep-tiles-fixed.png The art and xlib backends also produce correct output. Regards, Eric
GSThemeTools.patch
Description: Binary data
CairoImageScaling.patch
Description: Binary data
_______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
