summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2015-05-22 11:34:01 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2015-05-22 11:34:01 +0200
commite5b9c8c030a6fd7001cce07abf089c189745012e (patch)
tree33414fad84091d8eeda9d1b2cbcb37e6775fe06a
parent1385b3a27d951d7be72c0f859f026780d25e74c2 (diff)
Specify the with and height
Change-Id: I01ca31f7fea20acdcbf6927d659290970db02b80
-rw-r--r--src/lib/FHCollector.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/FHCollector.cpp b/src/lib/FHCollector.cpp
index c3754cf..9e0065a 100644
--- a/src/lib/FHCollector.cpp
+++ b/src/lib/FHCollector.cpp
@@ -2064,6 +2064,8 @@ void libfreehand::FHCollector::_appendTileFill(::librevenge::RVNGPropertyList &p
#endif
propList.insert("draw:fill", "bitmap");
propList.insert("draw:fill-image", output);
+ propList.insert("draw:fill-image-width", tileFill->m_scaleX * (bBox.m_xmax - bBox.m_xmin))
+ propList.insert("draw:fill-image-height", tileFill->m_scaleY * (bBox.m_ymax - bBox.m_ymin))
propList.insert("librevenge:mime-type", "image/svg+xml");
propList.insert("style:repeat", "repeat");
}