16#ifndef RDKIT_DRAWANNOTATION_H
17#define RDKIT_DRAWANNOTATION_H
27namespace MolDraw2D_detail {
44 double padding = 0.0)
const;
61 std::vector<std::shared_ptr<StringRect>>
rects_;
DrawAnnotation(const DrawAnnotation &)=delete
DrawAnnotation & operator=(DrawAnnotation &&)=delete
DrawAnnotation(DrawAnnotation &&)=delete
DrawAnnotation(const std::string ¬e, const TextAlignType &align, const std::string &cls, double relFontScale, const Point2D &pos, const DrawColour &colour, DrawText &textDrawer)
void scale(const Point2D &scaleFactor)
bool doesRectClash(const StringRect &rect, double padding) const
~DrawAnnotation()=default
void move(const Point2D &trans)
void getDimensions(double &width, double &height) const
void drawRects(MolDraw2D &molDrawer) const
void draw(MolDraw2D &molDrawer) const
DrawAnnotation & operator=(const DrawAnnotation &)=delete
void findExtremes(double &xmin, double &xmax, double &ymin, double &ymax, double padding=0.0) const
std::vector< std::shared_ptr< StringRect > > rects_
MolDraw2D is the base class for doing 2D renderings of molecules.
bool rdvalue_is(const RDValue_cast_t)