| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
HTk.Kernel.Font
Description
The module Font export basic types and classes concerning
font resources.
- class FontDesignator fh where
- newtype Font = Font String
- data XFont
- xfont :: XFont
- data FontFamily
- data FontWeight
- = NormalWeight
- | Medium
- | Bold
- data FontSlant
- data FontWidth
- data FontSpacing
Documentation
class FontDesignator fh where Source #
Datatypes that describe a font instantiate the
class FontDesignator.
Minimal complete definition
Instances
| FontDesignator String Source # | An X font string represents a font. |
| FontDesignator FontFamily Source # | A |
| FontDesignator XFont Source # | An |
| FontDesignator Font Source # | A |
| FontDesignator (FontFamily, Int) Source # | A tuple of |
| FontDesignator (FontFamily, FontSlant, Int) Source # | A tuple of |
| FontDesignator (FontFamily, FontWeight, Int) Source # | A tuple of |
The general Font datatype.
The XFont datatype - representing the elements of an
X font string.
Constructors
| XFont | |
| XFontAlias String | |
data FontFamily Source #
The FontFamily datatype.
Instances
| Read FontFamily Source # | Internal. |
| Show FontFamily Source # | Internal. |
| GUIValue FontFamily Source # | Internal. |
| FontDesignator FontFamily Source # | A |
| FontDesignator (FontFamily, Int) Source # | A tuple of |
| FontDesignator (FontFamily, FontSlant, Int) Source # | A tuple of |
| FontDesignator (FontFamily, FontWeight, Int) Source # | A tuple of |
data FontWeight Source #
The FontWeight datatype.
Constructors
| NormalWeight | |
| Medium | |
| Bold |
Instances
| Read FontWeight Source # | Internal. |
| Show FontWeight Source # | Internal. |
| GUIValue FontWeight Source # | Internal. |
| FontDesignator (FontFamily, FontWeight, Int) Source # | A tuple of |
The FontSlant datatype.
The FontWidth datatype.
Constructors
| NormalWidth | |
| Condensed | |
| Narrow |
data FontSpacing Source #
The FontSpacing datatype.
Constructors
| MonoSpace | |
| Proportional |
Instances
| Read FontSpacing Source # | Internal. |
| Show FontSpacing Source # | Internal. |
| GUIValue FontSpacing Source # | Internal. |