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.Flags

Contents

- Flags
  - Isolation
  - PathForeachFlags

Description

Synopsis

- data Isolation
  - = IsolationNone
  - | IsolationBackground
  - | IsolationCopyPaste
  - | IsolationAll
  - | AnotherIsolation Int
- data PathForeachFlags
  - = PathForeachFlagsOnlyLines
  - | PathForeachFlagsQuad
  - | PathForeachFlagsCubic
  - | PathForeachFlagsConic
  - | AnotherPathForeachFlags Int

# Flags

## Isolation

data Isolation Source #

These flags describe the types of isolations possible with a `IsolationNode`.

More isolation options may be added in the future.

Since: 4.22

Constructors

IsolationNone | No isolation is defined.
IsolationBackground | If the background should be made available. If the background is not available, future operations will be rendered to a transparent background and added to the existing background later.
IsolationCopyPaste | If copies should be available to paste nodes. If copies are not available, paste nodes can only paste from copies that are made inside the isolated contents.
IsolationAll | Isolate everything. This will include features that are added in the future.
AnotherIsolation Int | Catch-all for unknown values

#### Instances

Instances details

Enum Isolation Source # |

Instance details

Defined in GI.Gsk.Flags

Methods

succ :: Isolation -> Isolation Source #

pred :: Isolation -> Isolation Source #

toEnum :: Int -> Isolation Source #

fromEnum :: Isolation -> Int Source #

enumFrom :: Isolation -> [Isolation] Source #

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

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

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

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

## PathForeachFlags

data PathForeachFlags Source #

Flags that can be passed to `pathForeach` to influence what kinds of operations the path is decomposed into.

By default, `pathForeach` will only emit a path with all operations flattened to straight lines to allow for maximum compatibility. The only operations emitted will be `GSK_PATH_MOVE`, `GSK_PATH_LINE` and `GSK_PATH_CLOSE`.

Since: 4.14

Constructors

PathForeachFlagsOnlyLines | The default behavior, only allow lines.
PathForeachFlagsQuad | Allow emission of `GSK_PATH_QUAD` operations
PathForeachFlagsCubic | Allow emission of `GSK_PATH_CUBIC` operations.
PathForeachFlagsConic | Allow emission of `GSK_PATH_CONIC` operations.
AnotherPathForeachFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum PathForeachFlags Source # |

Instance details

Defined in GI.Gsk.Flags

Methods

succ :: PathForeachFlags -> PathForeachFlags Source #

pred :: PathForeachFlags -> PathForeachFlags Source #

toEnum :: Int -> PathForeachFlags Source #

fromEnum :: PathForeachFlags -> Int Source #

enumFrom :: PathForeachFlags -> [PathForeachFlags] Source #

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

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

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

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

Instance details

Defined in GI.Gsk.Flags

Methods

compare :: PathForeachFlags -> PathForeachFlags -> Ordering Source #

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

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

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

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

max :: PathForeachFlags -> PathForeachFlags -> PathForeachFlags Source #

min :: PathForeachFlags -> PathForeachFlags -> PathForeachFlags Source #

BoxedFlags PathForeachFlags Source # |
Instance details Defined in GI.Gsk.Flags
IsGFlag PathForeachFlags Source # |
Instance details Defined in GI.Gsk.Flags
TypedObject PathForeachFlags Source # |
Instance details Defined in GI.Gsk.Flags Methods glibType :: IO GType Source #
HasParentTypes PathForeachFlags Source # |
Instance details Defined in GI.Gsk.Flags
type ParentTypes PathForeachFlags Source # |
Instance details Defined in GI.Gsk.Flags type ParentTypes PathForeachFlags = '[] :: [Type]