diff options
author | Valek Filippov <frob@gnome.org> | 2011-07-20 11:09:39 -0400 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-07-20 18:51:06 +0200 |
commit | 454f3dbfcef3d67cb85e1cdd75c22262da1956f6 (patch) | |
tree | 9fad31724fde4e4da56fd818e1c45d509628104f /src/lib/VSDXParser.cpp | |
parent | b60a3933cacc97c5aa23960eead72c10ba135a85 (diff) |
Added Fill and Line transparency
Diffstat (limited to 'src/lib/VSDXParser.cpp')
-rw-r--r-- | src/lib/VSDXParser.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/VSDXParser.cpp b/src/lib/VSDXParser.cpp index 1503e7e..452a38a 100644 --- a/src/lib/VSDXParser.cpp +++ b/src/lib/VSDXParser.cpp @@ -479,12 +479,13 @@ void libvisio::VSDXParser::readLine(WPXInputStream *input) void libvisio::VSDXParser::readFillAndShadow(WPXInputStream *input) { unsigned int colourIndexFG = readU8(input); - input->seek(4, WPX_SEEK_CUR); + input->seek(3, WPX_SEEK_CUR); + unsigned int fillTransparency = readU8(input); unsigned int colourIndexBG = readU8(input); input->seek(4, WPX_SEEK_CUR); unsigned fillPattern = readU8(input); - m_collector->collectFillAndShadow(m_header.id, m_header.level, colourIndexFG, colourIndexBG, fillPattern); + m_collector->collectFillAndShadow(m_header.id, m_header.level, colourIndexFG, colourIndexBG, fillPattern, fillTransparency); } |