OESVGImage class to allow depictions to be
written out in Scalable Vector Graphics (.svg) file format.
This provides a convenient vector graphics file format, similar
to the existing Encapsulated PostScript writer, but the resulting
format is easier to parse by applications.
.svg file extension has been added to
the Ogham application mol2img (and the mol2img.cpp
example source code).
mol2png and mol2jpg. These demonstrate how the Ogham
toolkit can be used with the open source libraries, libpng
and libjpeg respectively. PNG (or Portable Network Graphics)
file format is a lossless compression image file format, whilst
JPEG (or Joint Photographic Experts Group) is a lossy compression
image file format. The corresponding libraries are installed on
most Linux machines, or can be downloaded from the following sites.
http://www.libpng.org/pub/png/libpng.html http://www.ijg.org/
A»B"
would be given identical co-ordinates to "A.B". We now add
extra spacing to separate the reactants from the products, to prevent
the reaction arrows drawn by Ogham's renderer from overlapping any
atoms.