Class DrawFuncs

java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.harfbuzz.DrawFuncs
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class DrawFuncs extends ProxyInstance

Glyph draw callbacks.

hb_draw_move_to_func_t, hb_draw_line_to_func_t and hb_draw_cubic_to_func_t calls are necessary to be defined but we translate hb_draw_quadratic_to_func_t calls to hb_draw_cubic_to_func_t if the callback isn't defined.

Since:
4.0.0
  • Constructor Details

    • DrawFuncs

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

    • getType

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

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