Class Renderer.RendererClass

All Implemented Interfaces:
Proxy
Enclosing class:
Renderer

public static class Renderer.RendererClass extends GObject.ObjectClass

Class structure for PangoRenderer.

The following vfuncs take user space coordinates in Pango units and have default implementations:

  • draw_glyphs
  • draw_rectangle
  • draw_error_underline
  • draw_shape
  • draw_glyph_item

The default draw_shape implementation draws nothing.

The following vfuncs take device space coordinates as doubles and must be implemented:

  • draw_trapezoid
  • draw_glyph
Since:
1.8
  • Constructor Details

    • RendererClass

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

    • getMemoryLayout

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

      public void overrideDrawGlyphs(Arena arena, @Nullable Method method)
      Override virtual method draw_glyphs.
      Parameters:
      method - the method to invoke
    • overrideDrawRectangle

      public void overrideDrawRectangle(Arena arena, @Nullable Method method)
      Override virtual method draw_rectangle.
      Parameters:
      method - the method to invoke
    • overrideDrawErrorUnderline

      public void overrideDrawErrorUnderline(Arena arena, @Nullable Method method)
      Override virtual method draw_error_underline.
      Parameters:
      method - the method to invoke
    • overrideDrawShape

      public void overrideDrawShape(Arena arena, @Nullable Method method)
      Override virtual method draw_shape.
      Parameters:
      method - the method to invoke
    • overrideDrawTrapezoid

      public void overrideDrawTrapezoid(Arena arena, @Nullable Method method)
      Override virtual method draw_trapezoid.
      Parameters:
      method - the method to invoke
    • overrideDrawGlyph

      public void overrideDrawGlyph(Arena arena, @Nullable Method method)
      Override virtual method draw_glyph.
      Parameters:
      method - the method to invoke
    • overridePartChanged

      public void overridePartChanged(Arena arena, @Nullable Method method)
      Override virtual method part_changed.
      Parameters:
      method - the method to invoke
    • overrideBegin

      public void overrideBegin(Arena arena, @Nullable Method method)
      Override virtual method begin.
      Parameters:
      method - the method to invoke
    • overrideEnd

      public void overrideEnd(Arena arena, @Nullable Method method)
      Override virtual method end.
      Parameters:
      method - the method to invoke
    • overridePrepareRun

      public void overridePrepareRun(Arena arena, @Nullable Method method)
      Override virtual method prepare_run.
      Parameters:
      method - the method to invoke
    • overrideDrawGlyphItem

      public void overrideDrawGlyphItem(Arena arena, @Nullable Method method)
      Override virtual method draw_glyph_item.
      Parameters:
      method - the method to invoke