Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
- Methods
- blendNodeGetBlendMode
- blendNodeGetBottomChild
- blendNodeGetTopChild
- blendNodeNew
- blurNodeGetChild
- blurNodeGetRadius
- blurNodeNew
- borderNodeNew
- borderNodePeekColors
- borderNodePeekOutline
- borderNodePeekWidths
- cairoNodeGetDrawContext
- cairoNodeNew
- cairoNodePeekSurface
- clipNodeGetChild
- clipNodeNew
- clipNodePeekClip
- colorMatrixNodeGetChild
- colorMatrixNodeNew
- colorMatrixNodePeekColorMatrix
- colorMatrixNodePeekColorOffset
- colorNodeNew
- colorNodePeekColor
- containerNodeGetChild
- containerNodeGetNChildren
- containerNodeNew
- crossFadeNodeGetEndChild
- crossFadeNodeGetProgress
- crossFadeNodeGetStartChild
- crossFadeNodeNew
- debugNodeGetChild
- debugNodeGetMessage
- debugNodeNew
- insetShadowNodeGetBlurRadius
- insetShadowNodeGetDx
- insetShadowNodeGetDy
- insetShadowNodeGetSpread
- insetShadowNodeNew
- insetShadowNodePeekColor
- insetShadowNodePeekOutline
- linearGradientNodeGetNColorStops
- linearGradientNodeNew
- linearGradientNodePeekColorStops
- linearGradientNodePeekEnd
- linearGradientNodePeekStart
- opacityNodeGetChild
- opacityNodeGetOpacity
- opacityNodeNew
- outsetShadowNodeGetBlurRadius
- outsetShadowNodeGetDx
- outsetShadowNodeGetDy
- outsetShadowNodeGetSpread
- outsetShadowNodeNew
- outsetShadowNodePeekColor
- outsetShadowNodePeekOutline
- repeatNodeGetChild
- repeatNodeNew
- repeatNodePeekChildBounds
- repeatingLinearGradientNodeNew
- roundedClipNodeGetChild
- roundedClipNodeNew
- roundedClipNodePeekClip
- textNodeGetNumGlyphs
- textNodeGetX
- textNodeGetY
- textNodeNew
- textNodePeekColor
- textNodePeekFont
- textNodePeekGlyphs
- textureNodeGetTexture
- textureNodeNew
Synopsis
- blendNodeGetBlendMode :: (HasCallStack, MonadIO m) => RenderNode -> m BlendMode
- blendNodeGetBottomChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode
- blendNodeGetTopChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode
- blendNodeNew :: (HasCallStack, MonadIO m) => RenderNode -> RenderNode -> BlendMode -> m RenderNode
- blurNodeGetChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode
- blurNodeGetRadius :: (HasCallStack, MonadIO m) => RenderNode -> m Double
- blurNodeNew :: (HasCallStack, MonadIO m) => RenderNode -> Double -> m RenderNode
- borderNodeNew :: (HasCallStack, MonadIO m) => RoundedRect -> [Float] -> [RGBA] -> m RenderNode
- borderNodePeekColors :: (HasCallStack, MonadIO m) => RenderNode -> m RGBA
- borderNodePeekOutline :: (HasCallStack, MonadIO m) => RenderNode -> m RoundedRect
- borderNodePeekWidths :: (HasCallStack, MonadIO m) => RenderNode -> m Float
- cairoNodeGetDrawContext :: (HasCallStack, MonadIO m) => RenderNode -> m Context
- cairoNodeNew :: (HasCallStack, MonadIO m) => Rect -> m RenderNode
- cairoNodePeekSurface :: (HasCallStack, MonadIO m) => RenderNode -> m Surface
- clipNodeGetChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode
- clipNodeNew :: (HasCallStack, MonadIO m) => RenderNode -> Rect -> m RenderNode
- clipNodePeekClip :: (HasCallStack, MonadIO m) => RenderNode -> m Rect
- colorMatrixNodeGetChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode
- colorMatrixNodeNew :: (HasCallStack, MonadIO m) => RenderNode -> Matrix -> Vec4 -> m RenderNode
- colorMatrixNodePeekColorMatrix :: (HasCallStack, MonadIO m) => RenderNode -> m Matrix
- colorMatrixNodePeekColorOffset :: (HasCallStack, MonadIO m) => RenderNode -> m Vec4
- colorNodeNew :: (HasCallStack, MonadIO m) => RGBA -> Rect -> m RenderNode
- colorNodePeekColor :: (HasCallStack, MonadIO m) => RenderNode -> m RGBA
- containerNodeGetChild :: (HasCallStack, MonadIO m) => RenderNode -> Word32 -> m RenderNode
- containerNodeGetNChildren :: (HasCallStack, MonadIO m) => RenderNode -> m Word32
- containerNodeNew :: (HasCallStack, MonadIO m) => [RenderNode] -> m RenderNode
- crossFadeNodeGetEndChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode
- crossFadeNodeGetProgress :: (HasCallStack, MonadIO m) => RenderNode -> m Double
- crossFadeNodeGetStartChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode
- crossFadeNodeNew :: (HasCallStack, MonadIO m) => RenderNode -> RenderNode -> Double -> m RenderNode
- debugNodeGetChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode
- debugNodeGetMessage :: (HasCallStack, MonadIO m) => RenderNode -> m Text
- debugNodeNew :: (HasCallStack, MonadIO m) => RenderNode -> Text -> m RenderNode
- insetShadowNodeGetBlurRadius :: (HasCallStack, MonadIO m) => RenderNode -> m Float
- insetShadowNodeGetDx :: (HasCallStack, MonadIO m) => RenderNode -> m Float
- insetShadowNodeGetDy :: (HasCallStack, MonadIO m) => RenderNode -> m Float
- insetShadowNodeGetSpread :: (HasCallStack, MonadIO m) => RenderNode -> m Float
- insetShadowNodeNew :: (HasCallStack, MonadIO m) => RoundedRect -> RGBA -> Float -> Float -> Float -> Float -> m RenderNode
- insetShadowNodePeekColor :: (HasCallStack, MonadIO m) => RenderNode -> m RGBA
- insetShadowNodePeekOutline :: (HasCallStack, MonadIO m) => RenderNode -> m RoundedRect
- linearGradientNodeGetNColorStops :: (HasCallStack, MonadIO m) => RenderNode -> m Word64
- linearGradientNodeNew :: (HasCallStack, MonadIO m) => Rect -> Point -> Point -> [ColorStop] -> m RenderNode
- linearGradientNodePeekColorStops :: (HasCallStack, MonadIO m) => RenderNode -> m ColorStop
- linearGradientNodePeekEnd :: (HasCallStack, MonadIO m) => RenderNode -> m Point
- linearGradientNodePeekStart :: (HasCallStack, MonadIO m) => RenderNode -> m Point
- opacityNodeGetChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode
- opacityNodeGetOpacity :: (HasCallStack, MonadIO m) => RenderNode -> m Double
- opacityNodeNew :: (HasCallStack, MonadIO m) => RenderNode -> Double -> m RenderNode
- outsetShadowNodeGetBlurRadius :: (HasCallStack, MonadIO m) => RenderNode -> m Float
- outsetShadowNodeGetDx :: (HasCallStack, MonadIO m) => RenderNode -> m Float
- outsetShadowNodeGetDy :: (HasCallStack, MonadIO m) => RenderNode -> m Float
- outsetShadowNodeGetSpread :: (HasCallStack, MonadIO m) => RenderNode -> m Float
- outsetShadowNodeNew :: (HasCallStack, MonadIO m) => RoundedRect -> RGBA -> Float -> Float -> Float -> Float -> m RenderNode
- outsetShadowNodePeekColor :: (HasCallStack, MonadIO m) => RenderNode -> m RGBA
- outsetShadowNodePeekOutline :: (HasCallStack, MonadIO m) => RenderNode -> m RoundedRect
- repeatNodeGetChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode
- repeatNodeNew :: (HasCallStack, MonadIO m) => Rect -> RenderNode -> Maybe Rect -> m RenderNode
- repeatNodePeekChildBounds :: (HasCallStack, MonadIO m) => RenderNode -> m Rect
- repeatingLinearGradientNodeNew :: (HasCallStack, MonadIO m) => Rect -> Point -> Point -> [ColorStop] -> m RenderNode
- roundedClipNodeGetChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode
- roundedClipNodeNew :: (HasCallStack, MonadIO m) => RenderNode -> RoundedRect -> m RenderNode
- roundedClipNodePeekClip :: (HasCallStack, MonadIO m) => RenderNode -> m RoundedRect
- textNodeGetNumGlyphs :: (HasCallStack, MonadIO m) => RenderNode -> m Word32
- textNodeGetX :: (HasCallStack, MonadIO m) => RenderNode -> m Float
- textNodeGetY :: (HasCallStack, MonadIO m) => RenderNode -> m Float
- textNodeNew :: (HasCallStack, MonadIO m, IsFont a) => a -> GlyphString -> RGBA -> Float -> Float -> m (Maybe RenderNode)
- textNodePeekColor :: (HasCallStack, MonadIO m) => RenderNode -> m RGBA
- textNodePeekFont :: (HasCallStack, MonadIO m) => RenderNode -> m Font
- textNodePeekGlyphs :: (HasCallStack, MonadIO m) => RenderNode -> m GlyphInfo
- textureNodeGetTexture :: (HasCallStack, MonadIO m) => RenderNode -> m Texture
- textureNodeNew :: (HasCallStack, MonadIO m, IsTexture a) => a -> Rect -> m RenderNode
Methods
blendNodeGetBlendMode
blendNodeGetBlendMode :: (HasCallStack, MonadIO m) => RenderNode -> m BlendMode Source #
No description available in the introspection data.
blendNodeGetBottomChild
blendNodeGetBottomChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode Source #
No description available in the introspection data.
blendNodeGetTopChild
blendNodeGetTopChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode Source #
No description available in the introspection data.
blendNodeNew
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> RenderNode |
|
-> BlendMode |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will use blendMode
to blend the top
node onto the bottom
node.
blurNodeGetChild
blurNodeGetChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode Source #
No description available in the introspection data.
blurNodeGetRadius
blurNodeGetRadius :: (HasCallStack, MonadIO m) => RenderNode -> m Double Source #
No description available in the introspection data.
blurNodeNew
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> Double |
|
-> m RenderNode |
Creates a render node that blurs the child.
borderNodeNew
:: (HasCallStack, MonadIO m) | |
=> RoundedRect |
|
-> [Float] |
|
-> [RGBA] |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will stroke a border rectangle inside the
given outline
. The 4 sides of the border can have different widths and
colors.
borderNodePeekColors
borderNodePeekColors :: (HasCallStack, MonadIO m) => RenderNode -> m RGBA Source #
No description available in the introspection data.
borderNodePeekOutline
borderNodePeekOutline :: (HasCallStack, MonadIO m) => RenderNode -> m RoundedRect Source #
No description available in the introspection data.
borderNodePeekWidths
borderNodePeekWidths :: (HasCallStack, MonadIO m) => RenderNode -> m Float Source #
No description available in the introspection data.
cairoNodeGetDrawContext
cairoNodeGetDrawContext Source #
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> m Context | Returns: a Cairo context used for drawing; use
|
Creates a Cairo context for drawing using the surface associated
to the render node.
If no surface exists yet, a surface will be created optimized for
rendering to renderer
.
cairoNodeNew
:: (HasCallStack, MonadIO m) | |
=> Rect |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will render a cairo surface
into the area given by bounds
. You can draw to the cairo
surface using cairoNodeGetDrawContext
cairoNodePeekSurface
cairoNodePeekSurface :: (HasCallStack, MonadIO m) => RenderNode -> m Surface Source #
No description available in the introspection data.
clipNodeGetChild
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> m RenderNode | Returns: The child that is getting clipped |
Gets the child node that is getting clipped by the given node
.
clipNodeNew
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> Rect |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will clip the child
to the area
given by clip
.
clipNodePeekClip
clipNodePeekClip :: (HasCallStack, MonadIO m) => RenderNode -> m Rect Source #
No description available in the introspection data.
colorMatrixNodeGetChild
colorMatrixNodeGetChild Source #
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> m RenderNode | Returns: The child that is getting its colors modified |
Gets the child node that is getting its colors modified by the given node
.
colorMatrixNodeNew
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> Matrix |
|
-> Vec4 |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will drawn the child
with reduced
colorMatrix
.
In particular, the node will transform the operation pixel = color_matrix * pixel + color_offset for every pixel.
colorMatrixNodePeekColorMatrix
colorMatrixNodePeekColorMatrix :: (HasCallStack, MonadIO m) => RenderNode -> m Matrix Source #
No description available in the introspection data.
colorMatrixNodePeekColorOffset
colorMatrixNodePeekColorOffset :: (HasCallStack, MonadIO m) => RenderNode -> m Vec4 Source #
No description available in the introspection data.
colorNodeNew
:: (HasCallStack, MonadIO m) | |
=> RGBA |
|
-> Rect |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will render the color specified by rgba
into
the area given by bounds
.
colorNodePeekColor
colorNodePeekColor :: (HasCallStack, MonadIO m) => RenderNode -> m RGBA Source #
No description available in the introspection data.
containerNodeGetChild
containerNodeGetChild Source #
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> Word32 |
|
-> m RenderNode | Returns: the |
Gets one of the children of container
.
containerNodeGetNChildren
containerNodeGetNChildren Source #
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> m Word32 | Returns: the number of children of the |
Retrieves the number of direct children of node
.
containerNodeNew
:: (HasCallStack, MonadIO m) | |
=> [RenderNode] |
|
-> m RenderNode | Returns: the new |
Creates a new RenderNode
instance for holding the given children
.
The new node will acquire a reference to each of the children.
crossFadeNodeGetEndChild
crossFadeNodeGetEndChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode Source #
No description available in the introspection data.
crossFadeNodeGetProgress
crossFadeNodeGetProgress :: (HasCallStack, MonadIO m) => RenderNode -> m Double Source #
No description available in the introspection data.
crossFadeNodeGetStartChild
crossFadeNodeGetStartChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode Source #
No description available in the introspection data.
crossFadeNodeNew
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> RenderNode |
|
-> Double |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will do a cross-fade between start
and end
.
debugNodeGetChild
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> m RenderNode | Returns: The child that is getting debug |
Gets the child node that is getting debug by the given node
.
debugNodeGetMessage
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> m Text | Returns: The debug message |
Gets the debug message that was set on this node
debugNodeNew
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> Text |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will add debug information about
the given child
.
Adding this node has no visual effect.
insetShadowNodeGetBlurRadius
insetShadowNodeGetBlurRadius :: (HasCallStack, MonadIO m) => RenderNode -> m Float Source #
No description available in the introspection data.
insetShadowNodeGetDx
insetShadowNodeGetDx :: (HasCallStack, MonadIO m) => RenderNode -> m Float Source #
No description available in the introspection data.
insetShadowNodeGetDy
insetShadowNodeGetDy :: (HasCallStack, MonadIO m) => RenderNode -> m Float Source #
No description available in the introspection data.
insetShadowNodeGetSpread
insetShadowNodeGetSpread :: (HasCallStack, MonadIO m) => RenderNode -> m Float Source #
No description available in the introspection data.
insetShadowNodeNew
:: (HasCallStack, MonadIO m) | |
=> RoundedRect |
|
-> RGBA |
|
-> Float |
|
-> Float |
|
-> Float |
|
-> Float |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will render an inset shadow
into the box given by outline
.
insetShadowNodePeekColor
insetShadowNodePeekColor :: (HasCallStack, MonadIO m) => RenderNode -> m RGBA Source #
No description available in the introspection data.
insetShadowNodePeekOutline
insetShadowNodePeekOutline :: (HasCallStack, MonadIO m) => RenderNode -> m RoundedRect Source #
No description available in the introspection data.
linearGradientNodeGetNColorStops
linearGradientNodeGetNColorStops :: (HasCallStack, MonadIO m) => RenderNode -> m Word64 Source #
No description available in the introspection data.
linearGradientNodeNew
linearGradientNodeNew Source #
:: (HasCallStack, MonadIO m) | |
=> Rect |
|
-> Point |
|
-> Point |
|
-> [ColorStop] |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will create a linear gradient from the given
points and color stops, and render that into the area given by bounds
.
linearGradientNodePeekColorStops
linearGradientNodePeekColorStops :: (HasCallStack, MonadIO m) => RenderNode -> m ColorStop Source #
No description available in the introspection data.
linearGradientNodePeekEnd
linearGradientNodePeekEnd :: (HasCallStack, MonadIO m) => RenderNode -> m Point Source #
No description available in the introspection data.
linearGradientNodePeekStart
linearGradientNodePeekStart :: (HasCallStack, MonadIO m) => RenderNode -> m Point Source #
No description available in the introspection data.
opacityNodeGetChild
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> m RenderNode | Returns: The child that is getting opacityed |
Gets the child node that is getting opacityed by the given node
.
opacityNodeGetOpacity
opacityNodeGetOpacity :: (HasCallStack, MonadIO m) => RenderNode -> m Double Source #
No description available in the introspection data.
opacityNodeNew
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> Double |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will drawn the child
with reduced
opacity
.
outsetShadowNodeGetBlurRadius
outsetShadowNodeGetBlurRadius :: (HasCallStack, MonadIO m) => RenderNode -> m Float Source #
No description available in the introspection data.
outsetShadowNodeGetDx
outsetShadowNodeGetDx :: (HasCallStack, MonadIO m) => RenderNode -> m Float Source #
No description available in the introspection data.
outsetShadowNodeGetDy
outsetShadowNodeGetDy :: (HasCallStack, MonadIO m) => RenderNode -> m Float Source #
No description available in the introspection data.
outsetShadowNodeGetSpread
outsetShadowNodeGetSpread :: (HasCallStack, MonadIO m) => RenderNode -> m Float Source #
No description available in the introspection data.
outsetShadowNodeNew
:: (HasCallStack, MonadIO m) | |
=> RoundedRect |
|
-> RGBA |
|
-> Float |
|
-> Float |
|
-> Float |
|
-> Float |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will render an outset shadow
around the box given by outline
.
outsetShadowNodePeekColor
outsetShadowNodePeekColor :: (HasCallStack, MonadIO m) => RenderNode -> m RGBA Source #
No description available in the introspection data.
outsetShadowNodePeekOutline
outsetShadowNodePeekOutline :: (HasCallStack, MonadIO m) => RenderNode -> m RoundedRect Source #
No description available in the introspection data.
repeatNodeGetChild
repeatNodeGetChild :: (HasCallStack, MonadIO m) => RenderNode -> m RenderNode Source #
No description available in the introspection data.
repeatNodeNew
:: (HasCallStack, MonadIO m) | |
=> Rect |
|
-> RenderNode |
|
-> Maybe Rect |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will repeat the drawing of child
across
the given bounds
.
repeatNodePeekChildBounds
repeatNodePeekChildBounds :: (HasCallStack, MonadIO m) => RenderNode -> m Rect Source #
No description available in the introspection data.
repeatingLinearGradientNodeNew
repeatingLinearGradientNodeNew Source #
:: (HasCallStack, MonadIO m) | |
=> Rect |
|
-> Point |
|
-> Point |
|
-> [ColorStop] |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will create a repeating linear gradient
from the given points and color stops, and render that into the area
given by bounds
.
roundedClipNodeGetChild
roundedClipNodeGetChild Source #
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> m RenderNode | Returns: The child that is getting clipped |
Gets the child node that is getting clipped by the given node
.
roundedClipNodeNew
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> RoundedRect |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will clip the child
to the area
given by clip
.
roundedClipNodePeekClip
roundedClipNodePeekClip :: (HasCallStack, MonadIO m) => RenderNode -> m RoundedRect Source #
No description available in the introspection data.
textNodeGetNumGlyphs
textNodeGetNumGlyphs :: (HasCallStack, MonadIO m) => RenderNode -> m Word32 Source #
No description available in the introspection data.
textNodeGetX
textNodeGetX :: (HasCallStack, MonadIO m) => RenderNode -> m Float Source #
No description available in the introspection data.
textNodeGetY
textNodeGetY :: (HasCallStack, MonadIO m) => RenderNode -> m Float Source #
No description available in the introspection data.
textNodeNew
:: (HasCallStack, MonadIO m, IsFont a) | |
=> a |
|
-> GlyphString |
|
-> RGBA |
|
-> Float |
|
-> Float |
|
-> m (Maybe RenderNode) | Returns: a new text node, or |
Creates a render node that renders the given glyphs,
Note that color
may not be used if the font contains
color glyphs.
textNodePeekColor
textNodePeekColor :: (HasCallStack, MonadIO m) => RenderNode -> m RGBA Source #
No description available in the introspection data.
textNodePeekFont
textNodePeekFont :: (HasCallStack, MonadIO m) => RenderNode -> m Font Source #
No description available in the introspection data.
textNodePeekGlyphs
textNodePeekGlyphs :: (HasCallStack, MonadIO m) => RenderNode -> m GlyphInfo Source #
No description available in the introspection data.
textureNodeGetTexture
textureNodeGetTexture Source #
:: (HasCallStack, MonadIO m) | |
=> RenderNode |
|
-> m Texture | Returns: the |
No description available in the introspection data.
textureNodeNew
:: (HasCallStack, MonadIO m, IsTexture a) | |
=> a |
|
-> Rect |
|
-> m RenderNode | Returns: A new |
Creates a RenderNode
that will render the given
texture
into the area given by bounds
.