Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data FontMask
- data ShapeFlags
- data ShowFlags
Flags
FontMask
The bits in a FontMask
correspond to fields in a
FontDescription
that have been set.
FontMaskFamily | the font family is specified. |
FontMaskStyle | the font style is specified. |
FontMaskVariant | the font variant is specified. |
FontMaskWeight | the font weight is specified. |
FontMaskStretch | the font stretch is specified. |
FontMaskSize | the font size is specified. |
FontMaskGravity | the font gravity is specified (Since: 1.16.) |
FontMaskVariations | OpenType font variations are specified (Since: 1.42) |
AnotherFontMask Int | Catch-all for unknown values |
Instances
Enum FontMask Source # | |
Defined in GI.Pango.Flags | |
Eq FontMask Source # | |
Ord FontMask Source # | |
Show FontMask Source # | |
TypedObject FontMask Source # | |
Defined in GI.Pango.Flags | |
BoxedFlags FontMask Source # | |
Defined in GI.Pango.Flags | |
IsGFlag FontMask Source # | |
Defined in GI.Pango.Flags | |
HasParentTypes FontMask Source # | |
Defined in GI.Pango.Flags | |
type ParentTypes FontMask Source # | |
Defined in GI.Pango.Flags |
ShapeFlags
data ShapeFlags Source #
Flags influencing the shaping process.
These can be passed to shapeWithFlags
.
ShapeFlagsNone | Default value. |
ShapeFlagsRoundPositions | Round glyph positions and widths to whole device units. This option should be set if the target renderer can't do subpixel positioning of glyphs. |
AnotherShapeFlags Int | Catch-all for unknown values |
Instances
ShowFlags
These flags affect how Pango treats characters that are normally not visible in the output.
ShowFlagsNone | No special treatment for invisible characters |
ShowFlagsSpaces | Render spaces, tabs and newlines visibly |
ShowFlagsLineBreaks | Render line breaks visibly |
ShowFlagsIgnorables | Render default-ignorable Unicode characters visibly |
AnotherShowFlags Int | Catch-all for unknown values |
Instances
Enum ShowFlags Source # | |
Defined in GI.Pango.Flags | |
Eq ShowFlags Source # | |
Ord ShowFlags Source # | |
Defined in GI.Pango.Flags | |
Show ShowFlags Source # | |
TypedObject ShowFlags Source # | |
Defined in GI.Pango.Flags | |
BoxedFlags ShowFlags Source # | |
Defined in GI.Pango.Flags | |
IsGFlag ShowFlags Source # | |
Defined in GI.Pango.Flags | |
HasParentTypes ShowFlags Source # | |
Defined in GI.Pango.Flags | |
type ParentTypes ShowFlags Source # | |
Defined in GI.Pango.Flags |