29 #ifndef CDPL_VIS_SVGMOLECULARGRAPHWRITER_HPP
30 #define CDPL_VIS_SVGMOLECULARGRAPHWRITER_HPP
69 operator const void*()
const;
struct _cairo_surface cairo_surface_t
Definition: CairoPointer.hpp:36
Definition of the class CDPL::Base::DataWriter.
Definition of the preprocessor macro CDPL_VIS_API.
#define CDPL_VIS_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
An interface for writing data objects of a given type to an arbitrary data sink.
Definition: DataWriter.hpp:63
MolecularGraph.
Definition: MolecularGraph.hpp:52
Definition: ImageWriter.hpp:61
Creates 2D structure diagrams of molecular graphs in the Scalable Vector Graphics (SVG) [WSVG] format...
Definition: SVGMolecularGraphWriter.hpp:53
bool operator!() const
Tells whether the writer is in a bad state.
Base::DataWriter< Chem::MolecularGraph > & write(const Chem::MolecularGraph &molgraph)
Creates and outputs the 2D structure diagram of the molecular graph molgraph.
SVGMolecularGraphWriter(std::ostream &os)
Constructs a SVGMolecularGraphWriter instance that will write the image data to the output stream os.
The namespace of the Chemical Data Processing Library.