lib

Artwork Class Reference

Inheritance diagram for Artwork:

CMArtwork EsstixArtwork SymbolArtwork List of all members.

Detailed Description

Definition at line 131 of file fontstyle.h.


Public Member Functions

 Artwork (SymbolType type=EmptyBracket)
virtual ~Artwork ()
virtual void calcSizes (const ContextStyle &style, ContextStyle::TextStyle tstyle, luPt parentSize)=0
virtual void calcSizes (const ContextStyle &style, ContextStyle::TextStyle tstyle)
virtual void draw (QPainter &painter, const LuPixelRect &r, const ContextStyle &style, ContextStyle::TextStyle tstyle, luPt parentSize, const LuPixelPoint &origin)=0
virtual void draw (QPainter &painter, const LuPixelRect &r, const ContextStyle &style, ContextStyle::TextStyle tstyle, 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, uchar 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:
KDE Home | KDE Accessibility Home | Description of Access Keys