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 |
The EngineShape
class is implemented by engines that
customize the rendering-system dependent part of the
Pango pipeline for a particular script or language.
A EngineShape
implementation is then specific to both
a particular rendering system or group of rendering systems
and to a particular script. For instance, there is one
EngineShape
implementation to handle shaping Arabic
for Fontconfig-based backends.
Synopsis
- newtype EngineShape = EngineShape (ManagedPtr EngineShape)
- class (GObject o, IsDescendantOf EngineShape o) => IsEngineShape o
- toEngineShape :: (MonadIO m, IsEngineShape o) => o -> m EngineShape
- noEngineShape :: Maybe EngineShape
Exported types
newtype EngineShape Source #
Memory-managed wrapper type.
Instances
Eq EngineShape Source # | |
Defined in GI.Pango.Objects.EngineShape (==) :: EngineShape -> EngineShape -> Bool # (/=) :: EngineShape -> EngineShape -> Bool # | |
GObject EngineShape Source # | |
Defined in GI.Pango.Objects.EngineShape gobjectType :: IO GType # | |
IsGValue EngineShape Source # | Convert |
Defined in GI.Pango.Objects.EngineShape toGValue :: EngineShape -> IO GValue # fromGValue :: GValue -> IO EngineShape # | |
HasParentTypes EngineShape Source # | |
Defined in GI.Pango.Objects.EngineShape | |
type ParentTypes EngineShape Source # | |
Defined in GI.Pango.Objects.EngineShape |
class (GObject o, IsDescendantOf EngineShape o) => IsEngineShape o Source #
Type class for types which can be safely cast to EngineShape
, for instance with toEngineShape
.
Instances
(GObject o, IsDescendantOf EngineShape o) => IsEngineShape o Source # | |
Defined in GI.Pango.Objects.EngineShape |
toEngineShape :: (MonadIO m, IsEngineShape o) => o -> m EngineShape Source #
Cast to EngineShape
, for types for which this is known to be safe. For general casts, use castTo
.
noEngineShape :: Maybe EngineShape Source #
A convenience alias for Nothing
:: Maybe
EngineShape
.