The Gnome Chemistry Utils
0.14.0
|
Stoichiometry. More...
#include <fragment.h>
Public Member Functions | |
StoichiometryTextTag (double size) | |
virtual | ~StoichiometryTextTag () |
TextTag * | Restrict (TextTag *tag) |
Public Member Functions inherited from gccv::PositionTextTag | |
PositionTextTag (TextPosition position, double size, bool stacked=false, Tag tag=Position) | |
virtual | ~PositionTextTag () |
void | Filter (PangoAttrList *l, unsigned start, unsigned end) |
bool | operator== (TextTag const &tag) const |
TextTag * | Duplicate () const |
TextPosition | GetPosition (bool &stacked, double &size) const |
virtual bool | NeedsNewRun () |
TextTag * | Restrict (G_GNUC_UNUSED TextTag *tag) |
Public Member Functions inherited from gccv::TextTag | |
TextTag (Tag tag, TagPriority priority=TagPriorityFirst) | |
virtual | ~TextTag () |
virtual TextTag * | Restrict (TextTag *tag) |
Tag | GetTag (void) const |
TagPriority | GetPriority (void) const |
void | SetStartIndex (unsigned val) |
unsigned | GetStartIndex (void) const |
unsigned & | GetRefStartIndex (void) |
void | SetEndIndex (unsigned val) |
unsigned | GetEndIndex (void) const |
unsigned & | GetRefEndIndex (void) |
bool | GetStacked (void) |
bool | GetNewLine (void) |
Additional Inherited Members | |
Static Public Member Functions inherited from gccv::TextTag | |
static Tag | RegisterTagType () |
static bool | Order (TextTag *first, TextTag *last) |
Static Public Attributes inherited from gccv::TextTag | |
static Tag | MaxTag |
Protected Attributes inherited from gccv::TextTag | |
bool | m_Stacked |
bool | m_NewLine |
Stoichiometry.
TextTag class for stoichiometry. Text using this tag will appear as subscript and interpreted as a stoichiometric index.
Definition at line 76 of file fragment.h.
gcp::StoichiometryTextTag::StoichiometryTextTag | ( | double | size | ) |
size | a default font size. |
Constructs a new StoichiometryTextTag.
|
virtual |
The destructor.
tag | a TextTag. |
Implementation of TextTag::Restrict for the StoichiometryTextTag class.