diff options
| author | Ralf Stephan <ralf@ark.in-berlin.de> | 2006-02-13 19:14:47 +0000 |
|---|---|---|
| committer | rwst <rwst@users.sourceforge.net> | 2006-02-13 19:14:47 +0000 |
| commit | dce08c184686d4cef1f1961926cce339429f5aba (patch) | |
| tree | 58a437a00423768c653d1a90ddb5cf65bfe71efd /src/display/sp-ctrlline.cpp | |
| parent | closed up denial-of-service attack vector (ironically located in an (diff) | |
| download | inkscape-dce08c184686d4cef1f1961926cce339429f5aba.tar.gz inkscape-dce08c184686d4cef1f1961926cce339429f5aba.zip | |
bulk whitespace removal patch #1198588 by gigaclon
(bzr r134)
Diffstat (limited to 'src/display/sp-ctrlline.cpp')
| -rw-r--r-- | src/display/sp-ctrlline.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/display/sp-ctrlline.cpp b/src/display/sp-ctrlline.cpp index 0a278bb69..6715f890f 100644 --- a/src/display/sp-ctrlline.cpp +++ b/src/display/sp-ctrlline.cpp @@ -97,7 +97,7 @@ sp_ctrlline_destroy (GtkObject *object) delete ctrlline->shp; ctrlline->shp = NULL; } - + if (GTK_OBJECT_CLASS (parent_class)->destroy) (* GTK_OBJECT_CLASS (parent_class)->destroy) (object); } @@ -141,7 +141,7 @@ sp_ctrlline_update (SPCanvasItem *item, NR::Matrix const &affine, unsigned int f Path* thePath = new Path; thePath->MoveTo(NR::Point(cl->s.x, cl->s.y) * affine); thePath->LineTo(NR::Point(cl->e.x, cl->e.y) * affine); - + thePath->Convert(1.0); if ( cl->shp == NULL ) cl->shp=new Shape; thePath->Stroke(cl->shp,false,0.5,join_straight,butt_straight,20.0,false); @@ -158,7 +158,7 @@ sp_ctrlline_update (SPCanvasItem *item, NR::Matrix const &affine, unsigned int f } } delete thePath; - + item->x1 = (int)dbox.x0; item->y1 = (int)dbox.y0; item->x2 = (int)dbox.x1; |
