Class CairoRenderer

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class CairoRenderer extends Renderer

Renders a GSK rendernode tree with cairo.

Since it is using cairo, this renderer cannot support 3D transformations.

  • Constructor Details

    • CairoRenderer

      public CairoRenderer(MemorySegment address)
      Create a CairoRenderer instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • CairoRenderer

      public CairoRenderer()
      Create a new CairoRenderer.
  • Method Details

    • getType

      public static @Nullable Type getType()
      Get the GType of the CairoRenderer class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • asParent

      protected CairoRenderer asParent()
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class Renderer
      Returns:
      the instance as if it were its parent type
    • builder

      public static CairoRenderer.Builder<? extends CairoRenderer.Builder> builder()
      A CairoRenderer.Builder object constructs a CairoRenderer with the specified properties. Use the various set...() methods to set properties, and finish construction with CairoRenderer.Builder.build().
      Returns:
      the builder object