diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-07-03 09:40:50 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-07-03 09:40:50 +0000 |
| commit | 3035dd2c29950ec58674a330a71ee5e042fe1bac (patch) | |
| tree | 6860b82ec4cd6934abf879b227930293b10652e1 /src | |
| parent | Add new shape 'crescendo' in dropdown box of pen tool (diff) | |
| download | inkscape-3035dd2c29950ec58674a330a71ee5e042fe1bac.tar.gz inkscape-3035dd2c29950ec58674a330a71ee5e042fe1bac.zip | |
add comments
(bzr r6130)
Diffstat (limited to 'src')
| -rw-r--r-- | src/draw-context.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/draw-context.cpp b/src/draw-context.cpp index c40ea1991..c946acabe 100644 --- a/src/draw-context.cpp +++ b/src/draw-context.cpp @@ -278,9 +278,11 @@ spdc_check_for_and_apply_waiting_LPE(SPDrawContext *dc, SPItem *item) switch (shape) { case 0: + // don't apply any shape break; case 1: { + // take shape from clipboard; TODO: catch the case where clipboard is empty Effect::createAndApply(PATTERN_ALONG_PATH, dc->desktop->doc(), item); Effect* lpe = sp_lpe_item_get_current_lpe(SP_LPE_ITEM(item)); static_cast<LPEPatternAlongPath*>(lpe)->pattern.on_paste_button_click(); @@ -290,6 +292,7 @@ spdc_check_for_and_apply_waiting_LPE(SPDrawContext *dc, SPItem *item) } case 2: { + // "crescendo" // TODO: this is only for illustration (we create a "crescendo"-shaped path // manually; eventually we should read the path from a separate file) SPCurve *c = new SPCurve(); @@ -305,6 +308,7 @@ spdc_check_for_and_apply_waiting_LPE(SPDrawContext *dc, SPItem *item) } case 3: { + // "decrescendo" // TODO: this is only for illustration (we create a "decrescendo"-shaped path // manually; eventually we should read the path from a separate file) SPCurve *c = new SPCurve(); |
