summaryrefslogtreecommitdiffstats
path: root/src/trace
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-07-24 18:45:27 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-07-24 18:45:27 +0000
commit50115a1e39ed4414dd9e684709253167072b29ee (patch)
treea37ac591208a0f52e64ad7f5bddd45e773f138ee /src/trace
parentfix minor bug (diff)
parentFix a bug continuing a bezier path whith a LPE one like spiro or bspline on a... (diff)
downloadinkscape-50115a1e39ed4414dd9e684709253167072b29ee.tar.gz
inkscape-50115a1e39ed4414dd9e684709253167072b29ee.zip
update to trunk
(bzr r13708.1.37)
Diffstat (limited to 'src/trace')
-rw-r--r--src/trace/CMakeLists.txt1
-rw-r--r--src/trace/potrace/inkscape-potrace.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/trace/CMakeLists.txt b/src/trace/CMakeLists.txt
index 958907df6..bf7cfa276 100644
--- a/src/trace/CMakeLists.txt
+++ b/src/trace/CMakeLists.txt
@@ -28,6 +28,7 @@ set(trace_SRC
potrace/auxiliary.h
potrace/bitmap.h
+ potrace/bitops.h
potrace/curve.h
potrace/decompose.h
potrace/greymap.h
diff --git a/src/trace/potrace/inkscape-potrace.cpp b/src/trace/potrace/inkscape-potrace.cpp
index e9e708f52..8f3bb7bdf 100644
--- a/src/trace/potrace/inkscape-potrace.cpp
+++ b/src/trace/potrace/inkscape-potrace.cpp
@@ -497,7 +497,7 @@ std::vector<TracingEngineResult> PotraceTracingEngine::traceBrightnessMulti(GdkP
if ( !d.empty() ) {
//### get style info
int grayVal = (int)(256.0 * brightnessThreshold);
- ustring style = ustring::compose("fill-opacity:1.0;fill:%1%2%3", twohex(grayVal), twohex(grayVal), twohex(grayVal) );
+ ustring style = ustring::compose("fill-opacity:1.0;fill:#%1%2%3", twohex(grayVal), twohex(grayVal), twohex(grayVal) );
//g_message("### GOT '%s' \n", style.c_str());
TracingEngineResult result(style, d, nodeCount);