gi-pango-1.0.23: Pango bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Pango.Flags

Description

 
Synopsis

Flags

FontMask

data FontMask Source #

The bits in a FontMask correspond to fields in a FontDescription that have been set.

Constructors

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

Instances details
Enum FontMask Source # 
Instance details

Defined in GI.Pango.Flags

Eq FontMask Source # 
Instance details

Defined in GI.Pango.Flags

Ord FontMask Source # 
Instance details

Defined in GI.Pango.Flags

Show FontMask Source # 
Instance details

Defined in GI.Pango.Flags

Methods

showsPrec :: Int -> FontMask -> ShowS #

show :: FontMask -> String #

showList :: [FontMask] -> ShowS #

TypedObject FontMask Source # 
Instance details

Defined in GI.Pango.Flags

Methods

glibType :: IO GType #

BoxedFlags FontMask Source # 
Instance details

Defined in GI.Pango.Flags

IsGFlag FontMask Source # 
Instance details

Defined in GI.Pango.Flags

HasParentTypes FontMask Source # 
Instance details

Defined in GI.Pango.Flags

type ParentTypes FontMask Source # 
Instance details

Defined in GI.Pango.Flags

type ParentTypes FontMask = '[] :: [Type]

ShapeFlags

data ShapeFlags Source #

Flags influencing the shaping process. These can be passed to shapeWithFlags.

Constructors

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

Instances details
Enum ShapeFlags Source # 
Instance details

Defined in GI.Pango.Flags

Eq ShapeFlags Source # 
Instance details

Defined in GI.Pango.Flags

Ord ShapeFlags Source # 
Instance details

Defined in GI.Pango.Flags

Show ShapeFlags Source # 
Instance details

Defined in GI.Pango.Flags

Methods

showsPrec :: Int -> ShapeFlags -> ShowS #

show :: ShapeFlags -> String #

showList :: [ShapeFlags] -> ShowS #

TypedObject ShapeFlags Source # 
Instance details

Defined in GI.Pango.Flags

Methods

glibType :: IO GType #

BoxedFlags ShapeFlags Source # 
Instance details

Defined in GI.Pango.Flags

IsGFlag ShapeFlags Source # 
Instance details

Defined in GI.Pango.Flags

HasParentTypes ShapeFlags Source # 
Instance details

Defined in GI.Pango.Flags

type ParentTypes ShapeFlags Source # 
Instance details

Defined in GI.Pango.Flags

type ParentTypes ShapeFlags = '[] :: [Type]

ShowFlags

data ShowFlags Source #

These flags affect how Pango treats characters that are normally not visible in the output.

Constructors

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

Instances details
Enum ShowFlags Source # 
Instance details

Defined in GI.Pango.Flags

Eq ShowFlags Source # 
Instance details

Defined in GI.Pango.Flags

Ord ShowFlags Source # 
Instance details

Defined in GI.Pango.Flags

Show ShowFlags Source # 
Instance details

Defined in GI.Pango.Flags

Methods

showsPrec :: Int -> ShowFlags -> ShowS #

show :: ShowFlags -> String #

showList :: [ShowFlags] -> ShowS #

TypedObject ShowFlags Source # 
Instance details

Defined in GI.Pango.Flags

Methods

glibType :: IO GType #

BoxedFlags ShowFlags Source # 
Instance details

Defined in GI.Pango.Flags

IsGFlag ShowFlags Source # 
Instance details

Defined in GI.Pango.Flags

HasParentTypes ShowFlags Source # 
Instance details

Defined in GI.Pango.Flags

type ParentTypes ShowFlags Source # 
Instance details

Defined in GI.Pango.Flags

type ParentTypes ShowFlags = '[] :: [Type]