| 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.Gsk.Objects.SubsurfaceNode
Contents
Description
A render node that potentially diverts a part of the scene graph to a subsurface.
Since: 4.14
Synopsis
- newtype SubsurfaceNode = SubsurfaceNode (ManagedPtr SubsurfaceNode)
- class (BoxedPtr o, TypedObject o, IsDescendantOf SubsurfaceNode o) => IsSubsurfaceNode o
- toSubsurfaceNode :: (MonadIO m, IsSubsurfaceNode o) => o -> m SubsurfaceNode
- subsurfaceNodeGetChild :: (HasCallStack, MonadIO m, IsSubsurfaceNode a) => a -> m RenderNode
Exported types
newtype SubsurfaceNode Source #
Memory-managed wrapper type.
Constructors
| SubsurfaceNode (ManagedPtr SubsurfaceNode) |
Instances
| Eq SubsurfaceNode Source # | |
Defined in GI.Gsk.Objects.SubsurfaceNode Methods (==) :: SubsurfaceNode -> SubsurfaceNode -> Bool # (/=) :: SubsurfaceNode -> SubsurfaceNode -> Bool # | |
| BoxedPtr SubsurfaceNode Source # | |
Defined in GI.Gsk.Objects.SubsurfaceNode | |
| ManagedPtrNewtype SubsurfaceNode Source # | |
Defined in GI.Gsk.Objects.SubsurfaceNode Methods toManagedPtr :: SubsurfaceNode -> ManagedPtr SubsurfaceNode | |
| TypedObject SubsurfaceNode Source # | |
Defined in GI.Gsk.Objects.SubsurfaceNode | |
| HasParentTypes SubsurfaceNode Source # | |
Defined in GI.Gsk.Objects.SubsurfaceNode | |
| type ParentTypes SubsurfaceNode Source # | |
Defined in GI.Gsk.Objects.SubsurfaceNode | |
class (BoxedPtr o, TypedObject o, IsDescendantOf SubsurfaceNode o) => IsSubsurfaceNode o Source #
Type class for types which can be safely cast to SubsurfaceNode, for instance with toSubsurfaceNode.
Instances
| (BoxedPtr o, TypedObject o, IsDescendantOf SubsurfaceNode o) => IsSubsurfaceNode o Source # | |
Defined in GI.Gsk.Objects.SubsurfaceNode | |
toSubsurfaceNode :: (MonadIO m, IsSubsurfaceNode o) => o -> m SubsurfaceNode Source #
Cast to SubsurfaceNode, for types for which this is known to be safe. For general casts, use castTo.
Methods
Click to display all available methods, including inherited ones
Methods
draw, ref, serialize, unref, writeToFile.
Getters
getBounds, getChild, getNodeType.
Setters
None.
getChild
subsurfaceNodeGetChild Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSubsurfaceNode a) | |
| => a |
|
| -> m RenderNode | Returns: the child |
Gets the child node that is getting drawn by the given node.
Since: 4.14