Package org.lwjgl.util.msdfgen
Class MSDFGen
java.lang.Object
org.lwjgl.util.msdfgen.MSDFGen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic intmsdf_bitmap_alloc(int type, int width, int height, MSDFGenBitmap bitmap) int msdf_bitmap_alloc(int type, int width, int height, struct msdf_bitmap * bitmap)static voidmsdf_bitmap_free(MSDFGenBitmap bitmap) void msdf_bitmap_free(struct msdf_bitmap * bitmap)static intmsdf_bitmap_get_byte_size(MSDFGenBitmap bitmap, PointerBuffer size) int msdf_bitmap_get_byte_size(struct msdf_bitmap const * bitmap, size_t * size)static intmsdf_bitmap_get_channel_count(MSDFGenBitmap bitmap, IntBuffer channel_count) int msdf_bitmap_get_channel_count(struct msdf_bitmap const * bitmap, int * channel_count)static intmsdf_bitmap_get_pixels(MSDFGenBitmap bitmap, PointerBuffer pixels) int msdf_bitmap_get_pixels(struct msdf_bitmap const * bitmap, void ** pixels)static intmsdf_contour_add_edge(long contour, long segment) int msdf_contour_add_edge(msdf_contour_handle contour, msdf_segment_handle segment)static intmsdf_contour_alloc(PointerBuffer contour) int msdf_contour_alloc(msdf_contour_handle * contour)static intmsdf_contour_bound(long contour, MSDFGenBounds bounds) int msdf_contour_bound(msdf_contour_const_handle contour, struct msdf_bounds * bounds)static intmsdf_contour_bound_miters(long contour, MSDFGenBounds bounds, double border, double miter_limit, int polarity) int msdf_contour_bound_miters(msdf_contour_const_handle contour, struct msdf_bounds * bounds, double border, double miter_limit, int polarity)static voidmsdf_contour_free(long contour) void msdf_contour_free(msdf_contour_handle contour)static intmsdf_contour_get_edge(long contour, long index, PointerBuffer segment) int msdf_contour_get_edge(msdf_contour_const_handle contour, size_t index, msdf_segment_const_handle * segment)static intmsdf_contour_get_edge_count(long contour, PointerBuffer count) int msdf_contour_get_edge_count(msdf_contour_const_handle contour, size_t * count)static intmsdf_contour_get_winding(long contour, IntBuffer winding) int msdf_contour_get_winding(msdf_contour_const_handle contour, int * winding)static intmsdf_contour_remove_edge(long contour, long segment) int msdf_contour_remove_edge(msdf_contour_handle contour, msdf_segment_handle segment)static intmsdf_contour_reverse(long contour) int msdf_contour_reverse(msdf_contour_handle contour)static intmsdf_error_correction(MSDFGenBitmap bitmap, long shape, MSDFGenTransform transform) int msdf_error_correction(struct msdf_bitmap * bitmap, msdf_shape_const_handle shape, struct msdf_transform const * transform)static intmsdf_error_correction_fast_distance(MSDFGenBitmap bitmap, MSDFGenTransform transform) int msdf_error_correction_fast_distance(struct msdf_bitmap * bitmap, struct msdf_transform const * transform)static intmsdf_error_correction_fast_edge(MSDFGenBitmap bitmap, MSDFGenTransform transform) int msdf_error_correction_fast_edge(struct msdf_bitmap * bitmap, struct msdf_transform const * transform)static intmsdf_generate_msdf(MSDFGenBitmap output, long shape, MSDFGenTransform transform) int msdf_generate_msdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform)static intmsdf_generate_msdf_with_config(MSDFGenBitmap output, long shape, MSDFGenTransform transform, MSDFGenMultichannelConfig config) int msdf_generate_msdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_multichannel_config const * config)static intmsdf_generate_mtsdf(MSDFGenBitmap output, long shape, MSDFGenTransform transform) int msdf_generate_mtsdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform)static intmsdf_generate_mtsdf_with_config(MSDFGenBitmap output, long shape, MSDFGenTransform transform, MSDFGenMultichannelConfig config) int msdf_generate_mtsdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_multichannel_config const * config)static intmsdf_generate_psdf(MSDFGenBitmap output, long shape, MSDFGenTransform transform) int msdf_generate_psdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform)static intmsdf_generate_psdf_with_config(MSDFGenBitmap output, long shape, MSDFGenTransform transform, MSDFGenConfig config) int msdf_generate_psdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_config const * config)static intmsdf_generate_sdf(MSDFGenBitmap output, long shape, MSDFGenTransform transform) int msdf_generate_sdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform)static intmsdf_generate_sdf_with_config(MSDFGenBitmap output, long shape, MSDFGenTransform transform, MSDFGenConfig config) int msdf_generate_sdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_config const * config)static intmsdf_render_sdf(MSDFGenBitmap output, MSDFGenBitmap sdf) int msdf_render_sdf(struct msdf_bitmap * output, struct msdf_bitmap * sdf)static intmsdf_segment_alloc(int type, PointerBuffer segment) int msdf_segment_alloc(int type, msdf_segment_handle * segment)static intmsdf_segment_bound(long segment, MSDFGenBounds bounds) int msdf_segment_bound(msdf_segment_const_handle segment, struct msdf_bounds * bounds)static voidmsdf_segment_free(long segment) void msdf_segment_free(msdf_segment_handle segment)static intmsdf_segment_get_color(long segment, IntBuffer color) int msdf_segment_get_color(msdf_segment_const_handle segment, int * color)static intmsdf_segment_get_direction(long segment, double param, MSDFGenVector2 direction) int msdf_segment_get_direction(msdf_segment_const_handle segment, double param, struct msdf_vector2 * direction)static intmsdf_segment_get_direction_change(long segment, double param, MSDFGenVector2 direction_change) int msdf_segment_get_direction_change(msdf_segment_const_handle segment, double param, struct msdf_vector2 * direction_change)static intmsdf_segment_get_point(long segment, long index, MSDFGenVector2 point) int msdf_segment_get_point(msdf_segment_const_handle segment, size_t index, struct msdf_vector2 * point)static intmsdf_segment_get_point_count(long segment, PointerBuffer count) int msdf_segment_get_point_count(msdf_segment_const_handle segment, size_t * count)static intmsdf_segment_get_type(long segment, IntBuffer type) int msdf_segment_get_type(msdf_segment_const_handle segment, int * type)static intmsdf_segment_move_end_point(long segment, MSDFGenVector2 point) int msdf_segment_move_end_point(msdf_segment_handle segment, struct msdf_vector2 const * point)static intmsdf_segment_move_start_point(long segment, MSDFGenVector2 point) int msdf_segment_move_start_point(msdf_segment_handle segment, struct msdf_vector2 const * point)static intmsdf_segment_point(long segment, double param, MSDFGenVector2 point) int msdf_segment_point(msdf_segment_const_handle segment, double param, struct msdf_vector2 * point)static intmsdf_segment_set_color(long segment, int color) int msdf_segment_set_color(msdf_segment_handle segment, int color)static intmsdf_segment_set_point(long segment, long index, MSDFGenVector2 point) int msdf_segment_set_point(msdf_segment_handle segment, size_t index, struct msdf_vector2 const * point)static intmsdf_shape_add_contour(long shape, PointerBuffer contour) int msdf_shape_add_contour(msdf_shape_handle shape, msdf_contour_const_handle * contour)static intmsdf_shape_alloc(PointerBuffer shape) int msdf_shape_alloc(msdf_shape_handle * shape)static intmsdf_shape_bound(long shape, MSDFGenBounds bounds) int msdf_shape_bound(msdf_shape_const_handle shape, struct msdf_bounds * bounds)static intmsdf_shape_bound_miters(long shape, MSDFGenBounds bounds, double border, double miter_limit, int polarity) int msdf_shape_bound_miters(msdf_shape_const_handle shape, struct msdf_bounds * bounds, double border, double miter_limit, int polarity)static intmsdf_shape_edge_colors_by_distance(long shape, double angle_threshold) int msdf_shape_edge_colors_by_distance(msdf_shape_handle shape, double angle_threshold)static intmsdf_shape_edge_colors_ink_trap(long shape, double angle_threshold) int msdf_shape_edge_colors_ink_trap(msdf_shape_handle shape, double angle_threshold)static intmsdf_shape_edge_colors_simple(long shape, double angle_threshold) int msdf_shape_edge_colors_simple(msdf_shape_handle shape, double angle_threshold)static voidmsdf_shape_free(long shape) void msdf_shape_free(msdf_shape_handle shape)static intmsdf_shape_get_bounds(long shape, MSDFGenBounds bounds) int msdf_shape_get_bounds(msdf_shape_const_handle shape, struct msdf_bounds * bounds)static intmsdf_shape_get_contour(long shape, long index, PointerBuffer contour) int msdf_shape_get_contour(msdf_shape_const_handle shape, size_t index, msdf_contour_const_handle * contour)static intmsdf_shape_get_contour_count(long shape, PointerBuffer size) int msdf_shape_get_contour_count(msdf_shape_const_handle shape, size_t * size)static intmsdf_shape_get_edge_count(long shape, PointerBuffer count) int msdf_shape_get_edge_count(msdf_shape_const_handle shape, size_t * count)static intmsdf_shape_has_inverse_y_axis(long shape, IntBuffer inverse_y_axis) int msdf_shape_has_inverse_y_axis(msdf_shape_const_handle shape, int * inverse_y_axis)static intmsdf_shape_normalize(long shape) int msdf_shape_normalize(msdf_shape_handle shape)static intmsdf_shape_one_shot_distance(long shape, MSDFGenVector2 origin, DoubleBuffer distance) int msdf_shape_one_shot_distance(msdf_shape_const_handle shape, struct msdf_vector2 const * origin, double * distance)static intmsdf_shape_orient_contours(long shape) int msdf_shape_orient_contours(msdf_shape_handle shape)static intmsdf_shape_remove_contour(long shape, long contour) int msdf_shape_remove_contour(msdf_shape_handle shape, msdf_contour_const_handle contour)static intmsdf_shape_validate(long shape, IntBuffer result) int msdf_shape_validate(msdf_shape_handle shape, int * result)static intnmsdf_bitmap_alloc(int type, int width, int height, long bitmap) int msdf_bitmap_alloc(int type, int width, int height, struct msdf_bitmap * bitmap)static voidnmsdf_bitmap_free(long bitmap) void msdf_bitmap_free(struct msdf_bitmap * bitmap)static intnmsdf_bitmap_get_byte_size(long bitmap, long size) int msdf_bitmap_get_byte_size(struct msdf_bitmap const * bitmap, size_t * size)static intnmsdf_bitmap_get_channel_count(long bitmap, long channel_count) int msdf_bitmap_get_channel_count(struct msdf_bitmap const * bitmap, int * channel_count)static intnmsdf_bitmap_get_pixels(long bitmap, long pixels) int msdf_bitmap_get_pixels(struct msdf_bitmap const * bitmap, void ** pixels)static intnmsdf_contour_add_edge(long contour, long segment) int msdf_contour_add_edge(msdf_contour_handle contour, msdf_segment_handle segment)static intnmsdf_contour_alloc(long contour) int msdf_contour_alloc(msdf_contour_handle * contour)static intnmsdf_contour_bound(long contour, long bounds) int msdf_contour_bound(msdf_contour_const_handle contour, struct msdf_bounds * bounds)static intnmsdf_contour_bound_miters(long contour, long bounds, double border, double miter_limit, int polarity) int msdf_contour_bound_miters(msdf_contour_const_handle contour, struct msdf_bounds * bounds, double border, double miter_limit, int polarity)static voidnmsdf_contour_free(long contour) void msdf_contour_free(msdf_contour_handle contour)static intnmsdf_contour_get_edge(long contour, long index, long segment) int msdf_contour_get_edge(msdf_contour_const_handle contour, size_t index, msdf_segment_const_handle * segment)static intnmsdf_contour_get_edge_count(long contour, long count) int msdf_contour_get_edge_count(msdf_contour_const_handle contour, size_t * count)static intnmsdf_contour_get_winding(long contour, long winding) int msdf_contour_get_winding(msdf_contour_const_handle contour, int * winding)static intnmsdf_contour_remove_edge(long contour, long segment) int msdf_contour_remove_edge(msdf_contour_handle contour, msdf_segment_handle segment)static intnmsdf_contour_reverse(long contour) int msdf_contour_reverse(msdf_contour_handle contour)static intnmsdf_error_correction(long bitmap, long shape, long transform) int msdf_error_correction(struct msdf_bitmap * bitmap, msdf_shape_const_handle shape, struct msdf_transform const * transform)static intnmsdf_error_correction_fast_distance(long bitmap, long transform) int msdf_error_correction_fast_distance(struct msdf_bitmap * bitmap, struct msdf_transform const * transform)static intnmsdf_error_correction_fast_edge(long bitmap, long transform) int msdf_error_correction_fast_edge(struct msdf_bitmap * bitmap, struct msdf_transform const * transform)static intnmsdf_generate_msdf(long output, long shape, long transform) int msdf_generate_msdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform)static intnmsdf_generate_msdf_with_config(long output, long shape, long transform, long config) int msdf_generate_msdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_multichannel_config const * config)static intnmsdf_generate_mtsdf(long output, long shape, long transform) int msdf_generate_mtsdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform)static intnmsdf_generate_mtsdf_with_config(long output, long shape, long transform, long config) int msdf_generate_mtsdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_multichannel_config const * config)static intnmsdf_generate_psdf(long output, long shape, long transform) int msdf_generate_psdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform)static intnmsdf_generate_psdf_with_config(long output, long shape, long transform, long config) int msdf_generate_psdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_config const * config)static intnmsdf_generate_sdf(long output, long shape, long transform) int msdf_generate_sdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform)static intnmsdf_generate_sdf_with_config(long output, long shape, long transform, long config) int msdf_generate_sdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_config const * config)static intnmsdf_render_sdf(long output, long sdf) int msdf_render_sdf(struct msdf_bitmap * output, struct msdf_bitmap * sdf)static intnmsdf_segment_alloc(int type, long segment) int msdf_segment_alloc(int type, msdf_segment_handle * segment)static intnmsdf_segment_bound(long segment, long bounds) int msdf_segment_bound(msdf_segment_const_handle segment, struct msdf_bounds * bounds)static voidnmsdf_segment_free(long segment) void msdf_segment_free(msdf_segment_handle segment)static intnmsdf_segment_get_color(long segment, long color) int msdf_segment_get_color(msdf_segment_const_handle segment, int * color)static intnmsdf_segment_get_direction(long segment, double param, long direction) int msdf_segment_get_direction(msdf_segment_const_handle segment, double param, struct msdf_vector2 * direction)static intnmsdf_segment_get_direction_change(long segment, double param, long direction_change) int msdf_segment_get_direction_change(msdf_segment_const_handle segment, double param, struct msdf_vector2 * direction_change)static intnmsdf_segment_get_point(long segment, long index, long point) int msdf_segment_get_point(msdf_segment_const_handle segment, size_t index, struct msdf_vector2 * point)static intnmsdf_segment_get_point_count(long segment, long count) int msdf_segment_get_point_count(msdf_segment_const_handle segment, size_t * count)static intnmsdf_segment_get_type(long segment, long type) int msdf_segment_get_type(msdf_segment_const_handle segment, int * type)static intnmsdf_segment_move_end_point(long segment, long point) int msdf_segment_move_end_point(msdf_segment_handle segment, struct msdf_vector2 const * point)static intnmsdf_segment_move_start_point(long segment, long point) int msdf_segment_move_start_point(msdf_segment_handle segment, struct msdf_vector2 const * point)static intnmsdf_segment_point(long segment, double param, long point) int msdf_segment_point(msdf_segment_const_handle segment, double param, struct msdf_vector2 * point)static intnmsdf_segment_set_color(long segment, int color) int msdf_segment_set_color(msdf_segment_handle segment, int color)static intnmsdf_segment_set_point(long segment, long index, long point) int msdf_segment_set_point(msdf_segment_handle segment, size_t index, struct msdf_vector2 const * point)static intnmsdf_shape_add_contour(long shape, long contour) int msdf_shape_add_contour(msdf_shape_handle shape, msdf_contour_const_handle * contour)static intnmsdf_shape_alloc(long shape) int msdf_shape_alloc(msdf_shape_handle * shape)static intnmsdf_shape_bound(long shape, long bounds) int msdf_shape_bound(msdf_shape_const_handle shape, struct msdf_bounds * bounds)static intnmsdf_shape_bound_miters(long shape, long bounds, double border, double miter_limit, int polarity) int msdf_shape_bound_miters(msdf_shape_const_handle shape, struct msdf_bounds * bounds, double border, double miter_limit, int polarity)static intnmsdf_shape_edge_colors_by_distance(long shape, double angle_threshold) int msdf_shape_edge_colors_by_distance(msdf_shape_handle shape, double angle_threshold)static intnmsdf_shape_edge_colors_ink_trap(long shape, double angle_threshold) int msdf_shape_edge_colors_ink_trap(msdf_shape_handle shape, double angle_threshold)static intnmsdf_shape_edge_colors_simple(long shape, double angle_threshold) int msdf_shape_edge_colors_simple(msdf_shape_handle shape, double angle_threshold)static voidnmsdf_shape_free(long shape) void msdf_shape_free(msdf_shape_handle shape)static intnmsdf_shape_get_bounds(long shape, long bounds) int msdf_shape_get_bounds(msdf_shape_const_handle shape, struct msdf_bounds * bounds)static intnmsdf_shape_get_contour(long shape, long index, long contour) int msdf_shape_get_contour(msdf_shape_const_handle shape, size_t index, msdf_contour_const_handle * contour)static intnmsdf_shape_get_contour_count(long shape, long size) int msdf_shape_get_contour_count(msdf_shape_const_handle shape, size_t * size)static intnmsdf_shape_get_edge_count(long shape, long count) int msdf_shape_get_edge_count(msdf_shape_const_handle shape, size_t * count)static intnmsdf_shape_has_inverse_y_axis(long shape, long inverse_y_axis) int msdf_shape_has_inverse_y_axis(msdf_shape_const_handle shape, int * inverse_y_axis)static intnmsdf_shape_normalize(long shape) int msdf_shape_normalize(msdf_shape_handle shape)static intnmsdf_shape_one_shot_distance(long shape, long origin, long distance) int msdf_shape_one_shot_distance(msdf_shape_const_handle shape, struct msdf_vector2 const * origin, double * distance)static intnmsdf_shape_orient_contours(long shape) int msdf_shape_orient_contours(msdf_shape_handle shape)static intnmsdf_shape_remove_contour(long shape, long contour) int msdf_shape_remove_contour(msdf_shape_handle shape, msdf_contour_const_handle contour)static intnmsdf_shape_validate(long shape, long result) int msdf_shape_validate(msdf_shape_handle shape, int * result)
-
Field Details
-
MSDF_FALSE
public static final int MSDF_FALSE- See Also:
-
MSDF_TRUE
public static final int MSDF_TRUE- See Also:
-
MSDF_SUCCESS
public static final int MSDF_SUCCESS- See Also:
-
MSDF_ERR_FAILED
public static final int MSDF_ERR_FAILED- See Also:
-
MSDF_ERR_INVALID_ARG
public static final int MSDF_ERR_INVALID_ARG- See Also:
-
MSDF_ERR_INVALID_TYPE
public static final int MSDF_ERR_INVALID_TYPE- See Also:
-
MSDF_ERR_INVALID_SIZE
public static final int MSDF_ERR_INVALID_SIZE- See Also:
-
MSDF_ERR_INVALID_INDEX
public static final int MSDF_ERR_INVALID_INDEX- See Also:
-
MSDF_BITMAP_TYPE_SDF
public static final int MSDF_BITMAP_TYPE_SDF- See Also:
-
MSDF_BITMAP_TYPE_PSDF
public static final int MSDF_BITMAP_TYPE_PSDF- See Also:
-
MSDF_BITMAP_TYPE_MSDF
public static final int MSDF_BITMAP_TYPE_MSDF- See Also:
-
MSDF_BITMAP_TYPE_MTSDF
public static final int MSDF_BITMAP_TYPE_MTSDF- See Also:
-
MSDF_SEGMENT_TYPE_LINEAR
public static final int MSDF_SEGMENT_TYPE_LINEAR- See Also:
-
MSDF_SEGMENT_TYPE_QUADRATIC
public static final int MSDF_SEGMENT_TYPE_QUADRATIC- See Also:
-
MSDF_SEGMENT_TYPE_CUBIC
public static final int MSDF_SEGMENT_TYPE_CUBIC- See Also:
-
MSDF_EDGE_COLOR_BLACK
public static final int MSDF_EDGE_COLOR_BLACK- See Also:
-
MSDF_EDGE_COLOR_RED
public static final int MSDF_EDGE_COLOR_RED- See Also:
-
MSDF_EDGE_COLOR_GREEN
public static final int MSDF_EDGE_COLOR_GREEN- See Also:
-
MSDF_EDGE_COLOR_YELLOW
public static final int MSDF_EDGE_COLOR_YELLOW- See Also:
-
MSDF_EDGE_COLOR_BLUE
public static final int MSDF_EDGE_COLOR_BLUE- See Also:
-
MSDF_EDGE_COLOR_MAGENTA
public static final int MSDF_EDGE_COLOR_MAGENTA- See Also:
-
MSDF_EDGE_COLOR_CYAN
public static final int MSDF_EDGE_COLOR_CYAN- See Also:
-
MSDF_EDGE_COLOR_WHITE
public static final int MSDF_EDGE_COLOR_WHITE- See Also:
-
MSDF_ERROR_CORRECTION_MODE_DISABLED
public static final int MSDF_ERROR_CORRECTION_MODE_DISABLED- See Also:
-
MSDF_ERROR_CORRECTION_MODE_INDISCRIMINATE
public static final int MSDF_ERROR_CORRECTION_MODE_INDISCRIMINATE- See Also:
-
MSDF_ERROR_CORRECTION_MODE_EDGE_PRIORITY
public static final int MSDF_ERROR_CORRECTION_MODE_EDGE_PRIORITY- See Also:
-
MSDF_ERROR_CORRECTION_MODE_EDGE_ONLY
public static final int MSDF_ERROR_CORRECTION_MODE_EDGE_ONLY- See Also:
-
MSDF_DISTANCE_CHECK_MODE_NONE
public static final int MSDF_DISTANCE_CHECK_MODE_NONE- See Also:
-
MSDF_DISTANCE_CHECK_MODE_AT_EDGE
public static final int MSDF_DISTANCE_CHECK_MODE_AT_EDGE- See Also:
-
MSDF_DISTANCE_CHECK_MODE_ALWAYS
public static final int MSDF_DISTANCE_CHECK_MODE_ALWAYS- See Also:
-
-
Method Details
-
nmsdf_bitmap_alloc
public static int nmsdf_bitmap_alloc(int type, int width, int height, long bitmap) int msdf_bitmap_alloc(int type, int width, int height, struct msdf_bitmap * bitmap) -
msdf_bitmap_alloc
int msdf_bitmap_alloc(int type, int width, int height, struct msdf_bitmap * bitmap) -
nmsdf_bitmap_get_channel_count
public static int nmsdf_bitmap_get_channel_count(long bitmap, long channel_count) int msdf_bitmap_get_channel_count(struct msdf_bitmap const * bitmap, int * channel_count) -
msdf_bitmap_get_channel_count
int msdf_bitmap_get_channel_count(struct msdf_bitmap const * bitmap, int * channel_count) -
nmsdf_bitmap_get_pixels
public static int nmsdf_bitmap_get_pixels(long bitmap, long pixels) int msdf_bitmap_get_pixels(struct msdf_bitmap const * bitmap, void ** pixels) -
msdf_bitmap_get_pixels
int msdf_bitmap_get_pixels(struct msdf_bitmap const * bitmap, void ** pixels) -
nmsdf_bitmap_get_byte_size
public static int nmsdf_bitmap_get_byte_size(long bitmap, long size) int msdf_bitmap_get_byte_size(struct msdf_bitmap const * bitmap, size_t * size) -
msdf_bitmap_get_byte_size
int msdf_bitmap_get_byte_size(struct msdf_bitmap const * bitmap, size_t * size) -
nmsdf_bitmap_free
public static void nmsdf_bitmap_free(long bitmap) void msdf_bitmap_free(struct msdf_bitmap * bitmap) -
msdf_bitmap_free
void msdf_bitmap_free(struct msdf_bitmap * bitmap) -
nmsdf_shape_alloc
public static int nmsdf_shape_alloc(long shape) int msdf_shape_alloc(msdf_shape_handle * shape) -
msdf_shape_alloc
int msdf_shape_alloc(msdf_shape_handle * shape) -
nmsdf_shape_get_bounds
public static int nmsdf_shape_get_bounds(long shape, long bounds) int msdf_shape_get_bounds(msdf_shape_const_handle shape, struct msdf_bounds * bounds) -
msdf_shape_get_bounds
int msdf_shape_get_bounds(msdf_shape_const_handle shape, struct msdf_bounds * bounds) -
nmsdf_shape_add_contour
public static int nmsdf_shape_add_contour(long shape, long contour) int msdf_shape_add_contour(msdf_shape_handle shape, msdf_contour_const_handle * contour) -
msdf_shape_add_contour
int msdf_shape_add_contour(msdf_shape_handle shape, msdf_contour_const_handle * contour) -
nmsdf_shape_remove_contour
public static int nmsdf_shape_remove_contour(long shape, long contour) int msdf_shape_remove_contour(msdf_shape_handle shape, msdf_contour_const_handle contour) -
msdf_shape_remove_contour
public static int msdf_shape_remove_contour(long shape, long contour) int msdf_shape_remove_contour(msdf_shape_handle shape, msdf_contour_const_handle contour) -
nmsdf_shape_get_contour_count
public static int nmsdf_shape_get_contour_count(long shape, long size) int msdf_shape_get_contour_count(msdf_shape_const_handle shape, size_t * size) -
msdf_shape_get_contour_count
int msdf_shape_get_contour_count(msdf_shape_const_handle shape, size_t * size) -
nmsdf_shape_get_contour
public static int nmsdf_shape_get_contour(long shape, long index, long contour) int msdf_shape_get_contour(msdf_shape_const_handle shape, size_t index, msdf_contour_const_handle * contour) -
msdf_shape_get_contour
int msdf_shape_get_contour(msdf_shape_const_handle shape, size_t index, msdf_contour_const_handle * contour) -
nmsdf_shape_get_edge_count
public static int nmsdf_shape_get_edge_count(long shape, long count) int msdf_shape_get_edge_count(msdf_shape_const_handle shape, size_t * count) -
msdf_shape_get_edge_count
int msdf_shape_get_edge_count(msdf_shape_const_handle shape, size_t * count) -
nmsdf_shape_has_inverse_y_axis
public static int nmsdf_shape_has_inverse_y_axis(long shape, long inverse_y_axis) int msdf_shape_has_inverse_y_axis(msdf_shape_const_handle shape, int * inverse_y_axis) -
msdf_shape_has_inverse_y_axis
int msdf_shape_has_inverse_y_axis(msdf_shape_const_handle shape, int * inverse_y_axis) -
nmsdf_shape_normalize
public static int nmsdf_shape_normalize(long shape) int msdf_shape_normalize(msdf_shape_handle shape) -
msdf_shape_normalize
public static int msdf_shape_normalize(long shape) int msdf_shape_normalize(msdf_shape_handle shape) -
nmsdf_shape_validate
public static int nmsdf_shape_validate(long shape, long result) int msdf_shape_validate(msdf_shape_handle shape, int * result) -
msdf_shape_validate
int msdf_shape_validate(msdf_shape_handle shape, int * result) -
nmsdf_shape_bound
public static int nmsdf_shape_bound(long shape, long bounds) int msdf_shape_bound(msdf_shape_const_handle shape, struct msdf_bounds * bounds) -
msdf_shape_bound
int msdf_shape_bound(msdf_shape_const_handle shape, struct msdf_bounds * bounds) -
nmsdf_shape_bound_miters
public static int nmsdf_shape_bound_miters(long shape, long bounds, double border, double miter_limit, int polarity) int msdf_shape_bound_miters(msdf_shape_const_handle shape, struct msdf_bounds * bounds, double border, double miter_limit, int polarity) -
msdf_shape_bound_miters
public static int msdf_shape_bound_miters(long shape, MSDFGenBounds bounds, double border, double miter_limit, int polarity) int msdf_shape_bound_miters(msdf_shape_const_handle shape, struct msdf_bounds * bounds, double border, double miter_limit, int polarity) -
nmsdf_shape_orient_contours
public static int nmsdf_shape_orient_contours(long shape) int msdf_shape_orient_contours(msdf_shape_handle shape) -
msdf_shape_orient_contours
public static int msdf_shape_orient_contours(long shape) int msdf_shape_orient_contours(msdf_shape_handle shape) -
nmsdf_shape_edge_colors_simple
public static int nmsdf_shape_edge_colors_simple(long shape, double angle_threshold) int msdf_shape_edge_colors_simple(msdf_shape_handle shape, double angle_threshold) -
msdf_shape_edge_colors_simple
public static int msdf_shape_edge_colors_simple(long shape, double angle_threshold) int msdf_shape_edge_colors_simple(msdf_shape_handle shape, double angle_threshold) -
nmsdf_shape_edge_colors_ink_trap
public static int nmsdf_shape_edge_colors_ink_trap(long shape, double angle_threshold) int msdf_shape_edge_colors_ink_trap(msdf_shape_handle shape, double angle_threshold) -
msdf_shape_edge_colors_ink_trap
public static int msdf_shape_edge_colors_ink_trap(long shape, double angle_threshold) int msdf_shape_edge_colors_ink_trap(msdf_shape_handle shape, double angle_threshold) -
nmsdf_shape_edge_colors_by_distance
public static int nmsdf_shape_edge_colors_by_distance(long shape, double angle_threshold) int msdf_shape_edge_colors_by_distance(msdf_shape_handle shape, double angle_threshold) -
msdf_shape_edge_colors_by_distance
public static int msdf_shape_edge_colors_by_distance(long shape, double angle_threshold) int msdf_shape_edge_colors_by_distance(msdf_shape_handle shape, double angle_threshold) -
nmsdf_shape_one_shot_distance
public static int nmsdf_shape_one_shot_distance(long shape, long origin, long distance) int msdf_shape_one_shot_distance(msdf_shape_const_handle shape, struct msdf_vector2 const * origin, double * distance) -
msdf_shape_one_shot_distance
public static int msdf_shape_one_shot_distance(long shape, MSDFGenVector2 origin, DoubleBuffer distance) int msdf_shape_one_shot_distance(msdf_shape_const_handle shape, struct msdf_vector2 const * origin, double * distance) -
nmsdf_shape_free
public static void nmsdf_shape_free(long shape) void msdf_shape_free(msdf_shape_handle shape) -
msdf_shape_free
public static void msdf_shape_free(long shape) void msdf_shape_free(msdf_shape_handle shape) -
nmsdf_contour_alloc
public static int nmsdf_contour_alloc(long contour) int msdf_contour_alloc(msdf_contour_handle * contour) -
msdf_contour_alloc
int msdf_contour_alloc(msdf_contour_handle * contour) -
nmsdf_contour_add_edge
public static int nmsdf_contour_add_edge(long contour, long segment) int msdf_contour_add_edge(msdf_contour_handle contour, msdf_segment_handle segment) -
msdf_contour_add_edge
public static int msdf_contour_add_edge(long contour, long segment) int msdf_contour_add_edge(msdf_contour_handle contour, msdf_segment_handle segment) -
nmsdf_contour_remove_edge
public static int nmsdf_contour_remove_edge(long contour, long segment) int msdf_contour_remove_edge(msdf_contour_handle contour, msdf_segment_handle segment) -
msdf_contour_remove_edge
public static int msdf_contour_remove_edge(long contour, long segment) int msdf_contour_remove_edge(msdf_contour_handle contour, msdf_segment_handle segment) -
nmsdf_contour_get_edge_count
public static int nmsdf_contour_get_edge_count(long contour, long count) int msdf_contour_get_edge_count(msdf_contour_const_handle contour, size_t * count) -
msdf_contour_get_edge_count
int msdf_contour_get_edge_count(msdf_contour_const_handle contour, size_t * count) -
nmsdf_contour_get_edge
public static int nmsdf_contour_get_edge(long contour, long index, long segment) int msdf_contour_get_edge(msdf_contour_const_handle contour, size_t index, msdf_segment_const_handle * segment) -
msdf_contour_get_edge
int msdf_contour_get_edge(msdf_contour_const_handle contour, size_t index, msdf_segment_const_handle * segment) -
nmsdf_contour_bound
public static int nmsdf_contour_bound(long contour, long bounds) int msdf_contour_bound(msdf_contour_const_handle contour, struct msdf_bounds * bounds) -
msdf_contour_bound
int msdf_contour_bound(msdf_contour_const_handle contour, struct msdf_bounds * bounds) -
nmsdf_contour_bound_miters
public static int nmsdf_contour_bound_miters(long contour, long bounds, double border, double miter_limit, int polarity) int msdf_contour_bound_miters(msdf_contour_const_handle contour, struct msdf_bounds * bounds, double border, double miter_limit, int polarity) -
msdf_contour_bound_miters
public static int msdf_contour_bound_miters(long contour, MSDFGenBounds bounds, double border, double miter_limit, int polarity) int msdf_contour_bound_miters(msdf_contour_const_handle contour, struct msdf_bounds * bounds, double border, double miter_limit, int polarity) -
nmsdf_contour_get_winding
public static int nmsdf_contour_get_winding(long contour, long winding) int msdf_contour_get_winding(msdf_contour_const_handle contour, int * winding) -
msdf_contour_get_winding
int msdf_contour_get_winding(msdf_contour_const_handle contour, int * winding) -
nmsdf_contour_reverse
public static int nmsdf_contour_reverse(long contour) int msdf_contour_reverse(msdf_contour_handle contour) -
msdf_contour_reverse
public static int msdf_contour_reverse(long contour) int msdf_contour_reverse(msdf_contour_handle contour) -
nmsdf_contour_free
public static void nmsdf_contour_free(long contour) void msdf_contour_free(msdf_contour_handle contour) -
msdf_contour_free
public static void msdf_contour_free(long contour) void msdf_contour_free(msdf_contour_handle contour) -
nmsdf_segment_alloc
public static int nmsdf_segment_alloc(int type, long segment) int msdf_segment_alloc(int type, msdf_segment_handle * segment) -
msdf_segment_alloc
int msdf_segment_alloc(int type, msdf_segment_handle * segment) -
nmsdf_segment_get_type
public static int nmsdf_segment_get_type(long segment, long type) int msdf_segment_get_type(msdf_segment_const_handle segment, int * type) -
msdf_segment_get_type
int msdf_segment_get_type(msdf_segment_const_handle segment, int * type) -
nmsdf_segment_get_point_count
public static int nmsdf_segment_get_point_count(long segment, long count) int msdf_segment_get_point_count(msdf_segment_const_handle segment, size_t * count) -
msdf_segment_get_point_count
int msdf_segment_get_point_count(msdf_segment_const_handle segment, size_t * count) -
nmsdf_segment_get_point
public static int nmsdf_segment_get_point(long segment, long index, long point) int msdf_segment_get_point(msdf_segment_const_handle segment, size_t index, struct msdf_vector2 * point) -
msdf_segment_get_point
int msdf_segment_get_point(msdf_segment_const_handle segment, size_t index, struct msdf_vector2 * point) -
nmsdf_segment_set_point
public static int nmsdf_segment_set_point(long segment, long index, long point) int msdf_segment_set_point(msdf_segment_handle segment, size_t index, struct msdf_vector2 const * point) -
msdf_segment_set_point
int msdf_segment_set_point(msdf_segment_handle segment, size_t index, struct msdf_vector2 const * point) -
nmsdf_segment_get_color
public static int nmsdf_segment_get_color(long segment, long color) int msdf_segment_get_color(msdf_segment_const_handle segment, int * color) -
msdf_segment_get_color
int msdf_segment_get_color(msdf_segment_const_handle segment, int * color) -
nmsdf_segment_set_color
public static int nmsdf_segment_set_color(long segment, int color) int msdf_segment_set_color(msdf_segment_handle segment, int color) -
msdf_segment_set_color
public static int msdf_segment_set_color(long segment, int color) int msdf_segment_set_color(msdf_segment_handle segment, int color) -
nmsdf_segment_get_direction
public static int nmsdf_segment_get_direction(long segment, double param, long direction) int msdf_segment_get_direction(msdf_segment_const_handle segment, double param, struct msdf_vector2 * direction) -
msdf_segment_get_direction
int msdf_segment_get_direction(msdf_segment_const_handle segment, double param, struct msdf_vector2 * direction) -
nmsdf_segment_get_direction_change
public static int nmsdf_segment_get_direction_change(long segment, double param, long direction_change) int msdf_segment_get_direction_change(msdf_segment_const_handle segment, double param, struct msdf_vector2 * direction_change) -
msdf_segment_get_direction_change
public static int msdf_segment_get_direction_change(long segment, double param, MSDFGenVector2 direction_change) int msdf_segment_get_direction_change(msdf_segment_const_handle segment, double param, struct msdf_vector2 * direction_change) -
nmsdf_segment_point
public static int nmsdf_segment_point(long segment, double param, long point) int msdf_segment_point(msdf_segment_const_handle segment, double param, struct msdf_vector2 * point) -
msdf_segment_point
int msdf_segment_point(msdf_segment_const_handle segment, double param, struct msdf_vector2 * point) -
nmsdf_segment_bound
public static int nmsdf_segment_bound(long segment, long bounds) int msdf_segment_bound(msdf_segment_const_handle segment, struct msdf_bounds * bounds) -
msdf_segment_bound
int msdf_segment_bound(msdf_segment_const_handle segment, struct msdf_bounds * bounds) -
nmsdf_segment_move_start_point
public static int nmsdf_segment_move_start_point(long segment, long point) int msdf_segment_move_start_point(msdf_segment_handle segment, struct msdf_vector2 const * point) -
msdf_segment_move_start_point
int msdf_segment_move_start_point(msdf_segment_handle segment, struct msdf_vector2 const * point) -
nmsdf_segment_move_end_point
public static int nmsdf_segment_move_end_point(long segment, long point) int msdf_segment_move_end_point(msdf_segment_handle segment, struct msdf_vector2 const * point) -
msdf_segment_move_end_point
int msdf_segment_move_end_point(msdf_segment_handle segment, struct msdf_vector2 const * point) -
nmsdf_segment_free
public static void nmsdf_segment_free(long segment) void msdf_segment_free(msdf_segment_handle segment) -
msdf_segment_free
public static void msdf_segment_free(long segment) void msdf_segment_free(msdf_segment_handle segment) -
nmsdf_error_correction
public static int nmsdf_error_correction(long bitmap, long shape, long transform) int msdf_error_correction(struct msdf_bitmap * bitmap, msdf_shape_const_handle shape, struct msdf_transform const * transform) -
msdf_error_correction
public static int msdf_error_correction(MSDFGenBitmap bitmap, long shape, MSDFGenTransform transform) int msdf_error_correction(struct msdf_bitmap * bitmap, msdf_shape_const_handle shape, struct msdf_transform const * transform) -
nmsdf_error_correction_fast_distance
public static int nmsdf_error_correction_fast_distance(long bitmap, long transform) int msdf_error_correction_fast_distance(struct msdf_bitmap * bitmap, struct msdf_transform const * transform) -
msdf_error_correction_fast_distance
public static int msdf_error_correction_fast_distance(MSDFGenBitmap bitmap, MSDFGenTransform transform) int msdf_error_correction_fast_distance(struct msdf_bitmap * bitmap, struct msdf_transform const * transform) -
nmsdf_error_correction_fast_edge
public static int nmsdf_error_correction_fast_edge(long bitmap, long transform) int msdf_error_correction_fast_edge(struct msdf_bitmap * bitmap, struct msdf_transform const * transform) -
msdf_error_correction_fast_edge
int msdf_error_correction_fast_edge(struct msdf_bitmap * bitmap, struct msdf_transform const * transform) -
nmsdf_generate_sdf
public static int nmsdf_generate_sdf(long output, long shape, long transform) int msdf_generate_sdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform) -
msdf_generate_sdf
int msdf_generate_sdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform) -
nmsdf_generate_psdf
public static int nmsdf_generate_psdf(long output, long shape, long transform) int msdf_generate_psdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform) -
msdf_generate_psdf
int msdf_generate_psdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform) -
nmsdf_generate_msdf
public static int nmsdf_generate_msdf(long output, long shape, long transform) int msdf_generate_msdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform) -
msdf_generate_msdf
int msdf_generate_msdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform) -
nmsdf_generate_mtsdf
public static int nmsdf_generate_mtsdf(long output, long shape, long transform) int msdf_generate_mtsdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform) -
msdf_generate_mtsdf
int msdf_generate_mtsdf(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform) -
nmsdf_generate_sdf_with_config
public static int nmsdf_generate_sdf_with_config(long output, long shape, long transform, long config) int msdf_generate_sdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_config const * config) -
msdf_generate_sdf_with_config
public static int msdf_generate_sdf_with_config(MSDFGenBitmap output, long shape, MSDFGenTransform transform, MSDFGenConfig config) int msdf_generate_sdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_config const * config) -
nmsdf_generate_psdf_with_config
public static int nmsdf_generate_psdf_with_config(long output, long shape, long transform, long config) int msdf_generate_psdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_config const * config) -
msdf_generate_psdf_with_config
public static int msdf_generate_psdf_with_config(MSDFGenBitmap output, long shape, MSDFGenTransform transform, MSDFGenConfig config) int msdf_generate_psdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_config const * config) -
nmsdf_generate_msdf_with_config
public static int nmsdf_generate_msdf_with_config(long output, long shape, long transform, long config) int msdf_generate_msdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_multichannel_config const * config) -
msdf_generate_msdf_with_config
public static int msdf_generate_msdf_with_config(MSDFGenBitmap output, long shape, MSDFGenTransform transform, MSDFGenMultichannelConfig config) int msdf_generate_msdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_multichannel_config const * config) -
nmsdf_generate_mtsdf_with_config
public static int nmsdf_generate_mtsdf_with_config(long output, long shape, long transform, long config) int msdf_generate_mtsdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_multichannel_config const * config) -
msdf_generate_mtsdf_with_config
public static int msdf_generate_mtsdf_with_config(MSDFGenBitmap output, long shape, MSDFGenTransform transform, MSDFGenMultichannelConfig config) int msdf_generate_mtsdf_with_config(struct msdf_bitmap * output, msdf_shape_const_handle shape, struct msdf_transform const * transform, struct msdf_multichannel_config const * config) -
nmsdf_render_sdf
public static int nmsdf_render_sdf(long output, long sdf) int msdf_render_sdf(struct msdf_bitmap * output, struct msdf_bitmap * sdf) -
msdf_render_sdf
int msdf_render_sdf(struct msdf_bitmap * output, struct msdf_bitmap * sdf)
-