Declaration
(gobject:define-genum "GskRenderNodeType" render-node-type
(:export t
:type-initializer "gsk_render_node_type_get_type")
:not-a-render-node
:container-node
:cairo-node
:color-node
:linear-gradient-node
:repeating-linear-gradient-node
:radial-gradient-node
:repeating-radial-gradient-node
:conic-gradient-node
:border-node
:texture-node
:inset-shadow-node
:outset-shadow-node
:transform-node
:opacity-node
:color-matrix-node
:reapeat-node
:clip-node
:rounded-clip-node
:shadow-node
:blend-node
:cross-fade-node
:text-node
:blur-node
:debug-node
:gl-shader-node
#+gtk-4-10
:texture-scale-node
#+gtk-4-10
:mask-node
#+gtk-4-14
:fill-node
#+gtk-4-14
:stroke-node
#+gtk-4-14
:subsurface-node)
Values
- :not-a-render-node
- Error type. No node will ever have this type.
- :container-node
- A node containing a stack of children.
- :cairo-node
- A node drawing a `cairo_surface_t`
- :color-node
- A node drawing a single color rectangle.
- :linear-gradient-node
- A node drawing a linear gradient.
- :repeating-linear-gradient-node
- A node drawing a repeating linear gradient.
- :radial-gradient-node
- A node drawing a radial gradient.
- :repeating-radial-gradient-node
- A node drawing a repeating radial gradient.
- :conic-gradient-node
- A node drawing a conic gradient.
- :border-node
- A node stroking a border around an area.
- :texture-node
- A node drawing a `GdkTexture`.
- :inset-shadow-node
- A node drawing an inset shadow.
- :outset-shadow-node
- A node drawing an outset shadow.
- :transform-node
- A node that renders its child after applying a matrix transform.
- :opacity-node
- A node that changes the opacity of its child.
- :color-matrix-node
- A node that applies a color matrix to every pixel.
- :repeat-node
- A node that repeats the child's contents.
- :clip-node
- A node that clips its child to a rectangular area.
- :rounded-clip-node
- A node that clips its child to a rounded rectangle.
- :shadow-node
- A node that draws a shadow below its child.
- :blend-node
- A node that blends two children together.
- :cross-fade-node
- A node that cross-fades between two children.
- :text-node
- A node containing a glyph string.
- :blur-node
- A node that applies a blur.
- :debug-node
- Debug information that does not affect the rendering.
- :gl-shader-node
- A node that uses OpenGL fragment shaders to render.
- :texture-scale-node
- A node drawing a gdk:texture object scaled and filtered. Since 4.10
- :mask-node
- A node that masks one child with another. Since 4.10
- :fill-node
- A node that fills a path. Since 4.14
- :stroke-node
- A node that strokes a path. Since 4.14
- :subsurface-node
- A node that possibly redirects part of the scene graph to a subsurface. Since 4.14
Details
The type of a node determines what the node is rendering.