![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <DrawAnnotation.h>
Public Member Functions | |
| ~DrawAnnotation ()=default | |
| DrawAnnotation (const std::string ¬e, const TextAlignType &align, const std::string &cls, double relFontScale, const Point2D &pos, const DrawColour &colour, DrawText &textDrawer) | |
| DrawAnnotation (const DrawAnnotation &)=delete | |
| DrawAnnotation (DrawAnnotation &&)=delete | |
| DrawAnnotation & | operator= (const DrawAnnotation &)=delete |
| DrawAnnotation & | operator= (DrawAnnotation &&)=delete |
| void | findExtremes (double &xmin, double &xmax, double &ymin, double &ymax, double padding=0.0) const |
| void | getDimensions (double &width, double &height) const |
| void | extractRects () |
| void | draw (MolDraw2D &molDrawer) const |
| void | drawRects (MolDraw2D &molDrawer) const |
| void | scale (const Point2D &scaleFactor) |
| void | move (const Point2D &trans) |
| bool | doesRectClash (const StringRect &rect, double padding) const |
Public Attributes | |
| std::string | text_ |
| TextAlignType | align_ |
| std::string | class_ |
| double | fontScale_ |
| DrawText & | textDrawer_ |
| Point2D | pos_ = Point2D(0.0, 0.0) |
| DrawColour | colour_ = DrawColour(0.0, 0.0, 0.0, 0.0) |
| std::vector< std::shared_ptr< StringRect > > | rects_ |
Definition at line 29 of file DrawAnnotation.h.
|
default |
| RDKit::MolDraw2D_detail::DrawAnnotation::DrawAnnotation | ( | const std::string & | note, |
| const TextAlignType & | align, | ||
| const std::string & | cls, | ||
| double | relFontScale, | ||
| const Point2D & | pos, | ||
| const DrawColour & | colour, | ||
| DrawText & | textDrawer ) |
Referenced by DrawAnnotation(), DrawAnnotation(), operator=(), and operator=().
|
delete |
References DrawAnnotation().
|
delete |
References DrawAnnotation().
| bool RDKit::MolDraw2D_detail::DrawAnnotation::doesRectClash | ( | const StringRect & | rect, |
| double | padding ) const |
| void RDKit::MolDraw2D_detail::DrawAnnotation::draw | ( | MolDraw2D & | molDrawer | ) | const |
| void RDKit::MolDraw2D_detail::DrawAnnotation::drawRects | ( | MolDraw2D & | molDrawer | ) | const |
| void RDKit::MolDraw2D_detail::DrawAnnotation::extractRects | ( | ) |
| void RDKit::MolDraw2D_detail::DrawAnnotation::findExtremes | ( | double & | xmin, |
| double & | xmax, | ||
| double & | ymin, | ||
| double & | ymax, | ||
| double | padding = 0.0 ) const |
| void RDKit::MolDraw2D_detail::DrawAnnotation::getDimensions | ( | double & | width, |
| double & | height ) const |
| void RDKit::MolDraw2D_detail::DrawAnnotation::move | ( | const Point2D & | trans | ) |
|
delete |
References DrawAnnotation().
|
delete |
References DrawAnnotation().
| void RDKit::MolDraw2D_detail::DrawAnnotation::scale | ( | const Point2D & | scaleFactor | ) |
| TextAlignType RDKit::MolDraw2D_detail::DrawAnnotation::align_ |
Definition at line 55 of file DrawAnnotation.h.
| std::string RDKit::MolDraw2D_detail::DrawAnnotation::class_ |
Definition at line 56 of file DrawAnnotation.h.
| DrawColour RDKit::MolDraw2D_detail::DrawAnnotation::colour_ = DrawColour(0.0, 0.0, 0.0, 0.0) |
Definition at line 60 of file DrawAnnotation.h.
| double RDKit::MolDraw2D_detail::DrawAnnotation::fontScale_ |
Definition at line 57 of file DrawAnnotation.h.
Definition at line 59 of file DrawAnnotation.h.
| std::vector<std::shared_ptr<StringRect> > RDKit::MolDraw2D_detail::DrawAnnotation::rects_ |
Definition at line 61 of file DrawAnnotation.h.
| std::string RDKit::MolDraw2D_detail::DrawAnnotation::text_ |
Definition at line 54 of file DrawAnnotation.h.
| DrawText& RDKit::MolDraw2D_detail::DrawAnnotation::textDrawer_ |
Definition at line 58 of file DrawAnnotation.h.