 |
RDKit
Open-source cheminformatics and machine learning.
|
Go to the documentation of this file.
28 MolDraw2DQt(
int width,
int height, QPainter &qp,
int panelWidth = -1,
29 int panelHeight = -1);
45 double &label_height)
const;
51 #endif // MOLDRAW2DQT_H
void drawChar(char c, const Point2D &cds)
#define RDKIT_MOLDRAW2D_EXPORT
void setColour(const DrawColour &col)
sets the current draw color
void drawLine(const Point2D &cds1, const Point2D &cds2)
draws a line from cds1 to cds2 using the current drawing style
void setFontSize(double new_size)
MolDraw2DQt(int width, int height, QPainter &qp, int panelWidth=-1, int panelHeight=-1)
MolDraw2D is the base class for doing 2D renderings of molecules.
void getStringSize(const std::string &label, double &label_width, double &label_height) const
void drawPolygon(const std::vector< Point2D > &cds)
void clearDrawing()
clears the contents of the drawing