Gnome::Gsk4::T-rendernode

#------------------------------------------------------------------------------- #--[Class Initialization]------------------------------------------------------- #-------------------------------------------------------------------------------

Class initialization

new

Initialization of a type class is simple and only needed when the standalone functions are used.

method new ( )

#------------------------------------------------------------------------------- #--[Record Structure Documentation]--------------------------------------------- #-------------------------------------------------------------------------------

Record N-Shadow

class N-Shadow:auth<github:MARTIMM>:api<2> is export is repr('CStruct') {
has N-Object $.color;
    has gfloat $.dx;
    has gfloat $.dy;
    has gfloat $.radius;
  }
  • color; the color of the shadow

  • dx; the horizontal offset of the shadow

  • dy; the vertical offset of the shadow

  • radius; the radius of the shadow

#------------------------------------------------------------------------------- #--[Record Structure Documentation]--------------------------------------------- #-------------------------------------------------------------------------------

Record N-ParseLocation

class N-ParseLocation:auth<github:MARTIMM>:api<2> is export is repr('CStruct') {
has gsize $.bytes;
    has gsize $.chars;
    has gsize $.lines;
    has gsize $.line-bytes;
    has gsize $.line-chars;
  }
  • bytes; the offset of the location in the parse buffer, as bytes

  • chars; the offset of the location in the parse buffer, as characters

  • lines; the line of the location in the parse buffer

  • line-bytes; the position in the line, as bytes

  • line-chars; the position in the line, as characters

#------------------------------------------------------------------------------- #--[Record Structure Documentation]--------------------------------------------- #-------------------------------------------------------------------------------

Record N-ColorStop

class N-ColorStop:auth<github:MARTIMM>:api<2> is export is repr('CStruct') {
has gfloat $.offset;
    has N-Object $.color;
  }
  • offset; the offset of the color stop

  • color; the color at the given offset

#------------------------------------------------------------------------------- #--[Callback Functions]--------------------------------------------------------- #-------------------------------------------------------------------------------

Callback Functions

ParseErrorFunc

Signature

:(  N-Object $start, N-Object $end, N-Object $error, gpointer $user-data  )
  • start; start of the error location

  • end; end of the error location

  • error; the error

  • user-data; user data

#------------------------------------------------------------------------------- #--[Standalone Functions]------------------------------------------------------- #-------------------------------------------------------------------------------

Standalone Functions

#-------------------------------------------------------------------------------

value-dup-render-node

Retrieves the Gnome::Gsk4::RenderNode stored inside the given value, and acquires a reference to it.

method value-dup-render-node ( N-Object $value --> N-Object )
  • $value; a Value initialized with type GSK_TYPE_RENDER_NODE

Return value; a Gnome::Gsk4::RenderNode.

#-------------------------------------------------------------------------------

value-get-render-node

Retrieves the Gnome::Gsk4::RenderNode stored inside the given value.

method value-get-render-node ( N-Object $value --> N-Object )
  • $value; a Gnome::GObject::N-Value initialized with type GSK_TYPE_RENDER_NODE

Return value; a Gnome::Gsk4::RenderNode.

#-------------------------------------------------------------------------------

value-set-render-node

Stores the given Gnome::Gsk4::RenderNode inside value.

The Value will acquire a reference to the node.

method value-set-render-node ( N-Object $value, N-Object() $node )
  • $value; a Value initialized with type GSK_TYPE_RENDER_NODE

  • $node; a Gnome::Gsk4::RenderNode.

#-------------------------------------------------------------------------------

value-take-render-node

Stores the given Gnome::Gsk4::RenderNode inside value.

This function transfers the ownership of the node to the Gnome::GObject::N-Value.

method value-take-render-node ( N-Object $value, N-Object() $node )
  • $value; a Value initialized with type GSK_TYPE_RENDER_NODE

  • $node; (transfer ownership: full) a Gnome::Gsk4::RenderNode.

Gnome::Gsk4 v0.2.0

GSK is the rendering and scene graph API

Authors

  • Marcel Timmerman

License

Artistic-2.0

Dependencies

Gnome::Gdk4:api<2>Gnome::Graphene:api<2>Gnome::GObject:api<2>Gnome::Glib:api<2>Gnome::N:api<2>

Test Dependencies

Provides

  • Gnome::Gsk4::BlendNode
  • Gnome::Gsk4::BlurNode
  • Gnome::Gsk4::BorderNode
  • Gnome::Gsk4::CairoNode
  • Gnome::Gsk4::CairoRenderer
  • Gnome::Gsk4::ClipNode
  • Gnome::Gsk4::ColorMatrixNode
  • Gnome::Gsk4::ColorNode
  • Gnome::Gsk4::ConicGradientNode
  • Gnome::Gsk4::ContainerNode
  • Gnome::Gsk4::CrossFadeNode
  • Gnome::Gsk4::DebugNode
  • Gnome::Gsk4::GLRenderer
  • Gnome::Gsk4::GLShader
  • Gnome::Gsk4::GLShaderNode
  • Gnome::Gsk4::InsetShadowNode
  • Gnome::Gsk4::LinearGradientNode
  • Gnome::Gsk4::MaskNode
  • Gnome::Gsk4::N-RoundedRect
  • Gnome::Gsk4::N-ShaderArgsBuilder
  • Gnome::Gsk4::N-Transform
  • Gnome::Gsk4::OpacityNode
  • Gnome::Gsk4::OutsetShadowNode
  • Gnome::Gsk4::RadialGradientNode
  • Gnome::Gsk4::RenderNode
  • Gnome::Gsk4::Renderer
  • Gnome::Gsk4::RepeatNode
  • Gnome::Gsk4::RepeatingLinearGradientNode
  • Gnome::Gsk4::RepeatingRadialGradientNode
  • Gnome::Gsk4::RoundedClipNode
  • Gnome::Gsk4::ShadowNode
  • Gnome::Gsk4::T-enums
  • Gnome::Gsk4::T-glshader
  • Gnome::Gsk4::T-path
  • Gnome::Gsk4::T-rendernode
  • Gnome::Gsk4::T-roundedrect
  • Gnome::Gsk4::T-stroke
  • Gnome::Gsk4::T-transform
  • Gnome::Gsk4::T-types
  • Gnome::Gsk4::TextNode
  • Gnome::Gsk4::TextureNode
  • Gnome::Gsk4::TextureScaleNode
  • Gnome::Gsk4::TransformNode

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.