diff options
Diffstat (limited to 'src/htmldocvisitor.cpp')
-rw-r--r-- | src/htmldocvisitor.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp index 815a16d..6ccbda4 100644 --- a/src/htmldocvisitor.cpp +++ b/src/htmldocvisitor.cpp @@ -2031,8 +2031,12 @@ void HtmlDocVisitor::writeMscFile(const QCString &fileName, } baseName.prepend("msc_"); QCString outDir = Config_getString("HTML_OUTPUT"); - writeMscGraphFromFile(fileName,outDir,baseName,MSC_BITMAP); - writeMscImageMapFromFile(m_t,fileName,outDir,relPath,baseName,context); + QCString imgExt = Config_getEnum("DOT_IMAGE_FORMAT"); + MscOutputFormat mscFormat = MSC_BITMAP; + if ("svg" == imgExt) + mscFormat = MSC_SVG; + writeMscGraphFromFile(fileName,outDir,baseName,mscFormat); + writeMscImageMapFromFile(m_t,fileName,outDir,relPath,baseName,context,mscFormat); } void HtmlDocVisitor::writeDiaFile(const QCString &fileName, |