[maemo-commits] [maemo-commits] r13378 - in projects/haf/trunk/sapwood: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Aug 23 16:41:21 EEST 2007
- Previous message: [maemo-commits] r13377 - in projects/haf/trunk/hildon-1: . debian
- Next message: [maemo-commits] r13379 - projects/haf/trunk/sapwood
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: tko Date: 2007-08-23 16:41:19 +0300 (Thu, 23 Aug 2007) New Revision: 13378 Modified: projects/haf/trunk/sapwood/ChangeLog projects/haf/trunk/sapwood/src/sapwood-render.c Log: When limiting the mask to clip rectangle, calculate the mask offset correctly. 2007-08-22 Tommi Komulainen <tommi.komulainen at nokia.com> * src/sapwood-render.c (theme_pixbuf_render): When limiting the mask to (smaller) clip rectangle, calculate the mask offset correctly. (NB#64452) Modified: projects/haf/trunk/sapwood/ChangeLog =================================================================== --- projects/haf/trunk/sapwood/ChangeLog 2007-08-23 12:57:57 UTC (rev 13377) +++ projects/haf/trunk/sapwood/ChangeLog 2007-08-23 13:41:19 UTC (rev 13378) @@ -1,4 +1,10 @@ 2007-08-22 Tommi Komulainen <tommi.komulainen at nokia.com> + + * src/sapwood-render.c (theme_pixbuf_render): When limiting the mask + to (smaller) clip rectangle, calculate the mask offset correctly. + (NB#64452) + +2007-08-22 Tommi Komulainen <tommi.komulainen at nokia.com> * === Release 2.91.7 === Modified: projects/haf/trunk/sapwood/src/sapwood-render.c =================================================================== --- projects/haf/trunk/sapwood/src/sapwood-render.c 2007-08-23 12:57:57 UTC (rev 13377) +++ projects/haf/trunk/sapwood/src/sapwood-render.c 2007-08-23 13:41:19 UTC (rev 13378) @@ -330,13 +330,13 @@ if (clip_rect->width < mask_width) { LOG("width: %d -> %d", mask_width, clip_rect->width); - mask_x = clip_rect->x; + mask_x = -clip_rect->x; mask_width = clip_rect->width; } if (clip_rect->height < height) { LOG("height: %d -> %d", mask_height, clip_rect->height); - mask_y = clip_rect->y; + mask_y = -clip_rect->y; mask_height = clip_rect->height; } }
- Previous message: [maemo-commits] r13377 - in projects/haf/trunk/hildon-1: . debian
- Next message: [maemo-commits] r13379 - projects/haf/trunk/sapwood
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]