modify drawing code so that it once again handles non-cyclic aromatic bonds (for fragments)

This commit is contained in:
Greg Landrum
2012-09-19 02:52:37 +00:00
parent adb2b2c2d4
commit 00b79222c7
2 changed files with 25 additions and 14 deletions

View File

@@ -130,7 +130,7 @@ namespace {
xmlns:xlink='http://www.w3.org/1999/xlink'\n \
xml:space='preserve'\n";
sstr<<"width='"<<width<<"px' height='"<<height<<"px' >\n";
sstr<<"<svg:g transform='translate("<<width*.05<<","<<height*.05<<") scale(.9,.9)'>";
sstr<<"<svg:g transform='translate("<<width*.05<<","<<height*.05<<") scale(.85,.85)'>";
while(pos!=drawing.end()){
int token=*pos++;
switch(token){