comparison trunk/src/docgen/graphutils/dotwriter.d @ 717:cb8edb09108a

Updated docgen (mostly) to new tango. Reflective options. Updated translations.
author Jari-Matti M?kel? <jmjm@iki.fi>
date Fri, 01 Feb 2008 15:05:56 +0200
parents db7e27b5c180
children ec8dd7b8bf0c
comparison
equal deleted inserted replaced
716:08e6174a2e1c 717:cb8edb09108a
125 return image; 125 return image;
126 } 126 }
127 127
128 void generateImageTag(OutputStream imageFile) { 128 void generateImageTag(OutputStream imageFile) {
129 // name of the .dot file 129 // name of the .dot file
130 char[] fn = (cast(Object)imageFile.conduit).toUtf8(); 130 char[] fn = (cast(Object)imageFile.conduit).toString();
131 fn = FilePath(fn).file; 131 fn = FilePath(fn).file;
132 132
133 fn = fn[0..$-3] ~ imageFormatExts[factory.options.graph.imageFormat]; 133 fn = fn[0..$-3] ~ imageFormatExts[factory.options.graph.imageFormat];
134 134
135 writer.addGraphics(fn); 135 writer.addGraphics(fn);