![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <DrawShape.h>
Public Member Functions | |
DrawShapeDashedWedge (const std::vector< Point2D > points, const DrawColour &col1, const DrawColour &col2, bool oneLessDash=true, double lineWidth=1.0, int atom1=-1, int atom2=-1, int bond=-1) | |
DrawShapeDashedWedge (const DrawShapeDashedWedge &)=delete | |
DrawShapeDashedWedge (DrawShapeDashedWedge &&)=delete | |
~DrawShapeDashedWedge ()=default | |
DrawShapeDashedWedge & | operator= (const DrawShapeDashedWedge &)=delete |
DrawShapeDashedWedge & | operator= (DrawShapeDashedWedge &&)=delete |
void | buildLines () |
void | myDraw (MolDraw2D &drawer) const override |
void | scale (const Point2D &scale_factor) override |
void | move (const Point2D &trans) override |
void | findExtremes (double &xmin, double &xmax, double &ymin, double &ymax) const override |
bool | doesRectClash (const StringRect &rect, double padding) const override |
![]() | |
DrawShape (const std::vector< Point2D > &points, double lineWidth=2.0, bool scaleLineWidth=false, DrawColour lineColour=DrawColour(0, 0, 0), bool fill=false, int atom1=-1, int atom2=-1, int bond=-1) | |
DrawShape (const DrawShape &)=delete | |
DrawShape (DrawShape &&)=delete | |
virtual | ~DrawShape ()=default |
DrawShape & | operator= (const DrawShape &)=delete |
DrawShape & | operator= (DrawShape &&)=delete |
void | draw (MolDraw2D &drawer) |
virtual void | myDraw (MolDraw2D &drawer) const =0 |
virtual void | findExtremes (double &xmin, double &xmax, double &ymin, double &ymax) const |
virtual void | scale (const Point2D &scale_factor) |
virtual void | move (const Point2D &trans) |
virtual bool | doesRectClash (const StringRect &rect, double padding) const |
Public Attributes | |
DrawColour | col2_ |
bool | oneLessDash_ |
std::vector< DrawColour > | lineColours_ |
Point2D | at1Cds_ |
Point2D | end1Cds_ |
Point2D | end2Cds_ |
![]() | |
std::vector< Point2D > | points_ |
double | lineWidth_ |
bool | scaleLineWidth_ |
DrawColour | lineColour_ |
bool | fill_ |
int | atom1_ |
int | atom2_ |
int | bond_ |
Definition at line 169 of file DrawShape.h.
RDKit::MolDraw2D_detail::DrawShapeDashedWedge::DrawShapeDashedWedge | ( | const std::vector< Point2D > | points, |
const DrawColour & | col1, | ||
const DrawColour & | col2, | ||
bool | oneLessDash = true , |
||
double | lineWidth = 1.0 , |
||
int | atom1 = -1 , |
||
int | atom2 = -1 , |
||
int | bond = -1 |
||
) |
|
delete |
|
delete |
|
default |
void RDKit::MolDraw2D_detail::DrawShapeDashedWedge::buildLines | ( | ) |
|
overridevirtual |
Reimplemented from RDKit::MolDraw2D_detail::DrawShape.
|
overridevirtual |
Reimplemented from RDKit::MolDraw2D_detail::DrawShape.
|
overridevirtual |
Reimplemented from RDKit::MolDraw2D_detail::DrawShape.
|
overridevirtual |
Implements RDKit::MolDraw2D_detail::DrawShape.
|
delete |
|
delete |
|
overridevirtual |
Reimplemented from RDKit::MolDraw2D_detail::DrawShape.
Point2D RDKit::MolDraw2D_detail::DrawShapeDashedWedge::at1Cds_ |
Definition at line 197 of file DrawShape.h.
DrawColour RDKit::MolDraw2D_detail::DrawShapeDashedWedge::col2_ |
Definition at line 192 of file DrawShape.h.
Point2D RDKit::MolDraw2D_detail::DrawShapeDashedWedge::end1Cds_ |
Definition at line 197 of file DrawShape.h.
Point2D RDKit::MolDraw2D_detail::DrawShapeDashedWedge::end2Cds_ |
Definition at line 197 of file DrawShape.h.
std::vector<DrawColour> RDKit::MolDraw2D_detail::DrawShapeDashedWedge::lineColours_ |
Definition at line 194 of file DrawShape.h.
bool RDKit::MolDraw2D_detail::DrawShapeDashedWedge::oneLessDash_ |
Definition at line 193 of file DrawShape.h.