29 #ifndef CDPL_VIS_PNGREACTIONWRITER_HPP
30 #define CDPL_VIS_PNGREACTIONWRITER_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
Reaction.
Definition: Reaction.hpp:52
Definition: ImageWriter.hpp:61
Creates 2D depictions of chemical reactions in the Portable Network Graphics (PNG) [WPNG] format.
Definition: PNGReactionWriter.hpp:53
bool operator!() const
Tells whether the writer is in a bad state.
PNGReactionWriter(std::ostream &os)
Constructs a PNGReactionWriter instance that will write the image data to the output stream os.
Base::DataWriter< Chem::Reaction > & write(const Chem::Reaction &rxn)
Creates and outputs a 2D depiction of the reaction rxn.
The namespace of the Chemical Data Processing Library.