summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/emf-print.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-03-27 00:42:29 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-03-27 00:42:29 +0000
commitfefbd217fefe5e29d7913e58ff8b1bc9d8d44939 (patch)
tree0fc16570bde5385eeb4933224cdfff67532bf4c4 /src/extension/internal/emf-print.cpp
parentAdding cout << output to check bug in Geom::are_near (diff)
parentChanged some return types from gint to bool. (diff)
downloadinkscape-fefbd217fefe5e29d7913e58ff8b1bc9d8d44939.tar.gz
inkscape-fefbd217fefe5e29d7913e58ff8b1bc9d8d44939.zip
update to trunk
(bzr r11950.1.315)
Diffstat (limited to 'src/extension/internal/emf-print.cpp')
-rw-r--r--src/extension/internal/emf-print.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/extension/internal/emf-print.cpp b/src/extension/internal/emf-print.cpp
index ed25bf767..f4f7f08cb 100644
--- a/src/extension/internal/emf-print.cpp
+++ b/src/extension/internal/emf-print.cpp
@@ -366,11 +366,13 @@ int PrintEmf::create_brush(SPStyle const *style, PU_COLORREF fcolor)
if (!fcolor && style) {
if (style->fill.isColor()) {
fill_mode = DRAW_PAINT;
+#if 0
+// opacity not supported by EMF
float opacity = SP_SCALE24_TO_FLOAT(style->fill_opacity.value);
if (opacity <= 0.0) {
opacity = 0.0; // basically the same as no fill
}
-
+#endif
sp_color_get_rgb_floatv(&style->fill.value.color, rgb);
hatchColor = U_RGB(255 * rgb[0], 255 * rgb[1], 255 * rgb[2]);