36 bool rawCoords =
false)
override;
39 bool rawCoords =
false)
override;
43 unsigned int nSegments = 16,
double vertOffset = 0.05,
44 bool rawCoords =
false)
override;
48 void initDrawing()
override;
49 void initTextDrawer(
bool noFreetype)
override;
void drawLine(const Point2D &cds1, const Point2D &cds2, bool rawCoords=false) override
void clearDrawing() override
clears the contents of the drawing
void drawChar(char c, const Point2D &cds)
void drawWavyLine(const Point2D &cds1, const Point2D &cds2, const DrawColour &col1, const DrawColour &col2, unsigned int nSegments=16, double vertOffset=0.05, bool rawCoords=false) override
draw a wavy line like that used to indicate unknown stereochemistry
void drawPolygon(const std::vector< Point2D > &cds, bool rawCoords=false) override
MolDraw2DQt(int width, int height, QPainter *qp, int panelWidth=-1, int panelHeight=-1, bool noFreetype=false)
void setColour(const DrawColour &col) override
sets the current draw color
int panelHeight() const
return the height of the drawing panels.
MolDraw2D(int width, int height, int panelWidth, int panelHeight)
constructor for a particular size
int height() const
return the height of the drawing area.
int panelWidth() const
return the width of the drawing panels.
int width() const
return the width of the drawing area.
#define RDKIT_MOLDRAW2DQT_EXPORT
RDKIT_MOLDRAW2DQT_EXPORT const char * rdkitQtVersion