30 MolDraw2DQt(
int width,
int height, QPainter *qp,
int panelWidth = -1,
31 int panelHeight = -1,
bool noFreetype =
false);
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
MolDraw2D is the base class for doing 2D renderings of molecules.
#define RDKIT_MOLDRAW2DQT_EXPORT
RDKIT_MOLDRAW2DQT_EXPORT const char * rdkitQtVersion