[sapwood] add a note about new shrinking behaviors
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sapwood] add a note about new shrinking behaviors
- Date: Fri, 6 Aug 2010 12:06:33 +0000 (UTC)
commit e97ee75d715728fa10d2bf5c624003e88b77af8b
Author: Sven Herzberg <herzi gnome-de org>
Date: Thu Aug 5 17:22:07 2010 +0200
add a note about new shrinking behaviors
* engine/sapwood-pixmap.c: add a note so we know that this should be
investigated in at some point
engine/sapwood-pixmap.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/engine/sapwood-pixmap.c b/engine/sapwood-pixmap.c
index 5dc49ef..6bc2485 100644
--- a/engine/sapwood-pixmap.c
+++ b/engine/sapwood-pixmap.c
@@ -584,6 +584,8 @@ sapwood_pixmap_render_rects (SapwoodPixmap* self,
}
else if (width != tmp_width || height != tmp_height)
{
+ /* this code is currently not reached, we should enable it with a sapwood-specific
+ * shrink-behavior property (and maybe add simple clipping along with it) */
cairo_scale (cr, (double)width / (double)tmp_width,
(double)height / (double)tmp_height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]