FontInfo Class

# FontInfo Class Reference

[Action.h Index] [Action.h Hierarchy]

More...

`#include <SyntaxState.h>`

## Public Members

- FontInfo (const QColor color = black, int weight = QFont::Normal, bool italic = false)
- FontInfo (const FontInfo& fi)
- ~FontInfo ()
- void setDrawingAttrs (QPainter& p, const QFont& baseFont)
- const QColor& color () const
- bool italic ()
- int weight ()
- void setColor (QColor c)
- void setItalic (bool i)
- void setWeight (int w)

## Protected Members

- QColor Color
- int Weight
- bool Italic
- QFont* CachedFont
- bool FontDirty
- inline QFont* cachedFont (const QFont& baseFont)

| Kdoc