29 #ifndef CDPL_VIS_PDFMOLECULARGRAPHWRITER_HPP
30 #define CDPL_VIS_PDFMOLECULARGRAPHWRITER_HPP
70 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 Portable Document Format (PDF) [WPDF].
Definition: PDFMolecularGraphWriter.hpp:53
bool operator!() const
Tells whether the writer is in a bad state.
PDFMolecularGraphWriter(std::ostream &os)
Constructs a PDFMolecularGraphWriter instance that will write the image data to the output stream os.
Base::DataWriter< Chem::MolecularGraph > & write(const Chem::MolecularGraph &molgraph)
Creates and outputs the 2D structure diagram of the molecular graph molgraph.
The namespace of the Chemical Data Processing Library.