gi-gsk-4.0.9: Gsk bindings

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.Gsk.Enums

Contents

- Enumerations
  - BlendMode
  - Corner
  - FillRule
  - GLUniformType
  - LineCap
  - LineJoin
  - MaskMode
  - PathDirection
  - PathIntersection
  - PathOperation
  - PorterDuff
  - RenderNodeType
  - ScalingFilter
  - SerializationError
  - TransformCategory

Description

Synopsis

- data BlendMode
  - = BlendModeDefault
  - | BlendModeMultiply
  - | BlendModeScreen
  - | BlendModeOverlay
  - | BlendModeDarken
  - | BlendModeLighten
  - | BlendModeColorDodge
  - | BlendModeColorBurn
  - | BlendModeHardLight
  - | BlendModeSoftLight
  - | BlendModeDifference
  - | BlendModeExclusion
  - | BlendModeColor
  - | BlendModeHue
  - | BlendModeSaturation
  - | BlendModeLuminosity
  - | AnotherBlendMode Int
- data Corner
  - = CornerTopLeft
  - | CornerTopRight
  - | CornerBottomRight
  - | CornerBottomLeft
  - | AnotherCorner Int
- data FillRule
  - = FillRuleWinding
  - | FillRuleEvenOdd
  - | AnotherFillRule Int
- data GLUniformType
  - = GLUniformTypeNone
  - | GLUniformTypeFloat
  - | GLUniformTypeInt
  - | GLUniformTypeUint
  - | GLUniformTypeBool
  - | GLUniformTypeVec2
  - | GLUniformTypeVec3
  - | GLUniformTypeVec4
  - | AnotherGLUniformType Int
- data LineCap
  - = LineCapButt
  - | LineCapRound
  - | LineCapSquare
  - | AnotherLineCap Int
- data LineJoin
  - = LineJoinMiter
  - | LineJoinRound
  - | LineJoinBevel
  - | AnotherLineJoin Int
- data MaskMode
  - = MaskModeAlpha
  - | MaskModeInvertedAlpha
  - | MaskModeLuminance
  - | MaskModeInvertedLuminance
  - | AnotherMaskMode Int
- data PathDirection
  - = PathDirectionFromStart
  - | PathDirectionToStart
  - | PathDirectionToEnd
  - | PathDirectionFromEnd
  - | AnotherPathDirection Int
- data PathIntersection
  - = PathIntersectionNone
  - | PathIntersectionNormal
  - | PathIntersectionStart
  - | PathIntersectionEnd
  - | AnotherPathIntersection Int
- data PathOperation
  - = PathOperationMove
  - | PathOperationClose
  - | PathOperationLine
  - | PathOperationQuad
  - | PathOperationCubic
  - | PathOperationConic
  - | AnotherPathOperation Int
- data PorterDuff
  - = PorterDuffSource
  - | PorterDuffDest
  - | PorterDuffSourceOverDest
  - | PorterDuffDestOverSource
  - | PorterDuffSourceInDest
  - | PorterDuffDestInSource
  - | PorterDuffSourceOutDest
  - | PorterDuffDestOutSource
  - | PorterDuffSourceAtopDest
  - | PorterDuffDestAtopSource
  - | PorterDuffXor
  - | PorterDuffClear
  - | AnotherPorterDuff Int
- data RenderNodeType
  - = RenderNodeTypeNotARenderNode
  - | RenderNodeTypeContainerNode
  - | RenderNodeTypeCairoNode
  - | RenderNodeTypeColorNode
  - | RenderNodeTypeLinearGradientNode
  - | RenderNodeTypeRepeatingLinearGradientNode
  - | RenderNodeTypeRadialGradientNode
  - | RenderNodeTypeRepeatingRadialGradientNode
  - | RenderNodeTypeConicGradientNode
  - | RenderNodeTypeBorderNode
  - | RenderNodeTypeTextureNode
  - | RenderNodeTypeInsetShadowNode
  - | RenderNodeTypeOutsetShadowNode
  - | RenderNodeTypeTransformNode
  - | RenderNodeTypeOpacityNode
  - | RenderNodeTypeColorMatrixNode
  - | RenderNodeTypeRepeatNode
  - | RenderNodeTypeClipNode
  - | RenderNodeTypeRoundedClipNode
  - | RenderNodeTypeShadowNode
  - | RenderNodeTypeBlendNode
  - | RenderNodeTypeCrossFadeNode
  - | RenderNodeTypeTextNode
  - | RenderNodeTypeBlurNode
  - | RenderNodeTypeDebugNode
  - | RenderNodeTypeGlShaderNode
  - | RenderNodeTypeTextureScaleNode
  - | RenderNodeTypeMaskNode
  - | RenderNodeTypeFillNode
  - | RenderNodeTypeStrokeNode
  - | RenderNodeTypeSubsurfaceNode
  - | RenderNodeTypeComponentTransferNode
  - | RenderNodeTypeCopyNode
  - | RenderNodeTypePasteNode
  - | RenderNodeTypeCompositeNode
  - | RenderNodeTypeIsolationNode
  - | RenderNodeTypeDisplacementNode
  - | RenderNodeTypeArithmeticNode
  - | AnotherRenderNodeType Int
- data ScalingFilter
  - = ScalingFilterLinear
  - | ScalingFilterNearest
  - | ScalingFilterTrilinear
  - | AnotherScalingFilter Int
- data SerializationError
  - = SerializationErrorUnsupportedFormat
  - | SerializationErrorUnsupportedVersion
  - | SerializationErrorInvalidData
  - | AnotherSerializationError Int
- catchSerializationError :: IO a -> (SerializationError -> GErrorMessage -> IO a) -> IO a
- handleSerializationError :: (SerializationError -> GErrorMessage -> IO a) -> IO a -> IO a
- data TransformCategory
  - = TransformCategoryUnknown
  - | TransformCategoryAny
  - | TransformCategory3d
  - | TransformCategory2d
  - | TransformCategory2dAffine
  - | TransformCategory2dTranslate
  - | TransformCategoryIdentity
  - | AnotherTransformCategory Int

# Enumerations

## BlendMode

data BlendMode Source #

The blend modes available for render nodes.

The implementation of each blend mode is deferred to the rendering pipeline.

See <https://www.w3.org/TR/compositing-1/`blending`> for more information on blending and blend modes.

Constructors

BlendModeDefault | The default blend mode, which specifies no blending
BlendModeMultiply | The source color is multiplied by the destination and replaces the destination
BlendModeScreen | Multiplies the complements of the destination and source color values, then complements the result.
BlendModeOverlay | Multiplies or screens the colors, depending on the destination color value. This is the inverse of hard-list
BlendModeDarken | Selects the darker of the destination and source colors
BlendModeLighten | Selects the lighter of the destination and source colors
BlendModeColorDodge | Brightens the destination color to reflect the source color
BlendModeColorBurn | Darkens the destination color to reflect the source color
BlendModeHardLight | Multiplies or screens the colors, depending on the source color value
BlendModeSoftLight | Darkens or lightens the colors, depending on the source color value
BlendModeDifference | Subtracts the darker of the two constituent colors from the lighter color
BlendModeExclusion | Produces an effect similar to that of the difference mode but lower in contrast
BlendModeColor | Creates a color with the hue and saturation of the source color and the luminosity of the destination color
BlendModeHue | Creates a color with the hue of the source color and the saturation and luminosity of the destination color
BlendModeSaturation | Creates a color with the saturation of the source color and the hue and luminosity of the destination color
BlendModeLuminosity | Creates a color with the luminosity of the source color and the hue and saturation of the destination color
AnotherBlendMode Int | Catch-all for unknown values

#### Instances

Instances details

Enum BlendMode Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

succ :: BlendMode -> BlendMode Source #

pred :: BlendMode -> BlendMode Source #

toEnum :: Int -> BlendMode Source #

fromEnum :: BlendMode -> Int Source #

enumFrom :: BlendMode -> [BlendMode] Source #

enumFromThen :: BlendMode -> BlendMode -> [BlendMode] Source #

enumFromTo :: BlendMode -> BlendMode -> [BlendMode] Source #

enumFromThenTo :: BlendMode -> BlendMode -> BlendMode -> [BlendMode] Source #

Show BlendMode Source # |
Instance details Defined in GI.Gsk.Enums Methods showsPrec :: Int -> BlendMode -> ShowS Source # show :: BlendMode -> String Source # showList :: [BlendMode] -> ShowS Source #
Eq BlendMode Source # |
Instance details Defined in GI.Gsk.Enums Methods (==) :: BlendMode -> BlendMode -> Bool Source # (/=) :: BlendMode -> BlendMode -> Bool Source #
Ord BlendMode Source # |
Instance details Defined in GI.Gsk.Enums Methods compare :: BlendMode -> BlendMode -> Ordering Source # (<) :: BlendMode -> BlendMode -> Bool Source # (<=) :: BlendMode -> BlendMode -> Bool Source # (>) :: BlendMode -> BlendMode -> Bool Source # (>=) :: BlendMode -> BlendMode -> Bool Source # max :: BlendMode -> BlendMode -> BlendMode Source # min :: BlendMode -> BlendMode -> BlendMode Source #
BoxedEnum BlendMode Source # |
Instance details Defined in GI.Gsk.Enums
TypedObject BlendMode Source # |
Instance details Defined in GI.Gsk.Enums Methods glibType :: IO GType Source #
HasParentTypes BlendMode Source # |
Instance details Defined in GI.Gsk.Enums
type ParentTypes BlendMode Source # |
Instance details Defined in GI.Gsk.Enums type ParentTypes BlendMode = '[] :: [Type]

## Corner

data Corner Source #

The corner indices used by `GskRoundedRect`.

Constructors

CornerTopLeft | The top left corner
CornerTopRight | The top right corner
CornerBottomRight | The bottom right corner
CornerBottomLeft | The bottom left corner
AnotherCorner Int | Catch-all for unknown values

#### Instances

Instances details

Enum Corner Source # |
Instance details Defined in GI.Gsk.Enums Methods succ :: Corner -> Corner Source # pred :: Corner -> Corner Source # toEnum :: Int -> Corner Source # fromEnum :: Corner -> Int Source # enumFrom :: Corner -> [Corner] Source # enumFromThen :: Corner -> Corner -> [Corner] Source # enumFromTo :: Corner -> Corner -> [Corner] Source # enumFromThenTo :: Corner -> Corner -> Corner -> [Corner] Source #
Show Corner Source # |
Instance details Defined in GI.Gsk.Enums Methods showsPrec :: Int -> Corner -> ShowS Source # show :: Corner -> String Source # showList :: [Corner] -> ShowS Source #
Eq Corner Source # |
Instance details Defined in GI.Gsk.Enums Methods (==) :: Corner -> Corner -> Bool Source # (/=) :: Corner -> Corner -> Bool Source #
Ord Corner Source # |
Instance details Defined in GI.Gsk.Enums Methods compare :: Corner -> Corner -> Ordering Source # (<) :: Corner -> Corner -> Bool Source # (<=) :: Corner -> Corner -> Bool Source # (>) :: Corner -> Corner -> Bool Source # (>=) :: Corner -> Corner -> Bool Source # max :: Corner -> Corner -> Corner Source # min :: Corner -> Corner -> Corner Source #
BoxedEnum Corner Source # |
Instance details Defined in GI.Gsk.Enums
TypedObject Corner Source # |
Instance details Defined in GI.Gsk.Enums Methods glibType :: IO GType Source #
HasParentTypes Corner Source # |
Instance details Defined in GI.Gsk.Enums
type ParentTypes Corner Source # |
Instance details Defined in GI.Gsk.Enums type ParentTypes Corner = '[] :: [Type]

## FillRule

data FillRule Source #

Specifies how paths are filled.

Whether or not a point is included in the fill is determined by taking a ray from that point to infinity and looking at intersections with the path. The ray can be in any direction, as long as it doesn't pass through the end point of a segment or have a tricky intersection such as intersecting tangent to the path.

(Note that filling is not actually implemented in this way. This is just a description of the rule that is applied.)

New entries may be added in future versions.

Since: 4.14

Constructors

FillRuleWinding | If the path crosses the ray from left-to-right, counts +1. If the path crosses the ray from right to left, counts -1. (Left and right are determined from the perspective of looking along the ray from the starting point.) If the total count is non-zero, the point will be filled.
FillRuleEvenOdd | Counts the total number of intersections, without regard to the orientation of the contour. If the total number of intersections is odd, the point will be filled.
AnotherFillRule Int | Catch-all for unknown values

#### Instances

Instances details

Enum FillRule Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

succ :: FillRule -> FillRule Source #

pred :: FillRule -> FillRule Source #

toEnum :: Int -> FillRule Source #

fromEnum :: FillRule -> Int Source #

enumFrom :: FillRule -> [FillRule] Source #

enumFromThen :: FillRule -> FillRule -> [FillRule] Source #

enumFromTo :: FillRule -> FillRule -> [FillRule] Source #

enumFromThenTo :: FillRule -> FillRule -> FillRule -> [FillRule] Source #

Show FillRule Source # |
Instance details Defined in GI.Gsk.Enums Methods showsPrec :: Int -> FillRule -> ShowS Source # show :: FillRule -> String Source # showList :: [FillRule] -> ShowS Source #
Eq FillRule Source # |
Instance details Defined in GI.Gsk.Enums Methods (==) :: FillRule -> FillRule -> Bool Source # (/=) :: FillRule -> FillRule -> Bool Source #
Ord FillRule Source # |
Instance details Defined in GI.Gsk.Enums Methods compare :: FillRule -> FillRule -> Ordering Source # (<) :: FillRule -> FillRule -> Bool Source # (<=) :: FillRule -> FillRule -> Bool Source # (>) :: FillRule -> FillRule -> Bool Source # (>=) :: FillRule -> FillRule -> Bool Source # max :: FillRule -> FillRule -> FillRule Source # min :: FillRule -> FillRule -> FillRule Source #
BoxedEnum FillRule Source # |
Instance details Defined in GI.Gsk.Enums
TypedObject FillRule Source # |
Instance details Defined in GI.Gsk.Enums Methods glibType :: IO GType Source #
HasParentTypes FillRule Source # |
Instance details Defined in GI.Gsk.Enums
type ParentTypes FillRule Source # |
Instance details Defined in GI.Gsk.Enums type ParentTypes FillRule = '[] :: [Type]

## GLUniformType

data GLUniformType Source #

Deprecated: (Since version 4.16)

Defines the types of the uniforms that `GskGLShaders` declare.

It defines both what the type is called in the GLSL shader code, and what the corresponding C type is on the Gtk side.

Constructors

GLUniformTypeNone | No type, used for uninitialized or unspecified values.
GLUniformTypeFloat | A float uniform
GLUniformTypeInt | A GLSL int / gint32 uniform
GLUniformTypeUint | A GLSL uint / guint32 uniform
GLUniformTypeBool | A GLSL bool / gboolean uniform
GLUniformTypeVec2 | A GLSL vec2 / graphene_vec2_t uniform
GLUniformTypeVec3 | A GLSL vec3 / graphene_vec3_t uniform
GLUniformTypeVec4 | A GLSL vec4 / graphene_vec4_t uniform
AnotherGLUniformType Int | Catch-all for unknown values

#### Instances

Instances details

Enum GLUniformType Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

succ :: GLUniformType -> GLUniformType Source #

pred :: GLUniformType -> GLUniformType Source #

toEnum :: Int -> GLUniformType Source #

fromEnum :: GLUniformType -> Int Source #

enumFrom :: GLUniformType -> [GLUniformType] Source #

enumFromThen :: GLUniformType -> GLUniformType -> [GLUniformType] Source #

enumFromTo :: GLUniformType -> GLUniformType -> [GLUniformType] Source #

enumFromThenTo :: GLUniformType -> GLUniformType -> GLUniformType -> [GLUniformType] Source #

Show GLUniformType Source # |
Instance details Defined in GI.Gsk.Enums Methods showsPrec :: Int -> GLUniformType -> ShowS Source # show :: GLUniformType -> String Source # showList :: [GLUniformType] -> ShowS Source #
Eq GLUniformType Source # |
Instance details Defined in GI.Gsk.Enums Methods (==) :: GLUniformType -> GLUniformType -> Bool Source # (/=) :: GLUniformType -> GLUniformType -> Bool Source #
Ord GLUniformType Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

compare :: GLUniformType -> GLUniformType -> Ordering Source #

(<) :: GLUniformType -> GLUniformType -> Bool Source #

(<=) :: GLUniformType -> GLUniformType -> Bool Source #

(>) :: GLUniformType -> GLUniformType -> Bool Source #

(>=) :: GLUniformType -> GLUniformType -> Bool Source #

max :: GLUniformType -> GLUniformType -> GLUniformType Source #

min :: GLUniformType -> GLUniformType -> GLUniformType Source #

BoxedEnum GLUniformType Source # |
Instance details Defined in GI.Gsk.Enums
TypedObject GLUniformType Source # |
Instance details Defined in GI.Gsk.Enums Methods glibType :: IO GType Source #
HasParentTypes GLUniformType Source # |
Instance details Defined in GI.Gsk.Enums
type ParentTypes GLUniformType Source # |
Instance details Defined in GI.Gsk.Enums type ParentTypes GLUniformType = '[] :: [Type]

## LineCap

data LineCap Source #

Specifies how to render the start and end points of contours or dashes when stroking.

The default line cap style is `GSK_LINE_CAP_BUTT`.

New entries may be added in future versions.

<figure> <picture> <source srcset="caps-dark.png" media="(prefers-color-scheme: dark)"> <img alt="Line Cap Styles" src="caps-light.png"> </picture> <figcaption>GSK_LINE_CAP_BUTT, GSK_LINE_CAP_ROUND, GSK_LINE_CAP_SQUARE</figcaption> </figure>

Since: 4.14

Constructors

LineCapButt | Start and stop the line exactly at the start and end point
LineCapRound | Use a round ending, the center of the circle is the start or end point
LineCapSquare | use squared ending, the center of the square is the start or end point
AnotherLineCap Int | Catch-all for unknown values

#### Instances

Instances details

Enum LineCap Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

succ :: LineCap -> LineCap Source #

pred :: LineCap -> LineCap Source #

toEnum :: Int -> LineCap Source #

fromEnum :: LineCap -> Int Source #

enumFrom :: LineCap -> [LineCap] Source #

enumFromThen :: LineCap -> LineCap -> [LineCap] Source #

enumFromTo :: LineCap -> LineCap -> [LineCap] Source #

enumFromThenTo :: LineCap -> LineCap -> LineCap -> [LineCap] Source #

Show LineCap Source # |
Instance details Defined in GI.Gsk.Enums Methods showsPrec :: Int -> LineCap -> ShowS Source # show :: LineCap -> String Source # showList :: [LineCap] -> ShowS Source #
Eq LineCap Source # |
Instance details Defined in GI.Gsk.Enums Methods (==) :: LineCap -> LineCap -> Bool Source # (/=) :: LineCap -> LineCap -> Bool Source #
Ord LineCap Source # |
Instance details Defined in GI.Gsk.Enums Methods compare :: LineCap -> LineCap -> Ordering Source # (<) :: LineCap -> LineCap -> Bool Source # (<=) :: LineCap -> LineCap -> Bool Source # (>) :: LineCap -> LineCap -> Bool Source # (>=) :: LineCap -> LineCap -> Bool Source # max :: LineCap -> LineCap -> LineCap Source # min :: LineCap -> LineCap -> LineCap Source #
BoxedEnum LineCap Source # |
Instance details Defined in GI.Gsk.Enums
TypedObject LineCap Source # |
Instance details Defined in GI.Gsk.Enums Methods glibType :: IO GType Source #
HasParentTypes LineCap Source # |
Instance details Defined in GI.Gsk.Enums
type ParentTypes LineCap Source # |
Instance details Defined in GI.Gsk.Enums type ParentTypes LineCap = '[] :: [Type]

## LineJoin

data LineJoin Source #

Specifies how to render the junction of two lines when stroking.

The default line join style is `GSK_LINE_JOIN_MITER`.

New entries may be added in future versions.

<figure> <picture> <source srcset="join-dark.png" media="(prefers-color-scheme: dark)"> <img alt="Line Join Styles" src="join-light.png"> </picture> <figcaption>GSK_LINE_JOINT_MITER, GSK_LINE_JOINT_ROUND, GSK_LINE_JOIN_BEVEL</figcaption> </figure>

Since: 4.14

Constructors

LineJoinMiter | Use a sharp angled corner
LineJoinRound | Use a round join, the center of the circle is the join point
LineJoinBevel | use a cut-off join, the join is cut off at half the line width from the joint point
AnotherLineJoin Int | Catch-all for unknown values

#### Instances

Instances details

Enum LineJoin Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

succ :: LineJoin -> LineJoin Source #

pred :: LineJoin -> LineJoin Source #

toEnum :: Int -> LineJoin Source #

fromEnum :: LineJoin -> Int Source #

enumFrom :: LineJoin -> [LineJoin] Source #

enumFromThen :: LineJoin -> LineJoin -> [LineJoin] Source #

enumFromTo :: LineJoin -> LineJoin -> [LineJoin] Source #

enumFromThenTo :: LineJoin -> LineJoin -> LineJoin -> [LineJoin] Source #

Show LineJoin Source # |
Instance details Defined in GI.Gsk.Enums Methods showsPrec :: Int -> LineJoin -> ShowS Source # show :: LineJoin -> String Source # showList :: [LineJoin] -> ShowS Source #
Eq LineJoin Source # |
Instance details Defined in GI.Gsk.Enums Methods (==) :: LineJoin -> LineJoin -> Bool Source # (/=) :: LineJoin -> LineJoin -> Bool Source #
Ord LineJoin Source # |
Instance details Defined in GI.Gsk.Enums Methods compare :: LineJoin -> LineJoin -> Ordering Source # (<) :: LineJoin -> LineJoin -> Bool Source # (<=) :: LineJoin -> LineJoin -> Bool Source # (>) :: LineJoin -> LineJoin -> Bool Source # (>=) :: LineJoin -> LineJoin -> Bool Source # max :: LineJoin -> LineJoin -> LineJoin Source # min :: LineJoin -> LineJoin -> LineJoin Source #
BoxedEnum LineJoin Source # |
Instance details Defined in GI.Gsk.Enums
TypedObject LineJoin Source # |
Instance details Defined in GI.Gsk.Enums Methods glibType :: IO GType Source #
HasParentTypes LineJoin Source # |
Instance details Defined in GI.Gsk.Enums
type ParentTypes LineJoin Source # |
Instance details Defined in GI.Gsk.Enums type ParentTypes LineJoin = '[] :: [Type]

## MaskMode

data MaskMode Source #

The mask modes available for mask nodes.

Since: 4.10

Constructors

MaskModeAlpha | Use the alpha channel of the mask
MaskModeInvertedAlpha | Use the inverted alpha channel of the mask
MaskModeLuminance | Use the luminance of the mask, multiplied by mask alpha
MaskModeInvertedLuminance | Use the inverted luminance of the mask, multiplied by mask alpha
AnotherMaskMode Int | Catch-all for unknown values

#### Instances

Instances details

Enum MaskMode Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

succ :: MaskMode -> MaskMode Source #

pred :: MaskMode -> MaskMode Source #

toEnum :: Int -> MaskMode Source #

fromEnum :: MaskMode -> Int Source #

enumFrom :: MaskMode -> [MaskMode] Source #

enumFromThen :: MaskMode -> MaskMode -> [MaskMode] Source #

enumFromTo :: MaskMode -> MaskMode -> [MaskMode] Source #

enumFromThenTo :: MaskMode -> MaskMode -> MaskMode -> [MaskMode] Source #

Show MaskMode Source # |
Instance details Defined in GI.Gsk.Enums Methods showsPrec :: Int -> MaskMode -> ShowS Source # show :: MaskMode -> String Source # showList :: [MaskMode] -> ShowS Source #
Eq MaskMode Source # |
Instance details Defined in GI.Gsk.Enums Methods (==) :: MaskMode -> MaskMode -> Bool Source # (/=) :: MaskMode -> MaskMode -> Bool Source #
Ord MaskMode Source # |
Instance details Defined in GI.Gsk.Enums Methods compare :: MaskMode -> MaskMode -> Ordering Source # (<) :: MaskMode -> MaskMode -> Bool Source # (<=) :: MaskMode -> MaskMode -> Bool Source # (>) :: MaskMode -> MaskMode -> Bool Source # (>=) :: MaskMode -> MaskMode -> Bool Source # max :: MaskMode -> MaskMode -> MaskMode Source # min :: MaskMode -> MaskMode -> MaskMode Source #
BoxedEnum MaskMode Source # |
Instance details Defined in GI.Gsk.Enums
TypedObject MaskMode Source # |
Instance details Defined in GI.Gsk.Enums Methods glibType :: IO GType Source #
HasParentTypes MaskMode Source # |
Instance details Defined in GI.Gsk.Enums
type ParentTypes MaskMode Source # |
Instance details Defined in GI.Gsk.Enums type ParentTypes MaskMode = '[] :: [Type]

## PathDirection

data PathDirection Source #

Used to pick one of the four tangents at a given point on the path.

Note that the directions for `gSKPATHFROMSTART`/`gSKPATHTOEND` and `gSKPATHTOSTART`/`gSKPATHFROMEND` will coincide for smooth points. Only sharp turns will exhibit four different directions.

<picture> <source srcset="directions-dark.png" media="(prefers-color-scheme: dark)"> <img alt="Path Tangents" src="directions-light.png"> </picture>

Since: 4.14

Constructors

PathDirectionFromStart | The tangent in path direction of the incoming side of the path
PathDirectionToStart | The tangent against path direction of the incoming side of the path
PathDirectionToEnd | The tangent in path direction of the outgoing side of the path
PathDirectionFromEnd | The tangent against path direction of the outgoing side of the path
AnotherPathDirection Int | Catch-all for unknown values

#### Instances

Instances details

Enum PathDirection Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

succ :: PathDirection -> PathDirection Source #

pred :: PathDirection -> PathDirection Source #

toEnum :: Int -> PathDirection Source #

fromEnum :: PathDirection -> Int Source #

enumFrom :: PathDirection -> [PathDirection] Source #

enumFromThen :: PathDirection -> PathDirection -> [PathDirection] Source #

enumFromTo :: PathDirection -> PathDirection -> [PathDirection] Source #

enumFromThenTo :: PathDirection -> PathDirection -> PathDirection -> [PathDirection] Source #

Show PathDirection Source # |
Instance details Defined in GI.Gsk.Enums Methods showsPrec :: Int -> PathDirection -> ShowS Source # show :: PathDirection -> String Source # showList :: [PathDirection] -> ShowS Source #
Eq PathDirection Source # |
Instance details Defined in GI.Gsk.Enums Methods (==) :: PathDirection -> PathDirection -> Bool Source # (/=) :: PathDirection -> PathDirection -> Bool Source #
Ord PathDirection Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

compare :: PathDirection -> PathDirection -> Ordering Source #

(<) :: PathDirection -> PathDirection -> Bool Source #

(<=) :: PathDirection -> PathDirection -> Bool Source #

(>) :: PathDirection -> PathDirection -> Bool Source #

(>=) :: PathDirection -> PathDirection -> Bool Source #

max :: PathDirection -> PathDirection -> PathDirection Source #

min :: PathDirection -> PathDirection -> PathDirection Source #

BoxedEnum PathDirection Source # |
Instance details Defined in GI.Gsk.Enums
TypedObject PathDirection Source # |
Instance details Defined in GI.Gsk.Enums Methods glibType :: IO GType Source #
HasParentTypes PathDirection Source # |
Instance details Defined in GI.Gsk.Enums
type ParentTypes PathDirection Source # |
Instance details Defined in GI.Gsk.Enums type ParentTypes PathDirection = '[] :: [Type]

## PathIntersection

data PathIntersection Source #

The values of this enumeration classify intersections between paths.

Since: 4.20

Constructors

PathIntersectionNone | No intersection
PathIntersectionNormal | A normal intersection, where the two paths cross each other
PathIntersectionStart | The start of a segment where the two paths coincide
PathIntersectionEnd | The end of a segment where the two paths coincide
AnotherPathIntersection Int | Catch-all for unknown values

#### Instances

Instances details

Enum PathIntersection Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

succ :: PathIntersection -> PathIntersection Source #

pred :: PathIntersection -> PathIntersection Source #

toEnum :: Int -> PathIntersection Source #

fromEnum :: PathIntersection -> Int Source #

enumFrom :: PathIntersection -> [PathIntersection] Source #

enumFromThen :: PathIntersection -> PathIntersection -> [PathIntersection] Source #

enumFromTo :: PathIntersection -> PathIntersection -> [PathIntersection] Source #

enumFromThenTo :: PathIntersection -> PathIntersection -> PathIntersection -> [PathIntersection] Source #

Show PathIntersection Source # |
Instance details Defined in GI.Gsk.Enums Methods showsPrec :: Int -> PathIntersection -> ShowS Source # show :: PathIntersection -> String Source # showList :: [PathIntersection] -> ShowS Source #
Eq PathIntersection Source # |
Instance details Defined in GI.Gsk.Enums Methods (==) :: PathIntersection -> PathIntersection -> Bool Source # (/=) :: PathIntersection -> PathIntersection -> Bool Source #
Ord PathIntersection Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

compare :: PathIntersection -> PathIntersection -> Ordering Source #

(<) :: PathIntersection -> PathIntersection -> Bool Source #

(<=) :: PathIntersection -> PathIntersection -> Bool Source #

(>) :: PathIntersection -> PathIntersection -> Bool Source #

(>=) :: PathIntersection -> PathIntersection -> Bool Source #

max :: PathIntersection -> PathIntersection -> PathIntersection Source #

min :: PathIntersection -> PathIntersection -> PathIntersection Source #

BoxedEnum PathIntersection Source # |
Instance details Defined in GI.Gsk.Enums
TypedObject PathIntersection Source # |
Instance details Defined in GI.Gsk.Enums Methods glibType :: IO GType Source #
HasParentTypes PathIntersection Source # |
Instance details Defined in GI.Gsk.Enums
type ParentTypes PathIntersection Source # |
Instance details Defined in GI.Gsk.Enums type ParentTypes PathIntersection = '[] :: [Type]

## PathOperation

data PathOperation Source #

Describes the segments of a `GskPath`.

More values may be added in the future.

Since: 4.14

Constructors

PathOperationMove | A move-to operation, with 1 point describing the target point.
PathOperationClose | A close operation ending the current contour with a line back to the starting point. Two points describe the start and end of the line.
PathOperationLine | A line-to operation, with 2 points describing the start and end point of a straight line.
PathOperationQuad | A curve-to operation describing a quadratic Bézier curve with 3 points describing the start point, the control point and the end point of the curve.
PathOperationCubic | A curve-to operation describing a cubic Bézier curve with 4 points describing the start point, the two control points and the end point of the curve.
PathOperationConic | A rational quadratic Bézier curve with 3 points describing the start point, control point and end point of the curve. A weight for the curve will be passed, too.
AnotherPathOperation Int | Catch-all for unknown values

#### Instances

Instances details

Enum PathOperation Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

succ :: PathOperation -> PathOperation Source #

pred :: PathOperation -> PathOperation Source #

toEnum :: Int -> PathOperation Source #

fromEnum :: PathOperation -> Int Source #

enumFrom :: PathOperation -> [PathOperation] Source #

enumFromThen :: PathOperation -> PathOperation -> [PathOperation] Source #

enumFromTo :: PathOperation -> PathOperation -> [PathOperation] Source #

enumFromThenTo :: PathOperation -> PathOperation -> PathOperation -> [PathOperation] Source #

Show PathOperation Source # |
Instance details Defined in GI.Gsk.Enums Methods showsPrec :: Int -> PathOperation -> ShowS Source # show :: PathOperation -> String Source # showList :: [PathOperation] -> ShowS Source #
Eq PathOperation Source # |
Instance details Defined in GI.Gsk.Enums Methods (==) :: PathOperation -> PathOperation -> Bool Source # (/=) :: PathOperation -> PathOperation -> Bool Source #
Ord PathOperation Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

compare :: PathOperation -> PathOperation -> Ordering Source #

(<) :: PathOperation -> PathOperation -> Bool Source #

(<=) :: PathOperation -> PathOperation -> Bool Source #

(>) :: PathOperation -> PathOperation -> Bool Source #

(>=) :: PathOperation -> PathOperation -> Bool Source #

max :: PathOperation -> PathOperation -> PathOperation Source #

min :: PathOperation -> PathOperation -> PathOperation Source #

BoxedEnum PathOperation Source # |
Instance details Defined in GI.Gsk.Enums
TypedObject PathOperation Source # |
Instance details Defined in GI.Gsk.Enums Methods glibType :: IO GType Source #
HasParentTypes PathOperation Source # |
Instance details Defined in GI.Gsk.Enums
type ParentTypes PathOperation Source # |
Instance details Defined in GI.Gsk.Enums type ParentTypes PathOperation = '[] :: [Type]

## PorterDuff

data PorterDuff Source #

GSK_PORTER_DUFF_SOURCE: GSK_PORTER_DUFF_DEST: GSK_PORTER_DUFF_SOURCE_OVER_DEST: GSK_PORTER_DUFF_DEST_OVER_SOURCE: GSK_PORTER_DUFF_SOURCE_IN_DEST: GSK_PORTER_DUFF_DEST_IN_SOURCE: GSK_PORTER_DUFF_SOURCE_OUT_DEST: GSK_PORTER_DUFF_DEST_OUT_SOURCE: GSK_PORTER_DUFF_SOURCE_ATOP_DEST: GSK_PORTER_DUFF_DEST_ATOP_SOURCE: GSK_PORTER_DUFF_XOR: GSK_PORTER_DUFF_CLEAR: The 12 compositing modes defined by the seminal paper by Thomas Porter and Tom Duff.

They are used in SVG, PDF and in Cairo with `cairo_operator_t`.

Since: 4.22

Constructors

PorterDuffSource | No description available in the introspection data.
PorterDuffDest | No description available in the introspection data.
PorterDuffSourceOverDest | No description available in the introspection data.
PorterDuffDestOverSource | No description available in the introspection data.
PorterDuffSourceInDest | No description available in the introspection data.
PorterDuffDestInSource | No description available in the introspection data.
PorterDuffSourceOutDest | No description available in the introspection data.
PorterDuffDestOutSource | No description available in the introspection data.
PorterDuffSourceAtopDest | No description available in the introspection data.
PorterDuffDestAtopSource | No description available in the introspection data.
PorterDuffXor | No description available in the introspection data.
PorterDuffClear | No description available in the introspection data.
AnotherPorterDuff Int | Catch-all for unknown values

#### Instances

Instances details

Enum PorterDuff Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

succ :: PorterDuff -> PorterDuff Source #

pred :: PorterDuff -> PorterDuff Source #

toEnum :: Int -> PorterDuff Source #

fromEnum :: PorterDuff -> Int Source #

enumFrom :: PorterDuff -> [PorterDuff] Source #

enumFromThen :: PorterDuff -> PorterDuff -> [PorterDuff] Source #

enumFromTo :: PorterDuff -> PorterDuff -> [PorterDuff] Source #

enumFromThenTo :: PorterDuff -> PorterDuff -> PorterDuff -> [PorterDuff] Source #

Show PorterDuff Source # |
Instance details Defined in GI.Gsk.Enums Methods showsPrec :: Int -> PorterDuff -> ShowS Source # show :: PorterDuff -> String Source # showList :: [PorterDuff] -> ShowS Source #
Eq PorterDuff Source # |
Instance details Defined in GI.Gsk.Enums Methods (==) :: PorterDuff -> PorterDuff -> Bool Source # (/=) :: PorterDuff -> PorterDuff -> Bool Source #
Ord PorterDuff Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

compare :: PorterDuff -> PorterDuff -> Ordering Source #

(<) :: PorterDuff -> PorterDuff -> Bool Source #

(<=) :: PorterDuff -> PorterDuff -> Bool Source #

(>) :: PorterDuff -> PorterDuff -> Bool Source #

(>=) :: PorterDuff -> PorterDuff -> Bool Source #

max :: PorterDuff -> PorterDuff -> PorterDuff Source #

min :: PorterDuff -> PorterDuff -> PorterDuff Source #

BoxedEnum PorterDuff Source # |
Instance details Defined in GI.Gsk.Enums
TypedObject PorterDuff Source # |
Instance details Defined in GI.Gsk.Enums Methods glibType :: IO GType Source #
HasParentTypes PorterDuff Source # |
Instance details Defined in GI.Gsk.Enums
type ParentTypes PorterDuff Source # |
Instance details Defined in GI.Gsk.Enums type ParentTypes PorterDuff = '[] :: [Type]

## RenderNodeType

data RenderNodeType Source #

The type of a node determines what the node is rendering.

Constructors

RenderNodeTypeNotARenderNode | Error type. No node will ever have this type.
RenderNodeTypeContainerNode | A node containing a stack of children
RenderNodeTypeCairoNode | A node drawing a `cairo_surface_t`
RenderNodeTypeColorNode | A node drawing a single color rectangle
RenderNodeTypeLinearGradientNode | A node drawing a linear gradient
RenderNodeTypeRepeatingLinearGradientNode | A node drawing a repeating linear gradient
RenderNodeTypeRadialGradientNode | A node drawing a radial gradient
RenderNodeTypeRepeatingRadialGradientNode | A node drawing a repeating radial gradient
RenderNodeTypeConicGradientNode | A node drawing a conic gradient
RenderNodeTypeBorderNode | A node stroking a border around an area
RenderNodeTypeTextureNode | A node drawing a `GdkTexture`
RenderNodeTypeInsetShadowNode | A node drawing an inset shadow
RenderNodeTypeOutsetShadowNode | A node drawing an outset shadow
RenderNodeTypeTransformNode | A node that renders its child after applying a matrix transform
RenderNodeTypeOpacityNode | A node that changes the opacity of its child
RenderNodeTypeColorMatrixNode | A node that applies a color matrix to every pixel
RenderNodeTypeRepeatNode | A node that repeats the child's contents
RenderNodeTypeClipNode | A node that clips its child to a rectangular area
RenderNodeTypeRoundedClipNode | A node that clips its child to a rounded rectangle
RenderNodeTypeShadowNode | A node that draws a shadow below its child
RenderNodeTypeBlendNode | A node that blends two children together
RenderNodeTypeCrossFadeNode | A node that cross-fades between two children
RenderNodeTypeTextNode | A node containing a glyph string
RenderNodeTypeBlurNode | A node that applies a blur
RenderNodeTypeDebugNode | Debug information that does not affect the rendering
RenderNodeTypeGlShaderNode | A node that uses OpenGL fragment shaders to render
RenderNodeTypeTextureScaleNode | A node drawing a `GdkTexture` scaled and filtered. Since: 4.10
RenderNodeTypeMaskNode | A node that masks one child with another. Since: 4.10
RenderNodeTypeFillNode | A node that fills a path. Since: 4.14
RenderNodeTypeStrokeNode | A node that strokes a path. Since: 4.14
RenderNodeTypeSubsurfaceNode | A node that possibly redirects part of the scene graph to a subsurface. Since: 4.14
RenderNodeTypeComponentTransferNode | A node that applies some function to each color component. Since: 4.20
RenderNodeTypeCopyNode | A node that copies the rendering canvas to be pasted later. Since: 4.22
RenderNodeTypePasteNode | A node that pastes a previously copied canvas. Since: 4.22
RenderNodeTypeCompositeNode | A node that combines a child with the background using Porter/Duff operations. Since: 4.22
RenderNodeTypeIsolationNode | A node that isolated content of its child from previous content. Since: 4.22
RenderNodeTypeDisplacementNode | A node that displaces content according to some mask. Since: 4.22
RenderNodeTypeArithmeticNode | A node that combines two child nodes in an arithmetic way. Since: 4.22
AnotherRenderNodeType Int | Catch-all for unknown values

#### Instances

Instances details

Enum RenderNodeType Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

succ :: RenderNodeType -> RenderNodeType Source #

pred :: RenderNodeType -> RenderNodeType Source #

toEnum :: Int -> RenderNodeType Source #

fromEnum :: RenderNodeType -> Int Source #

enumFrom :: RenderNodeType -> [RenderNodeType] Source #

enumFromThen :: RenderNodeType -> RenderNodeType -> [RenderNodeType] Source #

enumFromTo :: RenderNodeType -> RenderNodeType -> [RenderNodeType] Source #

enumFromThenTo :: RenderNodeType -> RenderNodeType -> RenderNodeType -> [RenderNodeType] Source #

Show RenderNodeType Source # |
Instance details Defined in GI.Gsk.Enums Methods showsPrec :: Int -> RenderNodeType -> ShowS Source # show :: RenderNodeType -> String Source # showList :: [RenderNodeType] -> ShowS Source #
Eq RenderNodeType Source # |
Instance details Defined in GI.Gsk.Enums Methods (==) :: RenderNodeType -> RenderNodeType -> Bool Source # (/=) :: RenderNodeType -> RenderNodeType -> Bool Source #
Ord RenderNodeType Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

compare :: RenderNodeType -> RenderNodeType -> Ordering Source #

(<) :: RenderNodeType -> RenderNodeType -> Bool Source #

(<=) :: RenderNodeType -> RenderNodeType -> Bool Source #

(>) :: RenderNodeType -> RenderNodeType -> Bool Source #

(>=) :: RenderNodeType -> RenderNodeType -> Bool Source #

max :: RenderNodeType -> RenderNodeType -> RenderNodeType Source #

min :: RenderNodeType -> RenderNodeType -> RenderNodeType Source #

BoxedEnum RenderNodeType Source # |
Instance details Defined in GI.Gsk.Enums
TypedObject RenderNodeType Source # |
Instance details Defined in GI.Gsk.Enums Methods glibType :: IO GType Source #
HasParentTypes RenderNodeType Source # |
Instance details Defined in GI.Gsk.Enums
type ParentTypes RenderNodeType Source # |
Instance details Defined in GI.Gsk.Enums type ParentTypes RenderNodeType = '[] :: [Type]

## ScalingFilter

data ScalingFilter Source #

The filters used when scaling texture data.

The actual implementation of each filter is deferred to the rendering pipeline.

Constructors

ScalingFilterLinear | linear interpolation filter
ScalingFilterNearest | nearest neighbor interpolation filter
ScalingFilterTrilinear | linear interpolation along each axis, plus mipmap generation, with linear interpolation along the mipmap levels
AnotherScalingFilter Int | Catch-all for unknown values

#### Instances

Instances details

Enum ScalingFilter Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

succ :: ScalingFilter -> ScalingFilter Source #

pred :: ScalingFilter -> ScalingFilter Source #

toEnum :: Int -> ScalingFilter Source #

fromEnum :: ScalingFilter -> Int Source #

enumFrom :: ScalingFilter -> [ScalingFilter] Source #

enumFromThen :: ScalingFilter -> ScalingFilter -> [ScalingFilter] Source #

enumFromTo :: ScalingFilter -> ScalingFilter -> [ScalingFilter] Source #

enumFromThenTo :: ScalingFilter -> ScalingFilter -> ScalingFilter -> [ScalingFilter] Source #

Show ScalingFilter Source # |
Instance details Defined in GI.Gsk.Enums Methods showsPrec :: Int -> ScalingFilter -> ShowS Source # show :: ScalingFilter -> String Source # showList :: [ScalingFilter] -> ShowS Source #
Eq ScalingFilter Source # |
Instance details Defined in GI.Gsk.Enums Methods (==) :: ScalingFilter -> ScalingFilter -> Bool Source # (/=) :: ScalingFilter -> ScalingFilter -> Bool Source #
Ord ScalingFilter Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

compare :: ScalingFilter -> ScalingFilter -> Ordering Source #

(<) :: ScalingFilter -> ScalingFilter -> Bool Source #

(<=) :: ScalingFilter -> ScalingFilter -> Bool Source #

(>) :: ScalingFilter -> ScalingFilter -> Bool Source #

(>=) :: ScalingFilter -> ScalingFilter -> Bool Source #

max :: ScalingFilter -> ScalingFilter -> ScalingFilter Source #

min :: ScalingFilter -> ScalingFilter -> ScalingFilter Source #

BoxedEnum ScalingFilter Source # |
Instance details Defined in GI.Gsk.Enums
TypedObject ScalingFilter Source # |
Instance details Defined in GI.Gsk.Enums Methods glibType :: IO GType Source #
HasParentTypes ScalingFilter Source # |
Instance details Defined in GI.Gsk.Enums
type ParentTypes ScalingFilter Source # |
Instance details Defined in GI.Gsk.Enums type ParentTypes ScalingFilter = '[] :: [Type]

## SerializationError

data SerializationError Source #

Errors that can happen during (de)serialization.

Constructors

SerializationErrorUnsupportedFormat | The format can not be identified
SerializationErrorUnsupportedVersion | The version of the data is not understood
SerializationErrorInvalidData | The given data may not exist in a proper serialization
AnotherSerializationError Int | Catch-all for unknown values

#### Instances

Instances details

Enum SerializationError Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

succ :: SerializationError -> SerializationError Source #

pred :: SerializationError -> SerializationError Source #

toEnum :: Int -> SerializationError Source #

fromEnum :: SerializationError -> Int Source #

enumFrom :: SerializationError -> [SerializationError] Source #

enumFromThen :: SerializationError -> SerializationError -> [SerializationError] Source #

enumFromTo :: SerializationError -> SerializationError -> [SerializationError] Source #

enumFromThenTo :: SerializationError -> SerializationError -> SerializationError -> [SerializationError] Source #

Show SerializationError Source # |
Instance details Defined in GI.Gsk.Enums Methods showsPrec :: Int -> SerializationError -> ShowS Source # show :: SerializationError -> String Source # showList :: [SerializationError] -> ShowS Source #
Eq SerializationError Source # |
Instance details Defined in GI.Gsk.Enums Methods (==) :: SerializationError -> SerializationError -> Bool Source # (/=) :: SerializationError -> SerializationError -> Bool Source #
Ord SerializationError Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

compare :: SerializationError -> SerializationError -> Ordering Source #

(<) :: SerializationError -> SerializationError -> Bool Source #

(<=) :: SerializationError -> SerializationError -> Bool Source #

(>) :: SerializationError -> SerializationError -> Bool Source #

(>=) :: SerializationError -> SerializationError -> Bool Source #

max :: SerializationError -> SerializationError -> SerializationError Source #

min :: SerializationError -> SerializationError -> SerializationError Source #

BoxedEnum SerializationError Source # |
Instance details Defined in GI.Gsk.Enums
TypedObject SerializationError Source # |
Instance details Defined in GI.Gsk.Enums Methods glibType :: IO GType Source #
GErrorClass SerializationError Source # |
Instance details Defined in GI.Gsk.Enums Methods gerrorClassDomain :: SerializationError -> Text Source #
HasParentTypes SerializationError Source # |
Instance details Defined in GI.Gsk.Enums
type ParentTypes SerializationError Source # |
Instance details Defined in GI.Gsk.Enums type ParentTypes SerializationError = '[] :: [Type]

catchSerializationError :: IO a -> (SerializationError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `SerializationError`. This is a specialized version of `catchGErrorJustDomain`.

handleSerializationError :: (SerializationError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `SerializationError`. This is a specialized version of `handleGErrorJustDomain`.

## TransformCategory

data TransformCategory Source #

The categories of matrices relevant for GSK and GTK.

Note that any category includes matrices of all later categories. So if you want to for example check if a matrix is a 2D matrix, `category >= GSK_TRANSFORM_CATEGORY_2D` is the way to do this.

Also keep in mind that rounding errors may cause matrices to not conform to their categories. Otherwise, matrix operations done via multiplication will not worsen categories. So for the matrix multiplication `C = A * B`, `category(C) = MIN (category(A), category(B))`.

Constructors

TransformCategoryUnknown | The category of the matrix has not been determined.
TransformCategoryAny | Analyzing the matrix concluded that it does not fit in any other category.
TransformCategory3d | The matrix is a 3D matrix. This means that the w column (the last column) has the values (0, 0, 0, 1).
TransformCategory2d | The matrix is a 2D matrix. This is equivalent to `matrixIs2d` returning `True`. In particular, this means that Cairo can deal with the matrix.
TransformCategory2dAffine | The matrix is a combination of 2D scale and 2D translation operations. In particular, this means that any rectangle can be transformed exactly using this matrix.
TransformCategory2dTranslate | The matrix is a 2D translation.
TransformCategoryIdentity | The matrix is the identity matrix.
AnotherTransformCategory Int | Catch-all for unknown values

#### Instances

Instances details

Enum TransformCategory Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

succ :: TransformCategory -> TransformCategory Source #

pred :: TransformCategory -> TransformCategory Source #

toEnum :: Int -> TransformCategory Source #

fromEnum :: TransformCategory -> Int Source #

enumFrom :: TransformCategory -> [TransformCategory] Source #

enumFromThen :: TransformCategory -> TransformCategory -> [TransformCategory] Source #

enumFromTo :: TransformCategory -> TransformCategory -> [TransformCategory] Source #

enumFromThenTo :: TransformCategory -> TransformCategory -> TransformCategory -> [TransformCategory] Source #

Show TransformCategory Source # |
Instance details Defined in GI.Gsk.Enums Methods showsPrec :: Int -> TransformCategory -> ShowS Source # show :: TransformCategory -> String Source # showList :: [TransformCategory] -> ShowS Source #
Eq TransformCategory Source # |
Instance details Defined in GI.Gsk.Enums Methods (==) :: TransformCategory -> TransformCategory -> Bool Source # (/=) :: TransformCategory -> TransformCategory -> Bool Source #
Ord TransformCategory Source # |

Instance details

Defined in GI.Gsk.Enums

Methods

compare :: TransformCategory -> TransformCategory -> Ordering Source #

(<) :: TransformCategory -> TransformCategory -> Bool Source #

(<=) :: TransformCategory -> TransformCategory -> Bool Source #

(>) :: TransformCategory -> TransformCategory -> Bool Source #

(>=) :: TransformCategory -> TransformCategory -> Bool Source #

max :: TransformCategory -> TransformCategory -> TransformCategory Source #

min :: TransformCategory -> TransformCategory -> TransformCategory Source #

BoxedEnum TransformCategory Source # |
Instance details Defined in GI.Gsk.Enums
TypedObject TransformCategory Source # |
Instance details Defined in GI.Gsk.Enums Methods glibType :: IO GType Source #
HasParentTypes TransformCategory Source # |
Instance details Defined in GI.Gsk.Enums
type ParentTypes TransformCategory Source # |
Instance details Defined in GI.Gsk.Enums type ParentTypes TransformCategory = '[] :: [Type]