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 EngineScriptInfo
structure contains
information about how the shaper covers a particular script.
Synopsis
- newtype EngineScriptInfo = EngineScriptInfo (ManagedPtr EngineScriptInfo)
- newZeroEngineScriptInfo :: MonadIO m => m EngineScriptInfo
- noEngineScriptInfo :: Maybe EngineScriptInfo
- clearEngineScriptInfoLangs :: MonadIO m => EngineScriptInfo -> m ()
- getEngineScriptInfoLangs :: MonadIO m => EngineScriptInfo -> m (Maybe Text)
- setEngineScriptInfoLangs :: MonadIO m => EngineScriptInfo -> CString -> m ()
- getEngineScriptInfoScript :: MonadIO m => EngineScriptInfo -> m Script
- setEngineScriptInfoScript :: MonadIO m => EngineScriptInfo -> Script -> m ()
Exported types
newtype EngineScriptInfo Source #
Memory-managed wrapper type.
Instances
WrappedPtr EngineScriptInfo Source # | |
Defined in GI.Pango.Structs.EngineScriptInfo wrappedPtrCalloc :: IO (Ptr EngineScriptInfo) # wrappedPtrCopy :: EngineScriptInfo -> IO EngineScriptInfo # wrappedPtrFree :: Maybe (FunPtr (Ptr EngineScriptInfo -> IO ())) # | |
tag ~ AttrSet => Constructible EngineScriptInfo tag Source # | |
Defined in GI.Pango.Structs.EngineScriptInfo new :: MonadIO m => (ManagedPtr EngineScriptInfo -> EngineScriptInfo) -> [AttrOp EngineScriptInfo tag] -> m EngineScriptInfo # |
newZeroEngineScriptInfo :: MonadIO m => m EngineScriptInfo Source #
Construct a EngineScriptInfo
struct initialized to zero.
noEngineScriptInfo :: Maybe EngineScriptInfo Source #
A convenience alias for Nothing
:: Maybe
EngineScriptInfo
.
Properties
langs
a semicolon separated list of languages that this engine handles for this script. This may be empty, in which case the engine is saying that it is a fallback choice for all languages for this range, but should not be used if another engine indicates that it is specific for the language for a given code point. An entry in this list of "*" indicates that this engine is specific to all languages for this range.
clearEngineScriptInfoLangs :: MonadIO m => EngineScriptInfo -> m () Source #
Set the value of the “langs
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#langs
getEngineScriptInfoLangs :: MonadIO m => EngineScriptInfo -> m (Maybe Text) Source #
Get the value of the “langs
” field.
When overloading is enabled, this is equivalent to
get
engineScriptInfo #langs
setEngineScriptInfoLangs :: MonadIO m => EngineScriptInfo -> CString -> m () Source #
Set the value of the “langs
” field.
When overloading is enabled, this is equivalent to
set
engineScriptInfo [ #langs:=
value ]
script
a Script
. The value ScriptCommon
has
the special meaning here of "all scripts"
getEngineScriptInfoScript :: MonadIO m => EngineScriptInfo -> m Script Source #
Get the value of the “script
” field.
When overloading is enabled, this is equivalent to
get
engineScriptInfo #script
setEngineScriptInfoScript :: MonadIO m => EngineScriptInfo -> Script -> m () Source #
Set the value of the “script
” field.
When overloading is enabled, this is equivalent to
set
engineScriptInfo [ #script:=
value ]