Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.Cairo.Structs.Glyph
Contents
Description
No description available in the introspection data.
Synopsis
- newtype Glyph = Glyph (ManagedPtr Glyph)
- newZeroGlyph :: MonadIO m => m Glyph
- getGlyphIndex :: MonadIO m => Glyph -> m CULong
- setGlyphIndex :: MonadIO m => Glyph -> CULong -> m ()
- getGlyphX :: MonadIO m => Glyph -> m Double
- setGlyphX :: MonadIO m => Glyph -> Double -> m ()
- getGlyphY :: MonadIO m => Glyph -> m Double
- setGlyphY :: MonadIO m => Glyph -> Double -> m ()
Exported types
Memory-managed wrapper type.
Constructors
Glyph (ManagedPtr Glyph) |
Instances
Eq Glyph Source # | |
GBoxed Glyph Source # | |
Defined in GI.Cairo.Structs.Glyph | |
ManagedPtrNewtype Glyph Source # | |
Defined in GI.Cairo.Structs.Glyph Methods toManagedPtr :: Glyph -> ManagedPtr Glyph # | |
TypedObject Glyph Source # | |
Defined in GI.Cairo.Structs.Glyph | |
HasParentTypes Glyph Source # | |
Defined in GI.Cairo.Structs.Glyph | |
tag ~ 'AttrSet => Constructible Glyph tag Source # | |
Defined in GI.Cairo.Structs.Glyph | |
IsGValue (Maybe Glyph) Source # | Convert |
Defined in GI.Cairo.Structs.Glyph Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe Glyph -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe Glyph) # | |
type ParentTypes Glyph Source # | |
Defined in GI.Cairo.Structs.Glyph type ParentTypes Glyph = '[] :: [Type] |
newZeroGlyph :: MonadIO m => m Glyph Source #
Construct a Glyph
struct initialized to zero.
Methods
Properties
index
No description available in the introspection data.
getGlyphIndex :: MonadIO m => Glyph -> m CULong Source #
Get the value of the “index
” field.
When overloading is enabled, this is equivalent to
get
glyph #index
setGlyphIndex :: MonadIO m => Glyph -> CULong -> m () Source #
Set the value of the “index
” field.
When overloading is enabled, this is equivalent to
set
glyph [ #index:=
value ]
x
No description available in the introspection data.
getGlyphX :: MonadIO m => Glyph -> m Double Source #
Get the value of the “x
” field.
When overloading is enabled, this is equivalent to
get
glyph #x
setGlyphX :: MonadIO m => Glyph -> Double -> m () Source #
Set the value of the “x
” field.
When overloading is enabled, this is equivalent to
set
glyph [ #x:=
value ]
y
No description available in the introspection data.