lib
Artwork Class Reference
List of all members.Detailed Description
Definition at line 105 of file fontstyle.h.
Public Member Functions | |
Artwork (SymbolType type=EmptyBracket) | |
virtual | ~Artwork () |
virtual void | calcSizes (const ContextStyle &style, ContextStyle::TextStyle tstyle, double factor, luPt parentSize) |
virtual void | calcSizes (const ContextStyle &style, ContextStyle::TextStyle tstyle, double factor) |
virtual void | draw (QPainter &painter, const LuPixelRect &r, const ContextStyle &context, ContextStyle::TextStyle tstyle, StyleAttributes &style, luPt parentSize, const LuPixelPoint &origin) |
virtual void | draw (QPainter &painter, const LuPixelRect &r, const ContextStyle &context, ContextStyle::TextStyle tstyle, StyleAttributes &style, const LuPixelPoint &parentOrigin) |
luPixel | getWidth () const |
luPixel | getHeight () const |
void | setWidth (luPixel width) |
void | setHeight (luPixel height) |
luPixel | getBaseline () const |
void | setBaseline (luPixel line) |
luPixel | getX () const |
luPixel | getY () const |
void | setX (luPixel x) |
void | setY (luPixel y) |
SymbolType | getType () const |
void | setType (SymbolType t) |
virtual bool | isNormalChar () const |
virtual double | slant () const |
Protected Member Functions | |
void | calcCharSize (const ContextStyle &style, luPt height, QChar ch) |
void | drawCharacter (QPainter &painter, const ContextStyle &style, luPixel x, luPixel y, luPt height, QChar ch) |
void | calcCharSize (const ContextStyle &style, QFont f, luPt height, QChar c) |
void | drawCharacter (QPainter &painter, const ContextStyle &style, QFont f, luPixel x, luPixel y, luPt height, uchar c) |
void | calcRoundBracket (const ContextStyle &style, const QChar chars[], luPt height, luPt charHeight) |
void | calcCurlyBracket (const ContextStyle &style, const QChar chars[], luPt height, luPt charHeight) |
void | drawBigRoundBracket (QPainter &p, const ContextStyle &style, const QChar chars[], luPixel x, luPixel y, luPt charHeight) |
void | drawBigCurlyBracket (QPainter &p, const ContextStyle &style, const QChar chars[], luPixel x, luPixel y, luPt charHeight) |
The documentation for this class was generated from the following files: