[glabels/glabels-3_0] Fixed incorrect clip region for rectangular templates.
- From: Jim Evins <jimevins src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glabels/glabels-3_0] Fixed incorrect clip region for rectangular templates.
- Date: Mon, 24 Oct 2011 00:19:49 +0000 (UTC)
commit 7d9b1744bce35ed788dfac176e995b81127999c0
Author: Jim Evins <evins snaught com>
Date: Sun Oct 23 20:08:41 2011 -0400
Fixed incorrect clip region for rectangular templates.
src/cairo-label-path.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/cairo-label-path.c b/src/cairo-label-path.c
index 9b63aee..3d0585b 100644
--- a/src/cairo-label-path.c
+++ b/src/cairo-label-path.c
@@ -146,7 +146,7 @@ gl_cairo_rect_label_path (cairo_t *cr,
if ( r == 0.0 )
{
- cairo_rectangle (cr, -x_waste, -y_waste, w+x_waste, h+y_waste);
+ cairo_rectangle (cr, -x_waste, -y_waste, w+2*x_waste, h+2*y_waste);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]