summaryrefslogtreecommitdiff
path: root/cad/boolean/patches/patch-apps_edit_src_gdssourc_text.cpp
blob: c6efd6c7577fdfb8f20d60880bf59c6dfbe2819b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-apps_edit_src_gdssourc_text.cpp,v 1.1 2012/10/20 22:03:01 joerg Exp $

--- apps/edit/src/gdssourc/text.cpp.orig	2012-10-20 11:58:47.000000000 +0000
+++ apps/edit/src/gdssourc/text.cpp
@@ -61,9 +61,10 @@ void Text::DoWrite(DrawDriver& dr)
 
 	dr.SetSelected(GetSelect());
 
+   wxTransformMatrix tmp(*dr.GetMatrix() * *GetRelativeMatrix());
    dr.GDSDrawText(_text, min_point.GetX(), min_point.GetY(),
 										  max_point.GetX(), max_point.GetY(),
-								   	  this, &(*dr.GetMatrix() * *GetRelativeMatrix()));
+								   	  this, &tmp);
 
 }