diff options
| author | root <root@jtx.marker.es> | 2013-04-17 21:03:51 +0000 |
|---|---|---|
| committer | root <root@jtx.marker.es> | 2013-04-17 21:03:51 +0000 |
| commit | 458ca2842297a5eae7e4f6fc394b227d61881c8d (patch) | |
| tree | b707b844e1265fd31ca3861c250778f7ad6329d8 /src/pencil-context.cpp | |
| parent | Halo (diff) | |
| download | inkscape-458ca2842297a5eae7e4f6fc394b227d61881c8d.tar.gz inkscape-458ca2842297a5eae7e4f6fc394b227d61881c8d.zip | |
Update color lines overlay, with halo of 1 px matched by Gez. Fix some crash snapping. Added new button widget to make cusp node
(bzr r11950.1.96)
Diffstat (limited to 'src/pencil-context.cpp')
| -rw-r--r-- | src/pencil-context.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp index a7fa5e111..304f81890 100644 --- a/src/pencil-context.cpp +++ b/src/pencil-context.cpp @@ -766,9 +766,9 @@ interpolate(SPPencilContext *pc) //Si el modo es BSpline modificamos para que el trazado cree los nodos adhoc if(mode == 2){ Geom::Point BP = b[4*c+0] + (1./3)*(b[4*c+3] - b[4*c+0]); - BP = Geom::Point(BP[X] + 0.0625,BP[Y] + 0.0625); + BP = Geom::Point(BP[X] + 0.0001,BP[Y] + 0.0001); Geom::Point CP = b[4*c+3] + (1./3)*(b[4*c+0] - b[4*c+3]); - CP = Geom::Point(CP[X] + 0.0625,CP[Y] + 0.0625); + CP = Geom::Point(CP[X] + 0.0001,CP[Y] + 0.0001); pc->green_curve->curveto(BP,CP,b[4*c+3]); }else{ pc->green_curve->curveto(b[4*c+1], b[4*c+2], b[4*c+3]); @@ -922,9 +922,9 @@ fit_and_split(SPPencilContext *pc) guint mode = prefs->getInt("/tools/freehand/pencil/freehand-mode", 0); if(mode == 2){ Geom::Point B = b[0] + (1./3)*(b[3] - b[0]); - B = Geom::Point(B[X] + 0.0625,B[Y] + 0.0625); + B = Geom::Point(B[X] + 0.0001,B[Y] + 0.0001); Geom::Point C = b[3] + (1./3)*(b[0] - b[3]); - C = Geom::Point(C[X] + 0.0625,C[Y] + 0.0625); + C = Geom::Point(C[X] + 0.0001,C[Y] + 0.0001); pc->red_curve->curveto(B,C,b[3]); }else{ pc->red_curve->curveto(b[1], b[2], b[3]); |
