Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype Bitmap = Bitmap (ManagedPtr Bitmap)
- class (BoxedPtr o, TypedObject o, IsDescendantOf Bitmap o) => IsBitmap o
- toBitmap :: (MonadIO m, IsBitmap o) => o -> m Bitmap
- bitmapGetSizeFromFile :: (HasCallStack, MonadIO m) => Text -> m (Int32, Int32, Int32)
- bitmapNewFromFile :: (HasCallStack, MonadIO m) => Text -> m Bitmap
Exported types
Memory-managed wrapper type.
Instances
Eq Bitmap Source # | |
BoxedPtr Bitmap Source # | |
Defined in GI.Cogl.Objects.Bitmap boxedPtrCopy :: Bitmap -> IO Bitmap boxedPtrFree :: Bitmap -> IO () | |
ManagedPtrNewtype Bitmap Source # | |
Defined in GI.Cogl.Objects.Bitmap toManagedPtr :: Bitmap -> ManagedPtr Bitmap | |
TypedObject Bitmap Source # | |
Defined in GI.Cogl.Objects.Bitmap | |
HasParentTypes Bitmap Source # | |
Defined in GI.Cogl.Objects.Bitmap | |
type ParentTypes Bitmap Source # | |
Defined in GI.Cogl.Objects.Bitmap |
class (BoxedPtr o, TypedObject o, IsDescendantOf Bitmap o) => IsBitmap o Source #
Instances
(BoxedPtr o, TypedObject o, IsDescendantOf Bitmap o) => IsBitmap o Source # | |
Defined in GI.Cogl.Objects.Bitmap |
Methods
getSizeFromFile
bitmapGetSizeFromFile Source #
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> m (Int32, Int32, Int32) | Returns: |
Parses an image file enough to extract the width and height of the bitmap.
Since: 1.0