Class HarfBuzzVector

java.lang.Object
org.lwjgl.util.harfbuzz.HarfBuzzVector

public class HarfBuzzVector extends Object
  • Field Details

    • HB_VECTOR_FORMAT_INVALID

      public static final int HB_VECTOR_FORMAT_INVALID
    • HB_VECTOR_FORMAT_SVG

      public static final int HB_VECTOR_FORMAT_SVG
    • HB_VECTOR_FORMAT_PDF

      public static final int HB_VECTOR_FORMAT_PDF
    • HB_VECTOR_EXTENTS_MODE_NONE

      public static final int HB_VECTOR_EXTENTS_MODE_NONE
      See Also:
    • HB_VECTOR_EXTENTS_MODE_EXPAND

      public static final int HB_VECTOR_EXTENTS_MODE_EXPAND
      See Also:
  • Method Details

    • getLibrary

      public static SharedLibrary getLibrary()
      Returns the harfbuzz SharedLibrary.
    • hb_vector_draw_create_or_fail

      @NativeType("hb_vector_draw_t *") public static long hb_vector_draw_create_or_fail(@NativeType("hb_vector_format_t") int format)
      hb_vector_draw_t * hb_vector_draw_create_or_fail(hb_vector_format_t format)
    • hb_vector_draw_reference

      @NativeType("hb_vector_draw_t *") public static long hb_vector_draw_reference(@NativeType("hb_vector_draw_t *") long draw)
      hb_vector_draw_t * hb_vector_draw_reference(hb_vector_draw_t * draw)
    • hb_vector_draw_destroy

      public static void hb_vector_draw_destroy(@NativeType("hb_vector_draw_t *") long draw)
      void hb_vector_draw_destroy(hb_vector_draw_t * draw)
    • nhb_vector_draw_set_user_data

      public static int nhb_vector_draw_set_user_data(long draw, long key, long data, long destroy, int replace)
      hb_bool_t hb_vector_draw_set_user_data(hb_vector_draw_t * draw, hb_user_data_key_t * key, void * data, hb_destroy_func_t destroy, hb_bool_t replace)
    • hb_vector_draw_set_user_data

      @NativeType("hb_bool_t") public static boolean hb_vector_draw_set_user_data(@NativeType("hb_vector_draw_t *") long draw, @NativeType("hb_user_data_key_t *") hb_user_data_key_t key, @NativeType("void *") long data, @NativeType("hb_destroy_func_t") @Nullable hb_destroy_func_tI destroy, @NativeType("hb_bool_t") boolean replace)
      hb_bool_t hb_vector_draw_set_user_data(hb_vector_draw_t * draw, hb_user_data_key_t * key, void * data, hb_destroy_func_t destroy, hb_bool_t replace)
    • nhb_vector_draw_get_user_data

      public static long nhb_vector_draw_get_user_data(long draw, long key)
      void * hb_vector_draw_get_user_data(hb_vector_draw_t const * draw, hb_user_data_key_t * key)
    • hb_vector_draw_get_user_data

      @NativeType("void *") public static long hb_vector_draw_get_user_data(@NativeType("hb_vector_draw_t const *") long draw, @NativeType("hb_user_data_key_t *") hb_user_data_key_t key)
      void * hb_vector_draw_get_user_data(hb_vector_draw_t const * draw, hb_user_data_key_t * key)
    • hb_vector_draw_set_transform

      public static void hb_vector_draw_set_transform(@NativeType("hb_vector_draw_t *") long draw, float xx, float yx, float xy, float yy, float dx, float dy)
      void hb_vector_draw_set_transform(hb_vector_draw_t * draw, float xx, float yx, float xy, float yy, float dx, float dy)
    • nhb_vector_draw_get_transform

      public static void nhb_vector_draw_get_transform(long draw, long xx, long yx, long xy, long yy, long dx, long dy)
      void hb_vector_draw_get_transform(hb_vector_draw_t const * draw, float * xx, float * yx, float * xy, float * yy, float * dx, float * dy)
    • hb_vector_draw_get_transform

      public static void hb_vector_draw_get_transform(@NativeType("hb_vector_draw_t const *") long draw, @NativeType("float *") @Nullable FloatBuffer xx, @NativeType("float *") @Nullable FloatBuffer yx, @NativeType("float *") @Nullable FloatBuffer xy, @NativeType("float *") @Nullable FloatBuffer yy, @NativeType("float *") @Nullable FloatBuffer dx, @NativeType("float *") @Nullable FloatBuffer dy)
      void hb_vector_draw_get_transform(hb_vector_draw_t const * draw, float * xx, float * yx, float * xy, float * yy, float * dx, float * dy)
    • hb_vector_draw_set_scale_factor

      public static void hb_vector_draw_set_scale_factor(@NativeType("hb_vector_draw_t *") long draw, float x_scale_factor, float y_scale_factor)
      void hb_vector_draw_set_scale_factor(hb_vector_draw_t * draw, float x_scale_factor, float y_scale_factor)
    • nhb_vector_draw_get_scale_factor

      public static void nhb_vector_draw_get_scale_factor(long draw, long x_scale_factor, long y_scale_factor)
      void hb_vector_draw_get_scale_factor(hb_vector_draw_t const * draw, float * x_scale_factor, float * y_scale_factor)
    • hb_vector_draw_get_scale_factor

      public static void hb_vector_draw_get_scale_factor(@NativeType("hb_vector_draw_t const *") long draw, @NativeType("float *") @Nullable FloatBuffer x_scale_factor, @NativeType("float *") @Nullable FloatBuffer y_scale_factor)
      void hb_vector_draw_get_scale_factor(hb_vector_draw_t const * draw, float * x_scale_factor, float * y_scale_factor)
    • nhb_vector_draw_set_extents

      public static void nhb_vector_draw_set_extents(long draw, long extents)
      void hb_vector_draw_set_extents(hb_vector_draw_t * draw, hb_vector_extents_t const * extents)
    • hb_vector_draw_set_extents

      public static void hb_vector_draw_set_extents(@NativeType("hb_vector_draw_t *") long draw, @NativeType("hb_vector_extents_t const *") hb_vector_extents_t extents)
      void hb_vector_draw_set_extents(hb_vector_draw_t * draw, hb_vector_extents_t const * extents)
    • nhb_vector_draw_get_extents

      public static int nhb_vector_draw_get_extents(long draw, long extents)
      hb_bool_t hb_vector_draw_get_extents(hb_vector_draw_t const * draw, hb_vector_extents_t * extents)
    • hb_vector_draw_get_extents

      @NativeType("hb_bool_t") public static boolean hb_vector_draw_get_extents(@NativeType("hb_vector_draw_t const *") long draw, @NativeType("hb_vector_extents_t *") hb_vector_extents_t extents)
      hb_bool_t hb_vector_draw_get_extents(hb_vector_draw_t const * draw, hb_vector_extents_t * extents)
    • nhb_vector_draw_set_glyph_extents

      public static int nhb_vector_draw_set_glyph_extents(long draw, long glyph_extents)
      hb_bool_t hb_vector_draw_set_glyph_extents(hb_vector_draw_t * draw, hb_glyph_extents_t const * glyph_extents)
    • hb_vector_draw_set_glyph_extents

      @NativeType("hb_bool_t") public static boolean hb_vector_draw_set_glyph_extents(@NativeType("hb_vector_draw_t *") long draw, @NativeType("hb_glyph_extents_t const *") hb_glyph_extents_t glyph_extents)
      hb_bool_t hb_vector_draw_set_glyph_extents(hb_vector_draw_t * draw, hb_glyph_extents_t const * glyph_extents)
    • hb_vector_draw_get_format

      @NativeType("hb_vector_format_t") public static int hb_vector_draw_get_format(@NativeType("hb_vector_draw_t const *") long draw)
      hb_vector_format_t hb_vector_draw_get_format(hb_vector_draw_t const * draw)
    • hb_vector_draw_get_funcs

      @NativeType("hb_draw_funcs_t *") public static long hb_vector_draw_get_funcs(@NativeType("hb_vector_draw_t const *") long draw)
      hb_draw_funcs_t * hb_vector_draw_get_funcs(hb_vector_draw_t const * draw)
    • hb_vector_draw_new_path

      public static void hb_vector_draw_new_path(@NativeType("hb_vector_draw_t *") long draw)
      void hb_vector_draw_new_path(hb_vector_draw_t * draw)
    • hb_vector_draw_glyph

      public static void hb_vector_draw_glyph(@NativeType("hb_vector_draw_t *") long draw, @NativeType("hb_font_t *") long font, @NativeType("hb_codepoint_t") int glyph, @NativeType("hb_vector_extents_mode_t") int extents_mode)
      void hb_vector_draw_glyph(hb_vector_draw_t * draw, hb_font_t * font, hb_codepoint_t glyph, hb_vector_extents_mode_t extents_mode)
    • hb_vector_draw_glyph_or_fail

      @NativeType("hb_bool_t") public static boolean hb_vector_draw_glyph_or_fail(@NativeType("hb_vector_draw_t *") long draw, @NativeType("hb_font_t *") long font, @NativeType("hb_codepoint_t") int glyph, @NativeType("hb_vector_extents_mode_t") int extents_mode)
      hb_bool_t hb_vector_draw_glyph_or_fail(hb_vector_draw_t * draw, hb_font_t * font, hb_codepoint_t glyph, hb_vector_extents_mode_t extents_mode)
    • hb_vector_draw_set_precision

      public static void hb_vector_draw_set_precision(@NativeType("hb_vector_draw_t *") long draw, @NativeType("unsigned") int precision)
      void hb_vector_draw_set_precision(hb_vector_draw_t * draw, unsigned precision)
    • hb_vector_draw_get_precision

      @NativeType("unsigned") public static int hb_vector_draw_get_precision(@NativeType("hb_vector_draw_t const *") long draw)
      unsigned hb_vector_draw_get_precision(hb_vector_draw_t const * draw)
    • hb_vector_draw_set_foreground

      public static void hb_vector_draw_set_foreground(@NativeType("hb_vector_draw_t *") long draw, @NativeType("hb_color_t") int foreground)
      void hb_vector_draw_set_foreground(hb_vector_draw_t * draw, hb_color_t foreground)
    • hb_vector_draw_get_foreground

      @NativeType("hb_color_t") public static int hb_vector_draw_get_foreground(@NativeType("hb_vector_draw_t const *") long draw)
      hb_color_t hb_vector_draw_get_foreground(hb_vector_draw_t const * draw)
    • hb_vector_draw_set_background

      public static void hb_vector_draw_set_background(@NativeType("hb_vector_draw_t *") long draw, @NativeType("hb_color_t") int background)
      void hb_vector_draw_set_background(hb_vector_draw_t * draw, hb_color_t background)
    • hb_vector_draw_get_background

      @NativeType("hb_color_t") public static int hb_vector_draw_get_background(@NativeType("hb_vector_draw_t const *") long draw)
      hb_color_t hb_vector_draw_get_background(hb_vector_draw_t const * draw)
    • hb_vector_draw_render

      @NativeType("hb_blob_t *") public static long hb_vector_draw_render(@NativeType("hb_vector_draw_t *") long draw)
      hb_blob_t * hb_vector_draw_render(hb_vector_draw_t * draw)
    • hb_vector_draw_clear

      public static void hb_vector_draw_clear(@NativeType("hb_vector_draw_t *") long draw)
      void hb_vector_draw_clear(hb_vector_draw_t * draw)
    • hb_vector_draw_reset

      public static void hb_vector_draw_reset(@NativeType("hb_vector_draw_t *") long draw)
      void hb_vector_draw_reset(hb_vector_draw_t * draw)
    • hb_vector_draw_recycle_blob

      public static void hb_vector_draw_recycle_blob(@NativeType("hb_vector_draw_t *") long draw, @NativeType("hb_blob_t *") long blob)
      void hb_vector_draw_recycle_blob(hb_vector_draw_t * draw, hb_blob_t * blob)
    • hb_vector_paint_create_or_fail

      @NativeType("hb_vector_paint_t *") public static long hb_vector_paint_create_or_fail(@NativeType("hb_vector_format_t") int format)
      hb_vector_paint_t * hb_vector_paint_create_or_fail(hb_vector_format_t format)
    • hb_vector_paint_reference

      @NativeType("hb_vector_paint_t *") public static long hb_vector_paint_reference(@NativeType("hb_vector_paint_t *") long paint)
      hb_vector_paint_t * hb_vector_paint_reference(hb_vector_paint_t * paint)
    • hb_vector_paint_destroy

      public static void hb_vector_paint_destroy(@NativeType("hb_vector_paint_t *") long paint)
      void hb_vector_paint_destroy(hb_vector_paint_t * paint)
    • nhb_vector_paint_set_user_data

      public static int nhb_vector_paint_set_user_data(long paint, long key, long data, long destroy, int replace)
      hb_bool_t hb_vector_paint_set_user_data(hb_vector_paint_t * paint, hb_user_data_key_t * key, void * data, hb_destroy_func_t destroy, hb_bool_t replace)
    • hb_vector_paint_set_user_data

      @NativeType("hb_bool_t") public static boolean hb_vector_paint_set_user_data(@NativeType("hb_vector_paint_t *") long paint, @NativeType("hb_user_data_key_t *") hb_user_data_key_t key, @NativeType("void *") long data, @NativeType("hb_destroy_func_t") @Nullable hb_destroy_func_tI destroy, @NativeType("hb_bool_t") boolean replace)
      hb_bool_t hb_vector_paint_set_user_data(hb_vector_paint_t * paint, hb_user_data_key_t * key, void * data, hb_destroy_func_t destroy, hb_bool_t replace)
    • nhb_vector_paint_get_user_data

      public static long nhb_vector_paint_get_user_data(long paint, long key)
      void * hb_vector_paint_get_user_data(hb_vector_paint_t const * paint, hb_user_data_key_t * key)
    • hb_vector_paint_get_user_data

      @NativeType("void *") public static long hb_vector_paint_get_user_data(@NativeType("hb_vector_paint_t const *") long paint, @NativeType("hb_user_data_key_t *") hb_user_data_key_t key)
      void * hb_vector_paint_get_user_data(hb_vector_paint_t const * paint, hb_user_data_key_t * key)
    • hb_vector_paint_set_transform

      public static void hb_vector_paint_set_transform(@NativeType("hb_vector_paint_t *") long paint, float xx, float yx, float xy, float yy, float dx, float dy)
      void hb_vector_paint_set_transform(hb_vector_paint_t * paint, float xx, float yx, float xy, float yy, float dx, float dy)
    • nhb_vector_paint_get_transform

      public static void nhb_vector_paint_get_transform(long paint, long xx, long yx, long xy, long yy, long dx, long dy)
      void hb_vector_paint_get_transform(hb_vector_paint_t const * paint, float * xx, float * yx, float * xy, float * yy, float * dx, float * dy)
    • hb_vector_paint_get_transform

      public static void hb_vector_paint_get_transform(@NativeType("hb_vector_paint_t const *") long paint, @NativeType("float *") @Nullable FloatBuffer xx, @NativeType("float *") @Nullable FloatBuffer yx, @NativeType("float *") @Nullable FloatBuffer xy, @NativeType("float *") @Nullable FloatBuffer yy, @NativeType("float *") @Nullable FloatBuffer dx, @NativeType("float *") @Nullable FloatBuffer dy)
      void hb_vector_paint_get_transform(hb_vector_paint_t const * paint, float * xx, float * yx, float * xy, float * yy, float * dx, float * dy)
    • hb_vector_paint_set_scale_factor

      public static void hb_vector_paint_set_scale_factor(@NativeType("hb_vector_paint_t *") long paint, float x_scale_factor, float y_scale_factor)
      void hb_vector_paint_set_scale_factor(hb_vector_paint_t * paint, float x_scale_factor, float y_scale_factor)
    • nhb_vector_paint_get_scale_factor

      public static void nhb_vector_paint_get_scale_factor(long paint, long x_scale_factor, long y_scale_factor)
      void hb_vector_paint_get_scale_factor(hb_vector_paint_t const * paint, float * x_scale_factor, float * y_scale_factor)
    • hb_vector_paint_get_scale_factor

      public static void hb_vector_paint_get_scale_factor(@NativeType("hb_vector_paint_t const *") long paint, @NativeType("float *") @Nullable FloatBuffer x_scale_factor, @NativeType("float *") @Nullable FloatBuffer y_scale_factor)
      void hb_vector_paint_get_scale_factor(hb_vector_paint_t const * paint, float * x_scale_factor, float * y_scale_factor)
    • nhb_vector_paint_set_extents

      public static void nhb_vector_paint_set_extents(long paint, long extents)
      void hb_vector_paint_set_extents(hb_vector_paint_t * paint, hb_vector_extents_t const * extents)
    • hb_vector_paint_set_extents

      public static void hb_vector_paint_set_extents(@NativeType("hb_vector_paint_t *") long paint, @NativeType("hb_vector_extents_t const *") hb_vector_extents_t extents)
      void hb_vector_paint_set_extents(hb_vector_paint_t * paint, hb_vector_extents_t const * extents)
    • nhb_vector_paint_get_extents

      public static int nhb_vector_paint_get_extents(long paint, long extents)
      hb_bool_t hb_vector_paint_get_extents(hb_vector_paint_t const * paint, hb_vector_extents_t * extents)
    • hb_vector_paint_get_extents

      @NativeType("hb_bool_t") public static boolean hb_vector_paint_get_extents(@NativeType("hb_vector_paint_t const *") long paint, @NativeType("hb_vector_extents_t *") hb_vector_extents_t extents)
      hb_bool_t hb_vector_paint_get_extents(hb_vector_paint_t const * paint, hb_vector_extents_t * extents)
    • nhb_vector_paint_set_glyph_extents

      public static int nhb_vector_paint_set_glyph_extents(long paint, long glyph_extents)
      hb_bool_t hb_vector_paint_set_glyph_extents(hb_vector_paint_t * paint, hb_glyph_extents_t const * glyph_extents)
    • hb_vector_paint_set_glyph_extents

      @NativeType("hb_bool_t") public static boolean hb_vector_paint_set_glyph_extents(@NativeType("hb_vector_paint_t *") long paint, @NativeType("hb_glyph_extents_t const *") hb_glyph_extents_t glyph_extents)
      hb_bool_t hb_vector_paint_set_glyph_extents(hb_vector_paint_t * paint, hb_glyph_extents_t const * glyph_extents)
    • hb_vector_paint_set_foreground

      public static void hb_vector_paint_set_foreground(@NativeType("hb_vector_paint_t *") long paint, @NativeType("hb_color_t") int foreground)
      void hb_vector_paint_set_foreground(hb_vector_paint_t * paint, hb_color_t foreground)
    • hb_vector_paint_get_foreground

      @NativeType("hb_color_t") public static int hb_vector_paint_get_foreground(@NativeType("hb_vector_paint_t const *") long paint)
      hb_color_t hb_vector_paint_get_foreground(hb_vector_paint_t const * paint)
    • hb_vector_paint_set_background

      public static void hb_vector_paint_set_background(@NativeType("hb_vector_paint_t *") long paint, @NativeType("hb_color_t") int background)
      void hb_vector_paint_set_background(hb_vector_paint_t * paint, hb_color_t background)
    • hb_vector_paint_get_background

      @NativeType("hb_color_t") public static int hb_vector_paint_get_background(@NativeType("hb_vector_paint_t const *") long paint)
      hb_color_t hb_vector_paint_get_background(hb_vector_paint_t const * paint)
    • hb_vector_paint_set_palette

      public static void hb_vector_paint_set_palette(@NativeType("hb_vector_paint_t *") long paint, int palette)
      void hb_vector_paint_set_palette(hb_vector_paint_t * paint, int palette)
    • hb_vector_paint_get_palette

      public static int hb_vector_paint_get_palette(@NativeType("hb_vector_paint_t const *") long paint)
      int hb_vector_paint_get_palette(hb_vector_paint_t const * paint)
    • hb_vector_paint_set_custom_palette_color

      public static void hb_vector_paint_set_custom_palette_color(@NativeType("hb_vector_paint_t *") long paint, @NativeType("unsigned int") int color_index, @NativeType("hb_color_t") int color)
      void hb_vector_paint_set_custom_palette_color(hb_vector_paint_t * paint, unsigned int color_index, hb_color_t color)
    • hb_vector_paint_clear_custom_palette_colors

      public static void hb_vector_paint_clear_custom_palette_colors(@NativeType("hb_vector_paint_t *") long paint)
      void hb_vector_paint_clear_custom_palette_colors(hb_vector_paint_t * paint)
    • hb_vector_paint_get_format

      @NativeType("hb_vector_format_t") public static int hb_vector_paint_get_format(@NativeType("hb_vector_paint_t const *") long paint)
      hb_vector_format_t hb_vector_paint_get_format(hb_vector_paint_t const * paint)
    • hb_vector_paint_get_funcs

      @NativeType("hb_paint_funcs_t *") public static long hb_vector_paint_get_funcs(@NativeType("hb_vector_paint_t const *") long paint)
      hb_paint_funcs_t * hb_vector_paint_get_funcs(hb_vector_paint_t const * paint)
    • hb_vector_paint_glyph

      public static void hb_vector_paint_glyph(@NativeType("hb_vector_paint_t *") long paint, @NativeType("hb_font_t *") long font, @NativeType("hb_codepoint_t") int glyph, @NativeType("hb_vector_extents_mode_t") int extents_mode)
      void hb_vector_paint_glyph(hb_vector_paint_t * paint, hb_font_t * font, hb_codepoint_t glyph, hb_vector_extents_mode_t extents_mode)
    • hb_vector_paint_glyph_or_fail

      @NativeType("hb_bool_t") public static boolean hb_vector_paint_glyph_or_fail(@NativeType("hb_vector_paint_t *") long paint, @NativeType("hb_font_t *") long font, @NativeType("hb_codepoint_t") int glyph, @NativeType("hb_vector_extents_mode_t") int extents_mode)
      hb_bool_t hb_vector_paint_glyph_or_fail(hb_vector_paint_t * paint, hb_font_t * font, hb_codepoint_t glyph, hb_vector_extents_mode_t extents_mode)
    • hb_vector_paint_set_precision

      public static void hb_vector_paint_set_precision(@NativeType("hb_vector_paint_t *") long paint, @NativeType("unsigned") int precision)
      void hb_vector_paint_set_precision(hb_vector_paint_t * paint, unsigned precision)
    • hb_vector_paint_get_precision

      @NativeType("unsigned") public static int hb_vector_paint_get_precision(@NativeType("hb_vector_paint_t const *") long paint)
      unsigned hb_vector_paint_get_precision(hb_vector_paint_t const * paint)
    • nhb_vector_paint_set_svg_prefix

      public static void nhb_vector_paint_set_svg_prefix(long paint, long prefix)
      void hb_vector_paint_set_svg_prefix(hb_vector_paint_t * paint, char const * prefix)
    • hb_vector_paint_set_svg_prefix

      public static void hb_vector_paint_set_svg_prefix(@NativeType("hb_vector_paint_t *") long paint, @NativeType("char const *") @Nullable ByteBuffer prefix)
      void hb_vector_paint_set_svg_prefix(hb_vector_paint_t * paint, char const * prefix)
    • hb_vector_paint_set_svg_prefix

      public static void hb_vector_paint_set_svg_prefix(@NativeType("hb_vector_paint_t *") long paint, @NativeType("char const *") @Nullable CharSequence prefix)
      void hb_vector_paint_set_svg_prefix(hb_vector_paint_t * paint, char const * prefix)
    • nhb_vector_paint_get_svg_prefix

      public static long nhb_vector_paint_get_svg_prefix(long paint)
      char const * hb_vector_paint_get_svg_prefix(hb_vector_paint_t const * paint)
    • hb_vector_paint_get_svg_prefix

      @NativeType("char const *") public static @Nullable String hb_vector_paint_get_svg_prefix(@NativeType("hb_vector_paint_t const *") long paint)
      char const * hb_vector_paint_get_svg_prefix(hb_vector_paint_t const * paint)
    • hb_vector_paint_render

      @NativeType("hb_blob_t *") public static long hb_vector_paint_render(@NativeType("hb_vector_paint_t *") long paint)
      hb_blob_t * hb_vector_paint_render(hb_vector_paint_t * paint)
    • hb_vector_paint_clear

      public static void hb_vector_paint_clear(@NativeType("hb_vector_paint_t *") long paint)
      void hb_vector_paint_clear(hb_vector_paint_t * paint)
    • hb_vector_paint_reset

      public static void hb_vector_paint_reset(@NativeType("hb_vector_paint_t *") long paint)
      void hb_vector_paint_reset(hb_vector_paint_t * paint)
    • hb_vector_paint_recycle_blob

      public static void hb_vector_paint_recycle_blob(@NativeType("hb_vector_paint_t *") long paint, @NativeType("hb_blob_t *") long blob)
      void hb_vector_paint_recycle_blob(hb_vector_paint_t * paint, hb_blob_t * blob)