![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Abstract base class for writers that render Chem::MolecularGraph or Chem::Reaction instances into a raster/vector image via an internal Cairo surface. More...
#include <ImageWriter.hpp>
Inheritance diagram for CDPL::Vis::ImageWriter:Protected Member Functions | |
| ImageWriter (const Base::DataIOBase &io_base) | |
| ImageWriter (const ImageWriter &)=delete | |
| virtual | ~ImageWriter () |
| ImageWriter & | operator= (const ImageWriter &)=delete |
| cairo_surface_t * | renderMolGraphImage (const Chem::MolecularGraph &) |
| cairo_surface_t * | renderReactionImage (const Chem::Reaction &) |
| virtual cairo_surface_t * | createCairoSurface (double, double) const =0 |
| virtual cairo_surface_t * | createCairoSurface () const =0 |
Abstract base class for writers that render Chem::MolecularGraph or Chem::Reaction instances into a raster/vector image via an internal Cairo surface.
Concrete subclasses (e.g. PNG, SVG, PS and PDF writers) implement createCairoSurface() to provide a target surface of the appropriate format. The base class drives the 2D layout via StructureView2D / ReactionView2D and renders onto the supplied surface.
|
protected |
|
protecteddelete |
|
protectedvirtual |
|
protecteddelete |
|
protected |
|
protected |
|
protectedpure virtual |
|
protectedpure virtual |