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 |
A #PopplerTextAttributes is used to describe text attributes of a range of text
- newtype TextAttributes = TextAttributes (ForeignPtr TextAttributes)
- newZeroTextAttributes :: MonadIO m => m TextAttributes
- noTextAttributes :: Maybe TextAttributes
- data TextAttributesCopyMethodInfo
- textAttributesCopy :: MonadIO m => TextAttributes -> m TextAttributes
- data TextAttributesFreeMethodInfo
- textAttributesFree :: MonadIO m => TextAttributes -> m ()
- textAttributesNew :: MonadIO m => m TextAttributes
- textAttributesReadColor :: TextAttributes -> IO Color
- textAttributesReadEndIndex :: TextAttributes -> IO Int32
- textAttributesReadFontName :: TextAttributes -> IO Text
- textAttributesReadFontSize :: TextAttributes -> IO Double
- textAttributesReadIsUnderlined :: TextAttributes -> IO Bool
- textAttributesReadStartIndex :: TextAttributes -> IO Int32
Exported types
newtype TextAttributes Source
BoxedObject TextAttributes Source | |
((~) * info (ResolveTextAttributesMethod t TextAttributes), MethodInfo * info TextAttributes p) => IsLabel t (TextAttributes -> p) Source | |
((~) * info (ResolveTextAttributesMethod t TextAttributes), MethodInfo * info TextAttributes p) => IsLabelProxy t (TextAttributes -> p) Source | |
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) TextAttributesFreeMethodInfo TextAttributes signature Source | |
((~) (TYPE Lifted) signature (m TextAttributes), MonadIO m) => MethodInfo (TYPE Lifted) TextAttributesCopyMethodInfo TextAttributes signature Source | |
newZeroTextAttributes :: MonadIO m => m TextAttributes Source
Construct a TextAttributes
struct initialized to zero.
Methods
textAttributesCopy
data TextAttributesCopyMethodInfo Source
((~) (TYPE Lifted) signature (m TextAttributes), MonadIO m) => MethodInfo (TYPE Lifted) TextAttributesCopyMethodInfo TextAttributes signature Source | |
textAttributesCopy :: MonadIO m => TextAttributes -> m TextAttributes Source
textAttributesFree
data TextAttributesFreeMethodInfo Source
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) TextAttributesFreeMethodInfo TextAttributes signature Source | |
textAttributesFree :: MonadIO m => TextAttributes -> m () Source
textAttributesNew
textAttributesNew :: MonadIO m => m TextAttributes Source