| 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 |
GI.Pango.Objects.EngineShape
Contents
Description
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 => IsEngineShape o
- toEngineShape :: (MonadIO m, IsEngineShape o) => o -> m EngineShape
- noEngineShape :: Maybe EngineShape
Exported types
newtype EngineShape Source #
Memory-managed wrapper type.
Constructors
| EngineShape (ManagedPtr EngineShape) |
Instances
| GObject EngineShape Source # | |
Defined in GI.Pango.Objects.EngineShape Methods gobjectType :: EngineShape -> IO GType # | |
| IsObject EngineShape Source # | |
Defined in GI.Pango.Objects.EngineShape | |
| IsEngine EngineShape Source # | |
Defined in GI.Pango.Objects.EngineShape | |
| IsEngineShape EngineShape Source # | |
Defined in GI.Pango.Objects.EngineShape | |
class GObject o => IsEngineShape o Source #
Type class for types which can be safely cast to EngineShape, for instance with toEngineShape.
Instances
| (GObject a, (UnknownAncestorError EngineShape a :: Constraint)) => IsEngineShape a Source # | |
Defined in GI.Pango.Objects.EngineShape | |
| IsEngineShape EngineShape 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.