summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0ac1565)
raw | patch | inline | side by side (parent: 0ac1565)
author | knutux <knutux@users.sourceforge.net> | |
Thu, 20 Apr 2006 07:13:38 +0000 (07:13 +0000) | ||
committer | knutux <knutux@users.sourceforge.net> | |
Thu, 20 Apr 2006 07:13:38 +0000 (07:13 +0000) |
src/display/sp-ctrlline.cpp | patch | blob | history | |
src/livarot/Shape.cpp | patch | blob | history |
index 463d32336f486c3014035cc31c9f2dd23a5d0982..d6dbdf0224a6fe90b4cda1f7743f03af03a59d59 100644 (file)
@@ -143,10 +143,10 @@ sp_ctrlline_update (SPCanvasItem *item, NR::Matrix const &affine, unsigned int f
thePath->LineTo(NR::Point(cl->e.x, cl->e.y) * affine);
NRRectL area;
- area.x0=item->x1;
- area.x1=item->x2;
- area.y0=item->y1;
- area.y1=item->y2;
+ area.x0=(double)item->x1;
+ area.x1=(double)item->x2;
+ area.y0=(double)item->y1;
+ area.y1=(double)item->y2;
thePath->Convert(&area, 1.0);
if ( cl->shp == NULL ) cl->shp=new Shape;
thePath->Stroke(cl->shp,false,0.5,join_straight,butt_straight,20.0,false);
diff --git a/src/livarot/Shape.cpp b/src/livarot/Shape.cpp
index 178e8660ee2531273ac341aefa8ecbc39c713a39..145bbafe53772ec9dfef69cbfbe367f7b8731513 100644 (file)
--- a/src/livarot/Shape.cpp
+++ b/src/livarot/Shape.cpp
*/
Shape::Shape()
- : iData(NULL),
+ : qrsData(NULL),
+ iData(NULL),
sTree(NULL),
sEvts(NULL),
- qrsData(NULL),
_need_points_sorting(false),
_need_edges_sorting(false),
_has_points_data(false),