summaryrefslogtreecommitdiffstats
path: root/src/diagram.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-02-24 18:57:25 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-02-24 18:57:25 (GMT)
commit837e4e86e7d2735cd7106efec6e4512db82d5e7a (patch)
tree81d72027898b1a75221b9ca82b04075277821a9f /src/diagram.cpp
parentfa7e820834f7e7648a24accbbaa998092034c80f (diff)
downloadDoxygen-837e4e86e7d2735cd7106efec6e4512db82d5e7a.zip
Doxygen-837e4e86e7d2735cd7106efec6e4512db82d5e7a.tar.gz
Doxygen-837e4e86e7d2735cd7106efec6e4512db82d5e7a.tar.bz2
Release-1.2.14-20020224
Diffstat (limited to 'src/diagram.cpp')
-rw-r--r--src/diagram.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/diagram.cpp b/src/diagram.cpp
index 80e5c1b..9df2bf5 100644
--- a/src/diagram.cpp
+++ b/src/diagram.cpp
@@ -1255,13 +1255,6 @@ void ClassDiagram::writeImage(QTextStream &t,const char *path,
uint superRows=super->computeRows();
uint rows=baseRows+superRows-1;
-// t << "<p>Class diagram for ";
-// HtmlGenerator::docifyStatic(t,name);
-// t << ".\n<p><center><img src=\""
-// << fileName << ".gif\" usemap=\"#" << name << "_map\""
-// << " border=\"0\"></center>" << endl
-// << "<map name=\"" << name << "_map\"><p>" << endl;
-
uint lb,ls,xb,xs;
base->computeExtremes(&lb,&xb);
super->computeExtremes(&ls,&xs);
@@ -1281,7 +1274,7 @@ void ClassDiagram::writeImage(QTextStream &t,const char *path,
base->drawConnectors(t,&image,TRUE,TRUE,baseRows,superRows,cellWidth,cellHeight);
super->drawConnectors(t,&image,FALSE,TRUE,baseRows,superRows,cellWidth,cellHeight);
- image.save((QCString)path+"/"+fileName+".gif");
+ image.save((QCString)path+"/"+fileName+".png");
if (generateMap) t << "</map>" << endl;
}