org.freedesktop.harfbuzz.DrawFuncs Maven / Gradle / Ivy
Show all versions of harfbuzz Show documentation
// Java-GI - Java language bindings for GObject-Introspection-based libraries
// Copyright (C) 2022-2024 Jan-Willem Harmannij
//
// SPDX-License-Identifier: LGPL-2.1-or-later
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, see .
//
// This file has been generated with Java-GI.
// Do not edit this file directly!
// Visit for more information.
//
package org.freedesktop.harfbuzz;
import io.github.jwharm.javagi.base.ProxyInstance;
import io.github.jwharm.javagi.interop.Interop;
import java.lang.foreign.MemorySegment;
import javax.annotation.processing.Generated;
import org.gnome.glib.Type;
/**
* Glyph draw callbacks.
*
* {@code hb_draw_move_to_func_t}, {@code hb_draw_line_to_func_t} and
* {@code hb_draw_cubic_to_func_t} calls are necessary to be defined but we translate
* {@code hb_draw_quadratic_to_func_t} calls to {@code hb_draw_cubic_to_func_t} if the
* callback isn't defined.
* @version 4.0.0
*/
@Generated("io.github.jwharm.JavaGI")
public class DrawFuncs extends ProxyInstance {
static {
HarfBuzz.javagi$ensureInitialized();
}
/**
* Create a DrawFuncs proxy instance for the provided memory address.
*
* @param address the memory address of the native object
*/
public DrawFuncs(MemorySegment address) {
super(address);
}
/**
* Get the GType of the DrawFuncs class
*
* @return the GType
*/
public static Type getType() {
return Interop.getType("hb_gobject_draw_funcs_get_type");
}
}