22 #include <openbabel/babelconfig.h> 30 class OBDepictPrivate;
54 internalColor = 0x0002,
58 noWedgeHashGen = 0x0100,
59 asymmetricDoubleBond = 0x0200,
77 bool DrawMolecule(
OBMol *mol);
85 void SetBondLength(
double length);
86 double GetBondLength()
const;
88 void SetPenWidth(
double length);
89 double GetPenWidth()
const;
91 void SetBondSpacing(
double spacing);
92 double GetBondSpacing()
const;
94 void SetBondWidth(
double width);
95 double GetBondWidth()
const;
100 void SetOption(
unsigned opts);
101 unsigned GetOptions()
const;
104 void SetFontFamily(
const std::string &family);
105 const std::string& GetFontFamily()
const;
107 void SetFontSize(
int pointSize,
bool subscript =
false);
108 int GetFontSize(
bool subscript =
false)
const;
110 void SetAliasMode(
bool b=
true);
112 void SetBondColor(
const std::string& scolor);
Abstract painter base class used by OBDepict.
Definition: painter.h:128
2D depiction of molecules using OBPainter.
Definition: depict.h:41
Molecule Class.
Definition: mol.h:118
OptionType
Definition: depict.h:52
AtomLabelType
Definition: depict.h:44
Global namespace for all Open Babel code.
Definition: alias.h:22