diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-07-17 22:00:40 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-07-17 22:00:40 +0000 |
| commit | b8d2a2d3b528d90cd88f96fd4a32b077c98776d5 (patch) | |
| tree | aa819f1acb877a25050e6dd559ba2b07daf69154 /src/eraser-context.cpp | |
| parent | NR::Point : add cast operator to Geom::Point (diff) | |
| download | inkscape-b8d2a2d3b528d90cd88f96fd4a32b077c98776d5.tar.gz inkscape-b8d2a2d3b528d90cd88f96fd4a32b077c98776d5.zip | |
convert all SPCurve's points and matrices arguments and return types to 2Geom
(bzr r6339)
Diffstat (limited to 'src/eraser-context.cpp')
| -rw-r--r-- | src/eraser-context.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eraser-context.cpp b/src/eraser-context.cpp index 49f86b03c..81025d2b2 100644 --- a/src/eraser-context.cpp +++ b/src/eraser-context.cpp @@ -163,11 +163,11 @@ sp_eraser_context_setup(SPEventContext *ec) if (((SPEventContextClass *) eraser_parent_class)->setup) ((SPEventContextClass *) eraser_parent_class)->setup(ec); - erc->accumulated = new SPCurve(32); - erc->currentcurve = new SPCurve(4); + erc->accumulated = new SPCurve(); + erc->currentcurve = new SPCurve(); - erc->cal1 = new SPCurve(32); - erc->cal2 = new SPCurve(32); + erc->cal1 = new SPCurve(); + erc->cal2 = new SPCurve(); erc->currentshape = sp_canvas_item_new(sp_desktop_sketch(ec->desktop), SP_TYPE_CANVAS_BPATH, NULL); sp_canvas_bpath_set_fill(SP_CANVAS_BPATH(erc->currentshape), ERC_RED_RGBA, SP_WIND_RULE_EVENODD); |
