| 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 |
GI.Rsvg.Enums
Contents
Description
Enumerations
Error
An enumeration representing possible errors
Constructors
| ErrorFailed | the request failed |
| AnotherError Int | Catch-all for unknown values |
Instances
| Enum Error Source # | |
| Show Error Source # | |
| Eq Error Source # | |
| Ord Error Source # | |
| BoxedEnum Error Source # | |
Defined in GI.Rsvg.Enums | |
| TypedObject Error Source # | |
Defined in GI.Rsvg.Enums | |
| GErrorClass Error Source # | |
Defined in GI.Rsvg.Enums Methods gerrorClassDomain :: Error -> Text | |
| HasParentTypes Error Source # | |
Defined in GI.Rsvg.Enums | |
| type ParentTypes Error Source # | |
Defined in GI.Rsvg.Enums | |
catchError :: IO a -> (Error -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type Error. This is a specialized version of catchGErrorJustDomain.
handleError :: (Error -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type Error. This is a specialized version of handleGErrorJustDomain.
Unit
Units for the RsvgLength struct. These have the same meaning as <https://www.w3.org/TR/CSS21/syndata.html#length-units CSS length
units>.
Constructors
| UnitPercent | percentage values; where <literal>1.0</literal> means 100%. |
| UnitPx | pixels |
| UnitEm | em, or the current font size |
| UnitEx | x-height of the current font |
| UnitIn | inches |
| UnitCm | centimeters |
| UnitMm | millimeters |
| UnitPt | points, or 1/72 inch |
| UnitPc | picas, or 1/6 inch (12 points) |
| AnotherUnit Int | Catch-all for unknown values |