28 MolDraw2DQt(
int width,
int height, QPainter &qp,
int panelWidth = -1,
29 int panelHeight = -1,
bool noFreetype =
false);
40 void initDrawing()
override;
41 void initTextDrawer(
bool noFreetype)
override;
void setColour(const DrawColour &col)
sets the current draw color
void drawPolygon(const std::vector< Point2D > &cds)
void drawLine(const Point2D &cds1, const Point2D &cds2)
draws a line from cds1 to cds2 using the current drawing style
MolDraw2DQt(int width, int height, QPainter &qp, int panelWidth=-1, int panelHeight=-1, bool noFreetype=false)
void drawChar(char c, const Point2D &cds)
void clearDrawing()
clears the contents of the drawing
MolDraw2D is the base class for doing 2D renderings of molecules.
#define RDKIT_MOLDRAW2D_EXPORT