Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
The EngineLang
class is implemented by engines that
customize the rendering-system independent part of the
Pango pipeline for a particular script or language. For
instance, a custom EngineLang
could be provided for
Thai to implement the dictionary-based word boundary
lookups needed for that language.
Synopsis
- newtype EngineLang = EngineLang (ManagedPtr EngineLang)
- class GObject o => IsEngineLang o
- toEngineLang :: (MonadIO m, IsEngineLang o) => o -> m EngineLang
- noEngineLang :: Maybe EngineLang
Exported types
newtype EngineLang Source #
Memory-managed wrapper type.
Instances
GObject EngineLang Source # | |
Defined in GI.Pango.Objects.EngineLang gobjectType :: EngineLang -> IO GType # | |
IsObject EngineLang Source # | |
Defined in GI.Pango.Objects.EngineLang | |
IsEngine EngineLang Source # | |
Defined in GI.Pango.Objects.EngineLang | |
IsEngineLang EngineLang Source # | |
Defined in GI.Pango.Objects.EngineLang |
class GObject o => IsEngineLang o Source #
Type class for types which can be safely cast to EngineLang
, for instance with toEngineLang
.
Instances
(GObject a, (UnknownAncestorError EngineLang a :: Constraint)) => IsEngineLang a Source # | |
Defined in GI.Pango.Objects.EngineLang | |
IsEngineLang EngineLang Source # | |
Defined in GI.Pango.Objects.EngineLang |
toEngineLang :: (MonadIO m, IsEngineLang o) => o -> m EngineLang Source #
Cast to EngineLang
, for types for which this is known to be safe. For general casts, use castTo
.
noEngineLang :: Maybe EngineLang Source #
A convenience alias for Nothing
:: Maybe
EngineLang
.