gi-pango-1.0.19: Pango bindings

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

- Exported types

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 # |
Instance details Defined in GI.Pango.Objects.EngineShape Methods gobjectType :: EngineShape -> IO GType Source #
IsObject EngineShape Source # |
Instance details Defined in GI.Pango.Objects.EngineShape
IsEngine EngineShape Source # |
Instance details Defined in GI.Pango.Objects.EngineShape
IsEngineShape EngineShape Source # |
Instance details 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 # |
Instance details Defined in GI.Pango.Objects.EngineShape
IsEngineShape EngineShape Source # |
Instance details 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`.