summaryrefslogtreecommitdiffstats
path: root/src/diagram.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-02-24 18:57:25 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-02-24 18:57:25 (GMT)
commitc7bc295f92f56d1dea369663e058933f550a0187 (patch)
tree81d72027898b1a75221b9ca82b04075277821a9f /src/diagram.cpp
parent9793ce49f1d7641854ef0608b34c1dd2d4891a20 (diff)
downloadDoxygen-c7bc295f92f56d1dea369663e058933f550a0187.zip
Doxygen-c7bc295f92f56d1dea369663e058933f550a0187.tar.gz
Doxygen-c7bc295f92f56d1dea369663e058933f550a0187.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;
}