diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2019-10-28 11:30:14 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2019-10-28 11:30:14 +0000 |
| commit | 1a12c0f5f163794584dfe7b25d4f1feb3156cb6d (patch) | |
| tree | d6c79997499865b493f1986042a4b3f23f945f1e /src/display/drawing-item.cpp | |
| parent | Update cs.po (diff) | |
| download | inkscape-1a12c0f5f163794584dfe7b25d4f1feb3156cb6d.tar.gz inkscape-1a12c0f5f163794584dfe7b25d4f1feb3156cb6d.zip | |
refactor SPIEnum: more type safety
fixes ungrouping of "font-weight:bolder"
fixes "titling-caps" parsing
fixes a casting error in CairoRenderContext::renderGlyphtext
Diffstat (limited to 'src/display/drawing-item.cpp')
| -rw-r--r-- | src/display/drawing-item.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/display/drawing-item.cpp b/src/display/drawing-item.cpp index eba5fb6e2..3cdfc72a9 100644 --- a/src/display/drawing-item.cpp +++ b/src/display/drawing-item.cpp @@ -243,7 +243,7 @@ DrawingItem::setAntialiasing(unsigned a) } void -DrawingItem::setIsolation(unsigned isolation) +DrawingItem::setIsolation(bool isolation) { _isolation = isolation; //if( isolation != 0 ) std::cout << "isolation: " << isolation << std::endl; @@ -251,7 +251,7 @@ DrawingItem::setIsolation(unsigned isolation) } void -DrawingItem::setBlendMode(unsigned mix_blend_mode) +DrawingItem::setBlendMode(SPBlendMode mix_blend_mode) { _mix_blend_mode = mix_blend_mode; //if( mix_blend_mode != 0 ) std::cout << "setBlendMode: " << mix_blend_mode << std::endl; |
