summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4480431)
raw | patch | inline | side by side (parent: 4480431)
author | cilix42 <cilix42@users.sourceforge.net> | |
Thu, 12 Jun 2008 13:22:47 +0000 (13:22 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Thu, 12 Jun 2008 13:22:47 +0000 (13:22 +0000) |
src/pen-context.cpp | patch | blob | history | |
src/pen-context.h | patch | blob | history |
diff --git a/src/pen-context.cpp b/src/pen-context.cpp
index e3ff835d59c467add40879aa4b3c99b74fb5384d..49bf881a4a8ae871a191984e9be8c89122feb44f 100644 (file)
--- a/src/pen-context.cpp
+++ b/src/pen-context.cpp
@@ -1128,8 +1128,7 @@ spdc_pen_set_subsequent_point(SPPenContext *const pc, NR::Point const p, bool st
pc->red_curve->reset();
pc->red_curve->moveto(pc->p[0]);
bool is_curve;
- if ( (pc->onlycurves)
- || ( pc->p[1] != pc->p[0] ) )
+ if (pc->p[1] != pc->p[0])
{
pc->red_curve->curveto(pc->p[1], p, p);
is_curve = true;
diff --git a/src/pen-context.h b/src/pen-context.h
index 29938e923ca79ce9878d40004f70a24761d6d5be..ddf1e76c4279d107d6306db5ad0eb6e1bfde406c 100644 (file)
--- a/src/pen-context.h
+++ b/src/pen-context.h
unsigned int mode : 1;
unsigned int state : 2;
- unsigned int onlycurves : 1;
bool polylines_only;