[glabels] Don't allow clipping to affect outlines
- From: Jim Evins <jimevins src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glabels] Don't allow clipping to affect outlines
- Date: Wed, 4 Nov 2009 02:21:56 +0000 (UTC)
commit dcf2b94b88479c283abdf7b65affd77ea5919ce9
Author: Jim Evins <evins snaught com>
Date: Tue Nov 3 21:20:43 2009 -0500
Don't allow clipping to affect outlines
Remove clipping region before printing outlines of labels.
src/print.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/print.c b/src/print.c
index b4b4df5..0279bd3 100644
--- a/src/print.c
+++ b/src/print.c
@@ -509,6 +509,8 @@ print_label (PrintInfo *pi,
/* of the current label */
cairo_translate (pi->cr, x, y);
+ cairo_save (pi->cr);
+
clip_to_outline (pi, label);
cairo_save (pi->cr);
@@ -528,6 +530,8 @@ print_label (PrintInfo *pi,
cairo_restore (pi->cr); /* From special transformations. */
+ cairo_restore (pi->cr); /* From clip to outline. */
+
if (outline_flag) {
draw_outline (pi, label);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]