code
stringlengths
11
173k
docstring
stringlengths
2
593k
func_name
stringlengths
2
189
language
stringclasses
1 value
repo
stringclasses
833 values
path
stringlengths
11
294
url
stringlengths
60
339
license
stringclasses
4 values
public static byte nnum_snap_heights(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_HEIGHTS); }
Create a {@link PS_Private.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static PS_Private.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static PS_Private.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #unique_id}. public static int nunique_id(long struct) { return memGetInt(struct + PS_Private.UNIQUE_ID); } /** Unsafe version of {@link #lenIV}. public static int nlenIV(long struct) { return memGetInt(struct + PS_Private.LENIV); } /** Unsafe version of {@link #num_blue_values}. public static byte nnum_blue_values(long struct) { return memGetByte(struct + PS_Private.NUM_BLUE_VALUES); } /** Unsafe version of {@link #num_other_blues}. public static byte nnum_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_OTHER_BLUES); } /** Unsafe version of {@link #num_family_blues}. public static byte nnum_family_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_BLUES); } /** Unsafe version of {@link #num_family_other_blues}. public static byte nnum_family_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_OTHER_BLUES); } /** Unsafe version of {@link #blue_values}. public static ShortBuffer nblue_values(long struct) { return memShortBuffer(struct + PS_Private.BLUE_VALUES, 14); } /** Unsafe version of {@link #blue_values(int) blue_values}. public static short nblue_values(long struct, int index) { return memGetShort(struct + PS_Private.BLUE_VALUES + check(index, 14) * 2); } /** Unsafe version of {@link #other_blues}. public static ShortBuffer nother_blues(long struct) { return memShortBuffer(struct + PS_Private.OTHER_BLUES, 10); } /** Unsafe version of {@link #other_blues(int) other_blues}. public static short nother_blues(long struct, int index) { return memGetShort(struct + PS_Private.OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #family_blues}. public static ShortBuffer nfamily_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_BLUES, 14); } /** Unsafe version of {@link #family_blues(int) family_blues}. public static short nfamily_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_BLUES + check(index, 14) * 2); } /** Unsafe version of {@link #family_other_blues}. public static ShortBuffer nfamily_other_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_OTHER_BLUES, 10); } /** Unsafe version of {@link #family_other_blues(int) family_other_blues}. public static short nfamily_other_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #blue_scale}. public static long nblue_scale(long struct) { return memGetCLong(struct + PS_Private.BLUE_SCALE); } /** Unsafe version of {@link #blue_shift}. public static int nblue_shift(long struct) { return memGetInt(struct + PS_Private.BLUE_SHIFT); } /** Unsafe version of {@link #blue_fuzz}. public static int nblue_fuzz(long struct) { return memGetInt(struct + PS_Private.BLUE_FUZZ); } /** Unsafe version of {@link #standard_width}. public static ShortBuffer nstandard_width(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_WIDTH, 1); } /** Unsafe version of {@link #standard_width(int) standard_width}. public static short nstandard_width(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_WIDTH + check(index, 1) * 2); } /** Unsafe version of {@link #standard_height}. public static ShortBuffer nstandard_height(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_HEIGHT, 1); } /** Unsafe version of {@link #standard_height(int) standard_height}. public static short nstandard_height(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_HEIGHT + check(index, 1) * 2); } /** Unsafe version of {@link #num_snap_widths}. public static byte nnum_snap_widths(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_WIDTHS); } /** Unsafe version of {@link #num_snap_heights}.
PS_Private::nnum_snap_heights
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
BSD-3-Clause
public static boolean nforce_bold(long struct) { return memGetByte(struct + PS_Private.FORCE_BOLD) != 0; }
Create a {@link PS_Private.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static PS_Private.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static PS_Private.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #unique_id}. public static int nunique_id(long struct) { return memGetInt(struct + PS_Private.UNIQUE_ID); } /** Unsafe version of {@link #lenIV}. public static int nlenIV(long struct) { return memGetInt(struct + PS_Private.LENIV); } /** Unsafe version of {@link #num_blue_values}. public static byte nnum_blue_values(long struct) { return memGetByte(struct + PS_Private.NUM_BLUE_VALUES); } /** Unsafe version of {@link #num_other_blues}. public static byte nnum_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_OTHER_BLUES); } /** Unsafe version of {@link #num_family_blues}. public static byte nnum_family_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_BLUES); } /** Unsafe version of {@link #num_family_other_blues}. public static byte nnum_family_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_OTHER_BLUES); } /** Unsafe version of {@link #blue_values}. public static ShortBuffer nblue_values(long struct) { return memShortBuffer(struct + PS_Private.BLUE_VALUES, 14); } /** Unsafe version of {@link #blue_values(int) blue_values}. public static short nblue_values(long struct, int index) { return memGetShort(struct + PS_Private.BLUE_VALUES + check(index, 14) * 2); } /** Unsafe version of {@link #other_blues}. public static ShortBuffer nother_blues(long struct) { return memShortBuffer(struct + PS_Private.OTHER_BLUES, 10); } /** Unsafe version of {@link #other_blues(int) other_blues}. public static short nother_blues(long struct, int index) { return memGetShort(struct + PS_Private.OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #family_blues}. public static ShortBuffer nfamily_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_BLUES, 14); } /** Unsafe version of {@link #family_blues(int) family_blues}. public static short nfamily_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_BLUES + check(index, 14) * 2); } /** Unsafe version of {@link #family_other_blues}. public static ShortBuffer nfamily_other_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_OTHER_BLUES, 10); } /** Unsafe version of {@link #family_other_blues(int) family_other_blues}. public static short nfamily_other_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #blue_scale}. public static long nblue_scale(long struct) { return memGetCLong(struct + PS_Private.BLUE_SCALE); } /** Unsafe version of {@link #blue_shift}. public static int nblue_shift(long struct) { return memGetInt(struct + PS_Private.BLUE_SHIFT); } /** Unsafe version of {@link #blue_fuzz}. public static int nblue_fuzz(long struct) { return memGetInt(struct + PS_Private.BLUE_FUZZ); } /** Unsafe version of {@link #standard_width}. public static ShortBuffer nstandard_width(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_WIDTH, 1); } /** Unsafe version of {@link #standard_width(int) standard_width}. public static short nstandard_width(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_WIDTH + check(index, 1) * 2); } /** Unsafe version of {@link #standard_height}. public static ShortBuffer nstandard_height(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_HEIGHT, 1); } /** Unsafe version of {@link #standard_height(int) standard_height}. public static short nstandard_height(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_HEIGHT + check(index, 1) * 2); } /** Unsafe version of {@link #num_snap_widths}. public static byte nnum_snap_widths(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_WIDTHS); } /** Unsafe version of {@link #num_snap_heights}. public static byte nnum_snap_heights(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_HEIGHTS); } /** Unsafe version of {@link #force_bold}.
PS_Private::nforce_bold
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
BSD-3-Clause
public static boolean nround_stem_up(long struct) { return memGetByte(struct + PS_Private.ROUND_STEM_UP) != 0; }
Create a {@link PS_Private.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static PS_Private.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static PS_Private.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #unique_id}. public static int nunique_id(long struct) { return memGetInt(struct + PS_Private.UNIQUE_ID); } /** Unsafe version of {@link #lenIV}. public static int nlenIV(long struct) { return memGetInt(struct + PS_Private.LENIV); } /** Unsafe version of {@link #num_blue_values}. public static byte nnum_blue_values(long struct) { return memGetByte(struct + PS_Private.NUM_BLUE_VALUES); } /** Unsafe version of {@link #num_other_blues}. public static byte nnum_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_OTHER_BLUES); } /** Unsafe version of {@link #num_family_blues}. public static byte nnum_family_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_BLUES); } /** Unsafe version of {@link #num_family_other_blues}. public static byte nnum_family_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_OTHER_BLUES); } /** Unsafe version of {@link #blue_values}. public static ShortBuffer nblue_values(long struct) { return memShortBuffer(struct + PS_Private.BLUE_VALUES, 14); } /** Unsafe version of {@link #blue_values(int) blue_values}. public static short nblue_values(long struct, int index) { return memGetShort(struct + PS_Private.BLUE_VALUES + check(index, 14) * 2); } /** Unsafe version of {@link #other_blues}. public static ShortBuffer nother_blues(long struct) { return memShortBuffer(struct + PS_Private.OTHER_BLUES, 10); } /** Unsafe version of {@link #other_blues(int) other_blues}. public static short nother_blues(long struct, int index) { return memGetShort(struct + PS_Private.OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #family_blues}. public static ShortBuffer nfamily_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_BLUES, 14); } /** Unsafe version of {@link #family_blues(int) family_blues}. public static short nfamily_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_BLUES + check(index, 14) * 2); } /** Unsafe version of {@link #family_other_blues}. public static ShortBuffer nfamily_other_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_OTHER_BLUES, 10); } /** Unsafe version of {@link #family_other_blues(int) family_other_blues}. public static short nfamily_other_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #blue_scale}. public static long nblue_scale(long struct) { return memGetCLong(struct + PS_Private.BLUE_SCALE); } /** Unsafe version of {@link #blue_shift}. public static int nblue_shift(long struct) { return memGetInt(struct + PS_Private.BLUE_SHIFT); } /** Unsafe version of {@link #blue_fuzz}. public static int nblue_fuzz(long struct) { return memGetInt(struct + PS_Private.BLUE_FUZZ); } /** Unsafe version of {@link #standard_width}. public static ShortBuffer nstandard_width(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_WIDTH, 1); } /** Unsafe version of {@link #standard_width(int) standard_width}. public static short nstandard_width(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_WIDTH + check(index, 1) * 2); } /** Unsafe version of {@link #standard_height}. public static ShortBuffer nstandard_height(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_HEIGHT, 1); } /** Unsafe version of {@link #standard_height(int) standard_height}. public static short nstandard_height(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_HEIGHT + check(index, 1) * 2); } /** Unsafe version of {@link #num_snap_widths}. public static byte nnum_snap_widths(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_WIDTHS); } /** Unsafe version of {@link #num_snap_heights}. public static byte nnum_snap_heights(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_HEIGHTS); } /** Unsafe version of {@link #force_bold}. public static boolean nforce_bold(long struct) { return memGetByte(struct + PS_Private.FORCE_BOLD) != 0; } /** Unsafe version of {@link #round_stem_up}.
PS_Private::nround_stem_up
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
BSD-3-Clause
public static ShortBuffer nsnap_widths(long struct) { return memShortBuffer(struct + PS_Private.SNAP_WIDTHS, 13); }
Create a {@link PS_Private.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static PS_Private.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static PS_Private.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #unique_id}. public static int nunique_id(long struct) { return memGetInt(struct + PS_Private.UNIQUE_ID); } /** Unsafe version of {@link #lenIV}. public static int nlenIV(long struct) { return memGetInt(struct + PS_Private.LENIV); } /** Unsafe version of {@link #num_blue_values}. public static byte nnum_blue_values(long struct) { return memGetByte(struct + PS_Private.NUM_BLUE_VALUES); } /** Unsafe version of {@link #num_other_blues}. public static byte nnum_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_OTHER_BLUES); } /** Unsafe version of {@link #num_family_blues}. public static byte nnum_family_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_BLUES); } /** Unsafe version of {@link #num_family_other_blues}. public static byte nnum_family_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_OTHER_BLUES); } /** Unsafe version of {@link #blue_values}. public static ShortBuffer nblue_values(long struct) { return memShortBuffer(struct + PS_Private.BLUE_VALUES, 14); } /** Unsafe version of {@link #blue_values(int) blue_values}. public static short nblue_values(long struct, int index) { return memGetShort(struct + PS_Private.BLUE_VALUES + check(index, 14) * 2); } /** Unsafe version of {@link #other_blues}. public static ShortBuffer nother_blues(long struct) { return memShortBuffer(struct + PS_Private.OTHER_BLUES, 10); } /** Unsafe version of {@link #other_blues(int) other_blues}. public static short nother_blues(long struct, int index) { return memGetShort(struct + PS_Private.OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #family_blues}. public static ShortBuffer nfamily_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_BLUES, 14); } /** Unsafe version of {@link #family_blues(int) family_blues}. public static short nfamily_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_BLUES + check(index, 14) * 2); } /** Unsafe version of {@link #family_other_blues}. public static ShortBuffer nfamily_other_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_OTHER_BLUES, 10); } /** Unsafe version of {@link #family_other_blues(int) family_other_blues}. public static short nfamily_other_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #blue_scale}. public static long nblue_scale(long struct) { return memGetCLong(struct + PS_Private.BLUE_SCALE); } /** Unsafe version of {@link #blue_shift}. public static int nblue_shift(long struct) { return memGetInt(struct + PS_Private.BLUE_SHIFT); } /** Unsafe version of {@link #blue_fuzz}. public static int nblue_fuzz(long struct) { return memGetInt(struct + PS_Private.BLUE_FUZZ); } /** Unsafe version of {@link #standard_width}. public static ShortBuffer nstandard_width(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_WIDTH, 1); } /** Unsafe version of {@link #standard_width(int) standard_width}. public static short nstandard_width(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_WIDTH + check(index, 1) * 2); } /** Unsafe version of {@link #standard_height}. public static ShortBuffer nstandard_height(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_HEIGHT, 1); } /** Unsafe version of {@link #standard_height(int) standard_height}. public static short nstandard_height(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_HEIGHT + check(index, 1) * 2); } /** Unsafe version of {@link #num_snap_widths}. public static byte nnum_snap_widths(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_WIDTHS); } /** Unsafe version of {@link #num_snap_heights}. public static byte nnum_snap_heights(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_HEIGHTS); } /** Unsafe version of {@link #force_bold}. public static boolean nforce_bold(long struct) { return memGetByte(struct + PS_Private.FORCE_BOLD) != 0; } /** Unsafe version of {@link #round_stem_up}. public static boolean nround_stem_up(long struct) { return memGetByte(struct + PS_Private.ROUND_STEM_UP) != 0; } /** Unsafe version of {@link #snap_widths}.
PS_Private::nsnap_widths
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
BSD-3-Clause
public static short nsnap_widths(long struct, int index) { return memGetShort(struct + PS_Private.SNAP_WIDTHS + check(index, 13) * 2); }
Create a {@link PS_Private.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static PS_Private.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static PS_Private.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #unique_id}. public static int nunique_id(long struct) { return memGetInt(struct + PS_Private.UNIQUE_ID); } /** Unsafe version of {@link #lenIV}. public static int nlenIV(long struct) { return memGetInt(struct + PS_Private.LENIV); } /** Unsafe version of {@link #num_blue_values}. public static byte nnum_blue_values(long struct) { return memGetByte(struct + PS_Private.NUM_BLUE_VALUES); } /** Unsafe version of {@link #num_other_blues}. public static byte nnum_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_OTHER_BLUES); } /** Unsafe version of {@link #num_family_blues}. public static byte nnum_family_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_BLUES); } /** Unsafe version of {@link #num_family_other_blues}. public static byte nnum_family_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_OTHER_BLUES); } /** Unsafe version of {@link #blue_values}. public static ShortBuffer nblue_values(long struct) { return memShortBuffer(struct + PS_Private.BLUE_VALUES, 14); } /** Unsafe version of {@link #blue_values(int) blue_values}. public static short nblue_values(long struct, int index) { return memGetShort(struct + PS_Private.BLUE_VALUES + check(index, 14) * 2); } /** Unsafe version of {@link #other_blues}. public static ShortBuffer nother_blues(long struct) { return memShortBuffer(struct + PS_Private.OTHER_BLUES, 10); } /** Unsafe version of {@link #other_blues(int) other_blues}. public static short nother_blues(long struct, int index) { return memGetShort(struct + PS_Private.OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #family_blues}. public static ShortBuffer nfamily_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_BLUES, 14); } /** Unsafe version of {@link #family_blues(int) family_blues}. public static short nfamily_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_BLUES + check(index, 14) * 2); } /** Unsafe version of {@link #family_other_blues}. public static ShortBuffer nfamily_other_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_OTHER_BLUES, 10); } /** Unsafe version of {@link #family_other_blues(int) family_other_blues}. public static short nfamily_other_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #blue_scale}. public static long nblue_scale(long struct) { return memGetCLong(struct + PS_Private.BLUE_SCALE); } /** Unsafe version of {@link #blue_shift}. public static int nblue_shift(long struct) { return memGetInt(struct + PS_Private.BLUE_SHIFT); } /** Unsafe version of {@link #blue_fuzz}. public static int nblue_fuzz(long struct) { return memGetInt(struct + PS_Private.BLUE_FUZZ); } /** Unsafe version of {@link #standard_width}. public static ShortBuffer nstandard_width(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_WIDTH, 1); } /** Unsafe version of {@link #standard_width(int) standard_width}. public static short nstandard_width(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_WIDTH + check(index, 1) * 2); } /** Unsafe version of {@link #standard_height}. public static ShortBuffer nstandard_height(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_HEIGHT, 1); } /** Unsafe version of {@link #standard_height(int) standard_height}. public static short nstandard_height(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_HEIGHT + check(index, 1) * 2); } /** Unsafe version of {@link #num_snap_widths}. public static byte nnum_snap_widths(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_WIDTHS); } /** Unsafe version of {@link #num_snap_heights}. public static byte nnum_snap_heights(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_HEIGHTS); } /** Unsafe version of {@link #force_bold}. public static boolean nforce_bold(long struct) { return memGetByte(struct + PS_Private.FORCE_BOLD) != 0; } /** Unsafe version of {@link #round_stem_up}. public static boolean nround_stem_up(long struct) { return memGetByte(struct + PS_Private.ROUND_STEM_UP) != 0; } /** Unsafe version of {@link #snap_widths}. public static ShortBuffer nsnap_widths(long struct) { return memShortBuffer(struct + PS_Private.SNAP_WIDTHS, 13); } /** Unsafe version of {@link #snap_widths(int) snap_widths}.
PS_Private::nsnap_widths
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
BSD-3-Clause
public static ShortBuffer nsnap_heights(long struct) { return memShortBuffer(struct + PS_Private.SNAP_HEIGHTS, 13); }
Create a {@link PS_Private.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static PS_Private.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static PS_Private.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #unique_id}. public static int nunique_id(long struct) { return memGetInt(struct + PS_Private.UNIQUE_ID); } /** Unsafe version of {@link #lenIV}. public static int nlenIV(long struct) { return memGetInt(struct + PS_Private.LENIV); } /** Unsafe version of {@link #num_blue_values}. public static byte nnum_blue_values(long struct) { return memGetByte(struct + PS_Private.NUM_BLUE_VALUES); } /** Unsafe version of {@link #num_other_blues}. public static byte nnum_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_OTHER_BLUES); } /** Unsafe version of {@link #num_family_blues}. public static byte nnum_family_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_BLUES); } /** Unsafe version of {@link #num_family_other_blues}. public static byte nnum_family_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_OTHER_BLUES); } /** Unsafe version of {@link #blue_values}. public static ShortBuffer nblue_values(long struct) { return memShortBuffer(struct + PS_Private.BLUE_VALUES, 14); } /** Unsafe version of {@link #blue_values(int) blue_values}. public static short nblue_values(long struct, int index) { return memGetShort(struct + PS_Private.BLUE_VALUES + check(index, 14) * 2); } /** Unsafe version of {@link #other_blues}. public static ShortBuffer nother_blues(long struct) { return memShortBuffer(struct + PS_Private.OTHER_BLUES, 10); } /** Unsafe version of {@link #other_blues(int) other_blues}. public static short nother_blues(long struct, int index) { return memGetShort(struct + PS_Private.OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #family_blues}. public static ShortBuffer nfamily_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_BLUES, 14); } /** Unsafe version of {@link #family_blues(int) family_blues}. public static short nfamily_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_BLUES + check(index, 14) * 2); } /** Unsafe version of {@link #family_other_blues}. public static ShortBuffer nfamily_other_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_OTHER_BLUES, 10); } /** Unsafe version of {@link #family_other_blues(int) family_other_blues}. public static short nfamily_other_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #blue_scale}. public static long nblue_scale(long struct) { return memGetCLong(struct + PS_Private.BLUE_SCALE); } /** Unsafe version of {@link #blue_shift}. public static int nblue_shift(long struct) { return memGetInt(struct + PS_Private.BLUE_SHIFT); } /** Unsafe version of {@link #blue_fuzz}. public static int nblue_fuzz(long struct) { return memGetInt(struct + PS_Private.BLUE_FUZZ); } /** Unsafe version of {@link #standard_width}. public static ShortBuffer nstandard_width(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_WIDTH, 1); } /** Unsafe version of {@link #standard_width(int) standard_width}. public static short nstandard_width(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_WIDTH + check(index, 1) * 2); } /** Unsafe version of {@link #standard_height}. public static ShortBuffer nstandard_height(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_HEIGHT, 1); } /** Unsafe version of {@link #standard_height(int) standard_height}. public static short nstandard_height(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_HEIGHT + check(index, 1) * 2); } /** Unsafe version of {@link #num_snap_widths}. public static byte nnum_snap_widths(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_WIDTHS); } /** Unsafe version of {@link #num_snap_heights}. public static byte nnum_snap_heights(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_HEIGHTS); } /** Unsafe version of {@link #force_bold}. public static boolean nforce_bold(long struct) { return memGetByte(struct + PS_Private.FORCE_BOLD) != 0; } /** Unsafe version of {@link #round_stem_up}. public static boolean nround_stem_up(long struct) { return memGetByte(struct + PS_Private.ROUND_STEM_UP) != 0; } /** Unsafe version of {@link #snap_widths}. public static ShortBuffer nsnap_widths(long struct) { return memShortBuffer(struct + PS_Private.SNAP_WIDTHS, 13); } /** Unsafe version of {@link #snap_widths(int) snap_widths}. public static short nsnap_widths(long struct, int index) { return memGetShort(struct + PS_Private.SNAP_WIDTHS + check(index, 13) * 2); } /** Unsafe version of {@link #snap_heights}.
PS_Private::nsnap_heights
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
BSD-3-Clause
public static short nsnap_heights(long struct, int index) { return memGetShort(struct + PS_Private.SNAP_HEIGHTS + check(index, 13) * 2); }
Create a {@link PS_Private.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static PS_Private.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static PS_Private.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #unique_id}. public static int nunique_id(long struct) { return memGetInt(struct + PS_Private.UNIQUE_ID); } /** Unsafe version of {@link #lenIV}. public static int nlenIV(long struct) { return memGetInt(struct + PS_Private.LENIV); } /** Unsafe version of {@link #num_blue_values}. public static byte nnum_blue_values(long struct) { return memGetByte(struct + PS_Private.NUM_BLUE_VALUES); } /** Unsafe version of {@link #num_other_blues}. public static byte nnum_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_OTHER_BLUES); } /** Unsafe version of {@link #num_family_blues}. public static byte nnum_family_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_BLUES); } /** Unsafe version of {@link #num_family_other_blues}. public static byte nnum_family_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_OTHER_BLUES); } /** Unsafe version of {@link #blue_values}. public static ShortBuffer nblue_values(long struct) { return memShortBuffer(struct + PS_Private.BLUE_VALUES, 14); } /** Unsafe version of {@link #blue_values(int) blue_values}. public static short nblue_values(long struct, int index) { return memGetShort(struct + PS_Private.BLUE_VALUES + check(index, 14) * 2); } /** Unsafe version of {@link #other_blues}. public static ShortBuffer nother_blues(long struct) { return memShortBuffer(struct + PS_Private.OTHER_BLUES, 10); } /** Unsafe version of {@link #other_blues(int) other_blues}. public static short nother_blues(long struct, int index) { return memGetShort(struct + PS_Private.OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #family_blues}. public static ShortBuffer nfamily_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_BLUES, 14); } /** Unsafe version of {@link #family_blues(int) family_blues}. public static short nfamily_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_BLUES + check(index, 14) * 2); } /** Unsafe version of {@link #family_other_blues}. public static ShortBuffer nfamily_other_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_OTHER_BLUES, 10); } /** Unsafe version of {@link #family_other_blues(int) family_other_blues}. public static short nfamily_other_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #blue_scale}. public static long nblue_scale(long struct) { return memGetCLong(struct + PS_Private.BLUE_SCALE); } /** Unsafe version of {@link #blue_shift}. public static int nblue_shift(long struct) { return memGetInt(struct + PS_Private.BLUE_SHIFT); } /** Unsafe version of {@link #blue_fuzz}. public static int nblue_fuzz(long struct) { return memGetInt(struct + PS_Private.BLUE_FUZZ); } /** Unsafe version of {@link #standard_width}. public static ShortBuffer nstandard_width(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_WIDTH, 1); } /** Unsafe version of {@link #standard_width(int) standard_width}. public static short nstandard_width(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_WIDTH + check(index, 1) * 2); } /** Unsafe version of {@link #standard_height}. public static ShortBuffer nstandard_height(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_HEIGHT, 1); } /** Unsafe version of {@link #standard_height(int) standard_height}. public static short nstandard_height(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_HEIGHT + check(index, 1) * 2); } /** Unsafe version of {@link #num_snap_widths}. public static byte nnum_snap_widths(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_WIDTHS); } /** Unsafe version of {@link #num_snap_heights}. public static byte nnum_snap_heights(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_HEIGHTS); } /** Unsafe version of {@link #force_bold}. public static boolean nforce_bold(long struct) { return memGetByte(struct + PS_Private.FORCE_BOLD) != 0; } /** Unsafe version of {@link #round_stem_up}. public static boolean nround_stem_up(long struct) { return memGetByte(struct + PS_Private.ROUND_STEM_UP) != 0; } /** Unsafe version of {@link #snap_widths}. public static ShortBuffer nsnap_widths(long struct) { return memShortBuffer(struct + PS_Private.SNAP_WIDTHS, 13); } /** Unsafe version of {@link #snap_widths(int) snap_widths}. public static short nsnap_widths(long struct, int index) { return memGetShort(struct + PS_Private.SNAP_WIDTHS + check(index, 13) * 2); } /** Unsafe version of {@link #snap_heights}. public static ShortBuffer nsnap_heights(long struct) { return memShortBuffer(struct + PS_Private.SNAP_HEIGHTS, 13); } /** Unsafe version of {@link #snap_heights(int) snap_heights}.
PS_Private::nsnap_heights
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
BSD-3-Clause
public static long nexpansion_factor(long struct) { return memGetCLong(struct + PS_Private.EXPANSION_FACTOR); }
Create a {@link PS_Private.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static PS_Private.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static PS_Private.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #unique_id}. public static int nunique_id(long struct) { return memGetInt(struct + PS_Private.UNIQUE_ID); } /** Unsafe version of {@link #lenIV}. public static int nlenIV(long struct) { return memGetInt(struct + PS_Private.LENIV); } /** Unsafe version of {@link #num_blue_values}. public static byte nnum_blue_values(long struct) { return memGetByte(struct + PS_Private.NUM_BLUE_VALUES); } /** Unsafe version of {@link #num_other_blues}. public static byte nnum_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_OTHER_BLUES); } /** Unsafe version of {@link #num_family_blues}. public static byte nnum_family_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_BLUES); } /** Unsafe version of {@link #num_family_other_blues}. public static byte nnum_family_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_OTHER_BLUES); } /** Unsafe version of {@link #blue_values}. public static ShortBuffer nblue_values(long struct) { return memShortBuffer(struct + PS_Private.BLUE_VALUES, 14); } /** Unsafe version of {@link #blue_values(int) blue_values}. public static short nblue_values(long struct, int index) { return memGetShort(struct + PS_Private.BLUE_VALUES + check(index, 14) * 2); } /** Unsafe version of {@link #other_blues}. public static ShortBuffer nother_blues(long struct) { return memShortBuffer(struct + PS_Private.OTHER_BLUES, 10); } /** Unsafe version of {@link #other_blues(int) other_blues}. public static short nother_blues(long struct, int index) { return memGetShort(struct + PS_Private.OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #family_blues}. public static ShortBuffer nfamily_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_BLUES, 14); } /** Unsafe version of {@link #family_blues(int) family_blues}. public static short nfamily_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_BLUES + check(index, 14) * 2); } /** Unsafe version of {@link #family_other_blues}. public static ShortBuffer nfamily_other_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_OTHER_BLUES, 10); } /** Unsafe version of {@link #family_other_blues(int) family_other_blues}. public static short nfamily_other_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #blue_scale}. public static long nblue_scale(long struct) { return memGetCLong(struct + PS_Private.BLUE_SCALE); } /** Unsafe version of {@link #blue_shift}. public static int nblue_shift(long struct) { return memGetInt(struct + PS_Private.BLUE_SHIFT); } /** Unsafe version of {@link #blue_fuzz}. public static int nblue_fuzz(long struct) { return memGetInt(struct + PS_Private.BLUE_FUZZ); } /** Unsafe version of {@link #standard_width}. public static ShortBuffer nstandard_width(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_WIDTH, 1); } /** Unsafe version of {@link #standard_width(int) standard_width}. public static short nstandard_width(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_WIDTH + check(index, 1) * 2); } /** Unsafe version of {@link #standard_height}. public static ShortBuffer nstandard_height(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_HEIGHT, 1); } /** Unsafe version of {@link #standard_height(int) standard_height}. public static short nstandard_height(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_HEIGHT + check(index, 1) * 2); } /** Unsafe version of {@link #num_snap_widths}. public static byte nnum_snap_widths(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_WIDTHS); } /** Unsafe version of {@link #num_snap_heights}. public static byte nnum_snap_heights(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_HEIGHTS); } /** Unsafe version of {@link #force_bold}. public static boolean nforce_bold(long struct) { return memGetByte(struct + PS_Private.FORCE_BOLD) != 0; } /** Unsafe version of {@link #round_stem_up}. public static boolean nround_stem_up(long struct) { return memGetByte(struct + PS_Private.ROUND_STEM_UP) != 0; } /** Unsafe version of {@link #snap_widths}. public static ShortBuffer nsnap_widths(long struct) { return memShortBuffer(struct + PS_Private.SNAP_WIDTHS, 13); } /** Unsafe version of {@link #snap_widths(int) snap_widths}. public static short nsnap_widths(long struct, int index) { return memGetShort(struct + PS_Private.SNAP_WIDTHS + check(index, 13) * 2); } /** Unsafe version of {@link #snap_heights}. public static ShortBuffer nsnap_heights(long struct) { return memShortBuffer(struct + PS_Private.SNAP_HEIGHTS, 13); } /** Unsafe version of {@link #snap_heights(int) snap_heights}. public static short nsnap_heights(long struct, int index) { return memGetShort(struct + PS_Private.SNAP_HEIGHTS + check(index, 13) * 2); } /** Unsafe version of {@link #expansion_factor}.
PS_Private::nexpansion_factor
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
BSD-3-Clause
public static long nlanguage_group(long struct) { return memGetCLong(struct + PS_Private.LANGUAGE_GROUP); }
Create a {@link PS_Private.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static PS_Private.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static PS_Private.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #unique_id}. public static int nunique_id(long struct) { return memGetInt(struct + PS_Private.UNIQUE_ID); } /** Unsafe version of {@link #lenIV}. public static int nlenIV(long struct) { return memGetInt(struct + PS_Private.LENIV); } /** Unsafe version of {@link #num_blue_values}. public static byte nnum_blue_values(long struct) { return memGetByte(struct + PS_Private.NUM_BLUE_VALUES); } /** Unsafe version of {@link #num_other_blues}. public static byte nnum_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_OTHER_BLUES); } /** Unsafe version of {@link #num_family_blues}. public static byte nnum_family_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_BLUES); } /** Unsafe version of {@link #num_family_other_blues}. public static byte nnum_family_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_OTHER_BLUES); } /** Unsafe version of {@link #blue_values}. public static ShortBuffer nblue_values(long struct) { return memShortBuffer(struct + PS_Private.BLUE_VALUES, 14); } /** Unsafe version of {@link #blue_values(int) blue_values}. public static short nblue_values(long struct, int index) { return memGetShort(struct + PS_Private.BLUE_VALUES + check(index, 14) * 2); } /** Unsafe version of {@link #other_blues}. public static ShortBuffer nother_blues(long struct) { return memShortBuffer(struct + PS_Private.OTHER_BLUES, 10); } /** Unsafe version of {@link #other_blues(int) other_blues}. public static short nother_blues(long struct, int index) { return memGetShort(struct + PS_Private.OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #family_blues}. public static ShortBuffer nfamily_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_BLUES, 14); } /** Unsafe version of {@link #family_blues(int) family_blues}. public static short nfamily_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_BLUES + check(index, 14) * 2); } /** Unsafe version of {@link #family_other_blues}. public static ShortBuffer nfamily_other_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_OTHER_BLUES, 10); } /** Unsafe version of {@link #family_other_blues(int) family_other_blues}. public static short nfamily_other_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #blue_scale}. public static long nblue_scale(long struct) { return memGetCLong(struct + PS_Private.BLUE_SCALE); } /** Unsafe version of {@link #blue_shift}. public static int nblue_shift(long struct) { return memGetInt(struct + PS_Private.BLUE_SHIFT); } /** Unsafe version of {@link #blue_fuzz}. public static int nblue_fuzz(long struct) { return memGetInt(struct + PS_Private.BLUE_FUZZ); } /** Unsafe version of {@link #standard_width}. public static ShortBuffer nstandard_width(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_WIDTH, 1); } /** Unsafe version of {@link #standard_width(int) standard_width}. public static short nstandard_width(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_WIDTH + check(index, 1) * 2); } /** Unsafe version of {@link #standard_height}. public static ShortBuffer nstandard_height(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_HEIGHT, 1); } /** Unsafe version of {@link #standard_height(int) standard_height}. public static short nstandard_height(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_HEIGHT + check(index, 1) * 2); } /** Unsafe version of {@link #num_snap_widths}. public static byte nnum_snap_widths(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_WIDTHS); } /** Unsafe version of {@link #num_snap_heights}. public static byte nnum_snap_heights(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_HEIGHTS); } /** Unsafe version of {@link #force_bold}. public static boolean nforce_bold(long struct) { return memGetByte(struct + PS_Private.FORCE_BOLD) != 0; } /** Unsafe version of {@link #round_stem_up}. public static boolean nround_stem_up(long struct) { return memGetByte(struct + PS_Private.ROUND_STEM_UP) != 0; } /** Unsafe version of {@link #snap_widths}. public static ShortBuffer nsnap_widths(long struct) { return memShortBuffer(struct + PS_Private.SNAP_WIDTHS, 13); } /** Unsafe version of {@link #snap_widths(int) snap_widths}. public static short nsnap_widths(long struct, int index) { return memGetShort(struct + PS_Private.SNAP_WIDTHS + check(index, 13) * 2); } /** Unsafe version of {@link #snap_heights}. public static ShortBuffer nsnap_heights(long struct) { return memShortBuffer(struct + PS_Private.SNAP_HEIGHTS, 13); } /** Unsafe version of {@link #snap_heights(int) snap_heights}. public static short nsnap_heights(long struct, int index) { return memGetShort(struct + PS_Private.SNAP_HEIGHTS + check(index, 13) * 2); } /** Unsafe version of {@link #expansion_factor}. public static long nexpansion_factor(long struct) { return memGetCLong(struct + PS_Private.EXPANSION_FACTOR); } /** Unsafe version of {@link #language_group}.
PS_Private::nlanguage_group
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
BSD-3-Clause
public static long npassword(long struct) { return memGetCLong(struct + PS_Private.PASSWORD); }
Create a {@link PS_Private.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static PS_Private.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static PS_Private.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #unique_id}. public static int nunique_id(long struct) { return memGetInt(struct + PS_Private.UNIQUE_ID); } /** Unsafe version of {@link #lenIV}. public static int nlenIV(long struct) { return memGetInt(struct + PS_Private.LENIV); } /** Unsafe version of {@link #num_blue_values}. public static byte nnum_blue_values(long struct) { return memGetByte(struct + PS_Private.NUM_BLUE_VALUES); } /** Unsafe version of {@link #num_other_blues}. public static byte nnum_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_OTHER_BLUES); } /** Unsafe version of {@link #num_family_blues}. public static byte nnum_family_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_BLUES); } /** Unsafe version of {@link #num_family_other_blues}. public static byte nnum_family_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_OTHER_BLUES); } /** Unsafe version of {@link #blue_values}. public static ShortBuffer nblue_values(long struct) { return memShortBuffer(struct + PS_Private.BLUE_VALUES, 14); } /** Unsafe version of {@link #blue_values(int) blue_values}. public static short nblue_values(long struct, int index) { return memGetShort(struct + PS_Private.BLUE_VALUES + check(index, 14) * 2); } /** Unsafe version of {@link #other_blues}. public static ShortBuffer nother_blues(long struct) { return memShortBuffer(struct + PS_Private.OTHER_BLUES, 10); } /** Unsafe version of {@link #other_blues(int) other_blues}. public static short nother_blues(long struct, int index) { return memGetShort(struct + PS_Private.OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #family_blues}. public static ShortBuffer nfamily_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_BLUES, 14); } /** Unsafe version of {@link #family_blues(int) family_blues}. public static short nfamily_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_BLUES + check(index, 14) * 2); } /** Unsafe version of {@link #family_other_blues}. public static ShortBuffer nfamily_other_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_OTHER_BLUES, 10); } /** Unsafe version of {@link #family_other_blues(int) family_other_blues}. public static short nfamily_other_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #blue_scale}. public static long nblue_scale(long struct) { return memGetCLong(struct + PS_Private.BLUE_SCALE); } /** Unsafe version of {@link #blue_shift}. public static int nblue_shift(long struct) { return memGetInt(struct + PS_Private.BLUE_SHIFT); } /** Unsafe version of {@link #blue_fuzz}. public static int nblue_fuzz(long struct) { return memGetInt(struct + PS_Private.BLUE_FUZZ); } /** Unsafe version of {@link #standard_width}. public static ShortBuffer nstandard_width(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_WIDTH, 1); } /** Unsafe version of {@link #standard_width(int) standard_width}. public static short nstandard_width(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_WIDTH + check(index, 1) * 2); } /** Unsafe version of {@link #standard_height}. public static ShortBuffer nstandard_height(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_HEIGHT, 1); } /** Unsafe version of {@link #standard_height(int) standard_height}. public static short nstandard_height(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_HEIGHT + check(index, 1) * 2); } /** Unsafe version of {@link #num_snap_widths}. public static byte nnum_snap_widths(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_WIDTHS); } /** Unsafe version of {@link #num_snap_heights}. public static byte nnum_snap_heights(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_HEIGHTS); } /** Unsafe version of {@link #force_bold}. public static boolean nforce_bold(long struct) { return memGetByte(struct + PS_Private.FORCE_BOLD) != 0; } /** Unsafe version of {@link #round_stem_up}. public static boolean nround_stem_up(long struct) { return memGetByte(struct + PS_Private.ROUND_STEM_UP) != 0; } /** Unsafe version of {@link #snap_widths}. public static ShortBuffer nsnap_widths(long struct) { return memShortBuffer(struct + PS_Private.SNAP_WIDTHS, 13); } /** Unsafe version of {@link #snap_widths(int) snap_widths}. public static short nsnap_widths(long struct, int index) { return memGetShort(struct + PS_Private.SNAP_WIDTHS + check(index, 13) * 2); } /** Unsafe version of {@link #snap_heights}. public static ShortBuffer nsnap_heights(long struct) { return memShortBuffer(struct + PS_Private.SNAP_HEIGHTS, 13); } /** Unsafe version of {@link #snap_heights(int) snap_heights}. public static short nsnap_heights(long struct, int index) { return memGetShort(struct + PS_Private.SNAP_HEIGHTS + check(index, 13) * 2); } /** Unsafe version of {@link #expansion_factor}. public static long nexpansion_factor(long struct) { return memGetCLong(struct + PS_Private.EXPANSION_FACTOR); } /** Unsafe version of {@link #language_group}. public static long nlanguage_group(long struct) { return memGetCLong(struct + PS_Private.LANGUAGE_GROUP); } /** Unsafe version of {@link #password}.
PS_Private::npassword
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
BSD-3-Clause
public static ShortBuffer nmin_feature(long struct) { return memShortBuffer(struct + PS_Private.MIN_FEATURE, 2); }
Create a {@link PS_Private.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static PS_Private.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static PS_Private.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #unique_id}. public static int nunique_id(long struct) { return memGetInt(struct + PS_Private.UNIQUE_ID); } /** Unsafe version of {@link #lenIV}. public static int nlenIV(long struct) { return memGetInt(struct + PS_Private.LENIV); } /** Unsafe version of {@link #num_blue_values}. public static byte nnum_blue_values(long struct) { return memGetByte(struct + PS_Private.NUM_BLUE_VALUES); } /** Unsafe version of {@link #num_other_blues}. public static byte nnum_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_OTHER_BLUES); } /** Unsafe version of {@link #num_family_blues}. public static byte nnum_family_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_BLUES); } /** Unsafe version of {@link #num_family_other_blues}. public static byte nnum_family_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_OTHER_BLUES); } /** Unsafe version of {@link #blue_values}. public static ShortBuffer nblue_values(long struct) { return memShortBuffer(struct + PS_Private.BLUE_VALUES, 14); } /** Unsafe version of {@link #blue_values(int) blue_values}. public static short nblue_values(long struct, int index) { return memGetShort(struct + PS_Private.BLUE_VALUES + check(index, 14) * 2); } /** Unsafe version of {@link #other_blues}. public static ShortBuffer nother_blues(long struct) { return memShortBuffer(struct + PS_Private.OTHER_BLUES, 10); } /** Unsafe version of {@link #other_blues(int) other_blues}. public static short nother_blues(long struct, int index) { return memGetShort(struct + PS_Private.OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #family_blues}. public static ShortBuffer nfamily_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_BLUES, 14); } /** Unsafe version of {@link #family_blues(int) family_blues}. public static short nfamily_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_BLUES + check(index, 14) * 2); } /** Unsafe version of {@link #family_other_blues}. public static ShortBuffer nfamily_other_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_OTHER_BLUES, 10); } /** Unsafe version of {@link #family_other_blues(int) family_other_blues}. public static short nfamily_other_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #blue_scale}. public static long nblue_scale(long struct) { return memGetCLong(struct + PS_Private.BLUE_SCALE); } /** Unsafe version of {@link #blue_shift}. public static int nblue_shift(long struct) { return memGetInt(struct + PS_Private.BLUE_SHIFT); } /** Unsafe version of {@link #blue_fuzz}. public static int nblue_fuzz(long struct) { return memGetInt(struct + PS_Private.BLUE_FUZZ); } /** Unsafe version of {@link #standard_width}. public static ShortBuffer nstandard_width(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_WIDTH, 1); } /** Unsafe version of {@link #standard_width(int) standard_width}. public static short nstandard_width(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_WIDTH + check(index, 1) * 2); } /** Unsafe version of {@link #standard_height}. public static ShortBuffer nstandard_height(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_HEIGHT, 1); } /** Unsafe version of {@link #standard_height(int) standard_height}. public static short nstandard_height(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_HEIGHT + check(index, 1) * 2); } /** Unsafe version of {@link #num_snap_widths}. public static byte nnum_snap_widths(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_WIDTHS); } /** Unsafe version of {@link #num_snap_heights}. public static byte nnum_snap_heights(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_HEIGHTS); } /** Unsafe version of {@link #force_bold}. public static boolean nforce_bold(long struct) { return memGetByte(struct + PS_Private.FORCE_BOLD) != 0; } /** Unsafe version of {@link #round_stem_up}. public static boolean nround_stem_up(long struct) { return memGetByte(struct + PS_Private.ROUND_STEM_UP) != 0; } /** Unsafe version of {@link #snap_widths}. public static ShortBuffer nsnap_widths(long struct) { return memShortBuffer(struct + PS_Private.SNAP_WIDTHS, 13); } /** Unsafe version of {@link #snap_widths(int) snap_widths}. public static short nsnap_widths(long struct, int index) { return memGetShort(struct + PS_Private.SNAP_WIDTHS + check(index, 13) * 2); } /** Unsafe version of {@link #snap_heights}. public static ShortBuffer nsnap_heights(long struct) { return memShortBuffer(struct + PS_Private.SNAP_HEIGHTS, 13); } /** Unsafe version of {@link #snap_heights(int) snap_heights}. public static short nsnap_heights(long struct, int index) { return memGetShort(struct + PS_Private.SNAP_HEIGHTS + check(index, 13) * 2); } /** Unsafe version of {@link #expansion_factor}. public static long nexpansion_factor(long struct) { return memGetCLong(struct + PS_Private.EXPANSION_FACTOR); } /** Unsafe version of {@link #language_group}. public static long nlanguage_group(long struct) { return memGetCLong(struct + PS_Private.LANGUAGE_GROUP); } /** Unsafe version of {@link #password}. public static long npassword(long struct) { return memGetCLong(struct + PS_Private.PASSWORD); } /** Unsafe version of {@link #min_feature}.
PS_Private::nmin_feature
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
BSD-3-Clause
public static short nmin_feature(long struct, int index) { return memGetShort(struct + PS_Private.MIN_FEATURE + check(index, 2) * 2); }
Create a {@link PS_Private.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static PS_Private.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static PS_Private.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #unique_id}. public static int nunique_id(long struct) { return memGetInt(struct + PS_Private.UNIQUE_ID); } /** Unsafe version of {@link #lenIV}. public static int nlenIV(long struct) { return memGetInt(struct + PS_Private.LENIV); } /** Unsafe version of {@link #num_blue_values}. public static byte nnum_blue_values(long struct) { return memGetByte(struct + PS_Private.NUM_BLUE_VALUES); } /** Unsafe version of {@link #num_other_blues}. public static byte nnum_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_OTHER_BLUES); } /** Unsafe version of {@link #num_family_blues}. public static byte nnum_family_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_BLUES); } /** Unsafe version of {@link #num_family_other_blues}. public static byte nnum_family_other_blues(long struct) { return memGetByte(struct + PS_Private.NUM_FAMILY_OTHER_BLUES); } /** Unsafe version of {@link #blue_values}. public static ShortBuffer nblue_values(long struct) { return memShortBuffer(struct + PS_Private.BLUE_VALUES, 14); } /** Unsafe version of {@link #blue_values(int) blue_values}. public static short nblue_values(long struct, int index) { return memGetShort(struct + PS_Private.BLUE_VALUES + check(index, 14) * 2); } /** Unsafe version of {@link #other_blues}. public static ShortBuffer nother_blues(long struct) { return memShortBuffer(struct + PS_Private.OTHER_BLUES, 10); } /** Unsafe version of {@link #other_blues(int) other_blues}. public static short nother_blues(long struct, int index) { return memGetShort(struct + PS_Private.OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #family_blues}. public static ShortBuffer nfamily_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_BLUES, 14); } /** Unsafe version of {@link #family_blues(int) family_blues}. public static short nfamily_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_BLUES + check(index, 14) * 2); } /** Unsafe version of {@link #family_other_blues}. public static ShortBuffer nfamily_other_blues(long struct) { return memShortBuffer(struct + PS_Private.FAMILY_OTHER_BLUES, 10); } /** Unsafe version of {@link #family_other_blues(int) family_other_blues}. public static short nfamily_other_blues(long struct, int index) { return memGetShort(struct + PS_Private.FAMILY_OTHER_BLUES + check(index, 10) * 2); } /** Unsafe version of {@link #blue_scale}. public static long nblue_scale(long struct) { return memGetCLong(struct + PS_Private.BLUE_SCALE); } /** Unsafe version of {@link #blue_shift}. public static int nblue_shift(long struct) { return memGetInt(struct + PS_Private.BLUE_SHIFT); } /** Unsafe version of {@link #blue_fuzz}. public static int nblue_fuzz(long struct) { return memGetInt(struct + PS_Private.BLUE_FUZZ); } /** Unsafe version of {@link #standard_width}. public static ShortBuffer nstandard_width(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_WIDTH, 1); } /** Unsafe version of {@link #standard_width(int) standard_width}. public static short nstandard_width(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_WIDTH + check(index, 1) * 2); } /** Unsafe version of {@link #standard_height}. public static ShortBuffer nstandard_height(long struct) { return memShortBuffer(struct + PS_Private.STANDARD_HEIGHT, 1); } /** Unsafe version of {@link #standard_height(int) standard_height}. public static short nstandard_height(long struct, int index) { return memGetShort(struct + PS_Private.STANDARD_HEIGHT + check(index, 1) * 2); } /** Unsafe version of {@link #num_snap_widths}. public static byte nnum_snap_widths(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_WIDTHS); } /** Unsafe version of {@link #num_snap_heights}. public static byte nnum_snap_heights(long struct) { return memGetByte(struct + PS_Private.NUM_SNAP_HEIGHTS); } /** Unsafe version of {@link #force_bold}. public static boolean nforce_bold(long struct) { return memGetByte(struct + PS_Private.FORCE_BOLD) != 0; } /** Unsafe version of {@link #round_stem_up}. public static boolean nround_stem_up(long struct) { return memGetByte(struct + PS_Private.ROUND_STEM_UP) != 0; } /** Unsafe version of {@link #snap_widths}. public static ShortBuffer nsnap_widths(long struct) { return memShortBuffer(struct + PS_Private.SNAP_WIDTHS, 13); } /** Unsafe version of {@link #snap_widths(int) snap_widths}. public static short nsnap_widths(long struct, int index) { return memGetShort(struct + PS_Private.SNAP_WIDTHS + check(index, 13) * 2); } /** Unsafe version of {@link #snap_heights}. public static ShortBuffer nsnap_heights(long struct) { return memShortBuffer(struct + PS_Private.SNAP_HEIGHTS, 13); } /** Unsafe version of {@link #snap_heights(int) snap_heights}. public static short nsnap_heights(long struct, int index) { return memGetShort(struct + PS_Private.SNAP_HEIGHTS + check(index, 13) * 2); } /** Unsafe version of {@link #expansion_factor}. public static long nexpansion_factor(long struct) { return memGetCLong(struct + PS_Private.EXPANSION_FACTOR); } /** Unsafe version of {@link #language_group}. public static long nlanguage_group(long struct) { return memGetCLong(struct + PS_Private.LANGUAGE_GROUP); } /** Unsafe version of {@link #password}. public static long npassword(long struct) { return memGetCLong(struct + PS_Private.PASSWORD); } /** Unsafe version of {@link #min_feature}. public static ShortBuffer nmin_feature(long struct) { return memShortBuffer(struct + PS_Private.MIN_FEATURE, 2); } /** Unsafe version of {@link #min_feature(int) min_feature}.
PS_Private::nmin_feature
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/PS_Private.java
BSD-3-Clause
public FT_SfntName(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_SfntName} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p>
FT_SfntName::FT_SfntName
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static FT_SfntName malloc() { return new FT_SfntName(nmemAllocChecked(SIZEOF), null); }
Creates a {@code FT_SfntName} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_SfntName(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code platform_id} field. @NativeType("FT_UShort") public short platform_id() { return nplatform_id(address()); } /** @return the value of the {@code encoding_id} field. @NativeType("FT_UShort") public short encoding_id() { return nencoding_id(address()); } /** @return the value of the {@code language_id} field. @NativeType("FT_UShort") public short language_id() { return nlanguage_id(address()); } /** @return the value of the {@code name_id} field. @NativeType("FT_UShort") public short name_id() { return nname_id(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code string} field. @NativeType("FT_Byte *") public ByteBuffer string() { return nstring(address()); } /** @return the value of the {@code string_len} field. @NativeType("FT_UInt") public int string_len() { return nstring_len(address()); } // ----------------------------------- /** Returns a new {@code FT_SfntName} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
FT_SfntName::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static FT_SfntName calloc() { return new FT_SfntName(nmemCallocChecked(1, SIZEOF), null); }
Creates a {@code FT_SfntName} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_SfntName(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code platform_id} field. @NativeType("FT_UShort") public short platform_id() { return nplatform_id(address()); } /** @return the value of the {@code encoding_id} field. @NativeType("FT_UShort") public short encoding_id() { return nencoding_id(address()); } /** @return the value of the {@code language_id} field. @NativeType("FT_UShort") public short language_id() { return nlanguage_id(address()); } /** @return the value of the {@code name_id} field. @NativeType("FT_UShort") public short name_id() { return nname_id(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code string} field. @NativeType("FT_Byte *") public ByteBuffer string() { return nstring(address()); } /** @return the value of the {@code string_len} field. @NativeType("FT_UInt") public int string_len() { return nstring_len(address()); } // ----------------------------------- /** Returns a new {@code FT_SfntName} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_SfntName malloc() { return new FT_SfntName(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_SfntName} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
FT_SfntName::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static FT_SfntName create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_SfntName(memAddress(container), container); }
Creates a {@code FT_SfntName} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_SfntName(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code platform_id} field. @NativeType("FT_UShort") public short platform_id() { return nplatform_id(address()); } /** @return the value of the {@code encoding_id} field. @NativeType("FT_UShort") public short encoding_id() { return nencoding_id(address()); } /** @return the value of the {@code language_id} field. @NativeType("FT_UShort") public short language_id() { return nlanguage_id(address()); } /** @return the value of the {@code name_id} field. @NativeType("FT_UShort") public short name_id() { return nname_id(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code string} field. @NativeType("FT_Byte *") public ByteBuffer string() { return nstring(address()); } /** @return the value of the {@code string_len} field. @NativeType("FT_UInt") public int string_len() { return nstring_len(address()); } // ----------------------------------- /** Returns a new {@code FT_SfntName} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_SfntName malloc() { return new FT_SfntName(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_SfntName} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_SfntName calloc() { return new FT_SfntName(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_SfntName} instance allocated with {@link BufferUtils}.
FT_SfntName::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static FT_SfntName create(long address) { return new FT_SfntName(address, null); }
Creates a {@code FT_SfntName} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_SfntName(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code platform_id} field. @NativeType("FT_UShort") public short platform_id() { return nplatform_id(address()); } /** @return the value of the {@code encoding_id} field. @NativeType("FT_UShort") public short encoding_id() { return nencoding_id(address()); } /** @return the value of the {@code language_id} field. @NativeType("FT_UShort") public short language_id() { return nlanguage_id(address()); } /** @return the value of the {@code name_id} field. @NativeType("FT_UShort") public short name_id() { return nname_id(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code string} field. @NativeType("FT_Byte *") public ByteBuffer string() { return nstring(address()); } /** @return the value of the {@code string_len} field. @NativeType("FT_UInt") public int string_len() { return nstring_len(address()); } // ----------------------------------- /** Returns a new {@code FT_SfntName} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_SfntName malloc() { return new FT_SfntName(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_SfntName} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_SfntName calloc() { return new FT_SfntName(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_SfntName} instance allocated with {@link BufferUtils}. public static FT_SfntName create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_SfntName(memAddress(container), container); } /** Returns a new {@code FT_SfntName} instance for the specified memory address.
FT_SfntName::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static @Nullable FT_SfntName createSafe(long address) { return address == NULL ? null : new FT_SfntName(address, null); }
Creates a {@code FT_SfntName} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_SfntName(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code platform_id} field. @NativeType("FT_UShort") public short platform_id() { return nplatform_id(address()); } /** @return the value of the {@code encoding_id} field. @NativeType("FT_UShort") public short encoding_id() { return nencoding_id(address()); } /** @return the value of the {@code language_id} field. @NativeType("FT_UShort") public short language_id() { return nlanguage_id(address()); } /** @return the value of the {@code name_id} field. @NativeType("FT_UShort") public short name_id() { return nname_id(address()); } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code string} field. @NativeType("FT_Byte *") public ByteBuffer string() { return nstring(address()); } /** @return the value of the {@code string_len} field. @NativeType("FT_UInt") public int string_len() { return nstring_len(address()); } // ----------------------------------- /** Returns a new {@code FT_SfntName} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_SfntName malloc() { return new FT_SfntName(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_SfntName} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_SfntName calloc() { return new FT_SfntName(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_SfntName} instance allocated with {@link BufferUtils}. public static FT_SfntName create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_SfntName(memAddress(container), container); } /** Returns a new {@code FT_SfntName} instance for the specified memory address. public static FT_SfntName create(long address) { return new FT_SfntName(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_SfntName::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static FT_SfntName.Buffer malloc(int capacity) { return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity); }
Returns a new {@link FT_SfntName.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. @param capacity the buffer capacity
FT_SfntName::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static FT_SfntName.Buffer calloc(int capacity) { return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity); }
Returns a new {@link FT_SfntName.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. @param capacity the buffer capacity
FT_SfntName::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static FT_SfntName.Buffer create(int capacity) { ByteBuffer container = __create(capacity, SIZEOF); return new Buffer(memAddress(container), container, -1, 0, capacity, capacity); }
Returns a new {@link FT_SfntName.Buffer} instance allocated with {@link BufferUtils}. @param capacity the buffer capacity
FT_SfntName::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static FT_SfntName.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_SfntName.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_SfntName::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static FT_SfntName.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_SfntName.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_SfntName.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_SfntName::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static FT_SfntName malloc(MemoryStack stack) { return new FT_SfntName(stack.nmalloc(ALIGNOF, SIZEOF), null); }
Returns a new {@code FT_SfntName} instance allocated on the specified {@link MemoryStack}. @param stack the stack from which to allocate
FT_SfntName::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static FT_SfntName calloc(MemoryStack stack) { return new FT_SfntName(stack.ncalloc(ALIGNOF, 1, SIZEOF), null); }
Returns a new {@code FT_SfntName} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate
FT_SfntName::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static FT_SfntName.Buffer malloc(int capacity, MemoryStack stack) { return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity); }
Returns a new {@link FT_SfntName.Buffer} instance allocated on the specified {@link MemoryStack}. @param stack the stack from which to allocate @param capacity the buffer capacity
FT_SfntName::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static FT_SfntName.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); }
Returns a new {@link FT_SfntName.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity
FT_SfntName::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static short nplatform_id(long struct) { return memGetShort(struct + FT_SfntName.PLATFORM_ID); }
Returns a new {@link FT_SfntName.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_SfntName.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #platform_id}.
FT_SfntName::nplatform_id
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static short nencoding_id(long struct) { return memGetShort(struct + FT_SfntName.ENCODING_ID); }
Returns a new {@link FT_SfntName.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_SfntName.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #platform_id}. public static short nplatform_id(long struct) { return memGetShort(struct + FT_SfntName.PLATFORM_ID); } /** Unsafe version of {@link #encoding_id}.
FT_SfntName::nencoding_id
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static short nlanguage_id(long struct) { return memGetShort(struct + FT_SfntName.LANGUAGE_ID); }
Returns a new {@link FT_SfntName.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_SfntName.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #platform_id}. public static short nplatform_id(long struct) { return memGetShort(struct + FT_SfntName.PLATFORM_ID); } /** Unsafe version of {@link #encoding_id}. public static short nencoding_id(long struct) { return memGetShort(struct + FT_SfntName.ENCODING_ID); } /** Unsafe version of {@link #language_id}.
FT_SfntName::nlanguage_id
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static short nname_id(long struct) { return memGetShort(struct + FT_SfntName.NAME_ID); }
Returns a new {@link FT_SfntName.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_SfntName.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #platform_id}. public static short nplatform_id(long struct) { return memGetShort(struct + FT_SfntName.PLATFORM_ID); } /** Unsafe version of {@link #encoding_id}. public static short nencoding_id(long struct) { return memGetShort(struct + FT_SfntName.ENCODING_ID); } /** Unsafe version of {@link #language_id}. public static short nlanguage_id(long struct) { return memGetShort(struct + FT_SfntName.LANGUAGE_ID); } /** Unsafe version of {@link #name_id}.
FT_SfntName::nname_id
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static ByteBuffer nstring(long struct) { return memByteBuffer(memGetAddress(struct + FT_SfntName.STRING), nstring_len(struct)); }
Returns a new {@link FT_SfntName.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_SfntName.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #platform_id}. public static short nplatform_id(long struct) { return memGetShort(struct + FT_SfntName.PLATFORM_ID); } /** Unsafe version of {@link #encoding_id}. public static short nencoding_id(long struct) { return memGetShort(struct + FT_SfntName.ENCODING_ID); } /** Unsafe version of {@link #language_id}. public static short nlanguage_id(long struct) { return memGetShort(struct + FT_SfntName.LANGUAGE_ID); } /** Unsafe version of {@link #name_id}. public static short nname_id(long struct) { return memGetShort(struct + FT_SfntName.NAME_ID); } /** Unsafe version of {@link #string() string}.
FT_SfntName::nstring
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public static int nstring_len(long struct) { return memGetInt(struct + FT_SfntName.STRING_LEN); }
Returns a new {@link FT_SfntName.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate @param capacity the buffer capacity public static FT_SfntName.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #platform_id}. public static short nplatform_id(long struct) { return memGetShort(struct + FT_SfntName.PLATFORM_ID); } /** Unsafe version of {@link #encoding_id}. public static short nencoding_id(long struct) { return memGetShort(struct + FT_SfntName.ENCODING_ID); } /** Unsafe version of {@link #language_id}. public static short nlanguage_id(long struct) { return memGetShort(struct + FT_SfntName.LANGUAGE_ID); } /** Unsafe version of {@link #name_id}. public static short nname_id(long struct) { return memGetShort(struct + FT_SfntName.NAME_ID); } /** Unsafe version of {@link #string() string}. public static ByteBuffer nstring(long struct) { return memByteBuffer(memGetAddress(struct + FT_SfntName.STRING), nstring_len(struct)); } /** Unsafe version of {@link #string_len}.
FT_SfntName::nstring_len
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntName.java
BSD-3-Clause
public TT_PCLT(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code TT_PCLT} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p>
TT_PCLT::TT_PCLT
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static TT_PCLT create(long address) { return new TT_PCLT(address, null); }
Creates a {@code TT_PCLT} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public TT_PCLT(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code Version} field. @NativeType("FT_Fixed") public long Version() { return nVersion(address()); } /** @return the value of the {@code FontNumber} field. @NativeType("FT_ULong") public long FontNumber() { return nFontNumber(address()); } /** @return the value of the {@code Pitch} field. @NativeType("FT_UShort") public short Pitch() { return nPitch(address()); } /** @return the value of the {@code xHeight} field. @NativeType("FT_UShort") public short xHeight() { return nxHeight(address()); } /** @return the value of the {@code Style} field. @NativeType("FT_UShort") public short Style() { return nStyle(address()); } /** @return the value of the {@code TypeFamily} field. @NativeType("FT_UShort") public short TypeFamily() { return nTypeFamily(address()); } /** @return the value of the {@code CapHeight} field. @NativeType("FT_UShort") public short CapHeight() { return nCapHeight(address()); } /** @return the value of the {@code SymbolSet} field. @NativeType("FT_UShort") public short SymbolSet() { return nSymbolSet(address()); } /** @return a {@link ByteBuffer} view of the {@code TypeFace} field. @NativeType("FT_Char[16]") public ByteBuffer TypeFace() { return nTypeFace(address()); } /** @return the value at the specified index of the {@code TypeFace} field. @NativeType("FT_Char") public byte TypeFace(int index) { return nTypeFace(address(), index); } /** @return a {@link ByteBuffer} view of the {@code CharacterComplement} field. @NativeType("FT_Char[8]") public ByteBuffer CharacterComplement() { return nCharacterComplement(address()); } /** @return the value at the specified index of the {@code CharacterComplement} field. @NativeType("FT_Char") public byte CharacterComplement(int index) { return nCharacterComplement(address(), index); } /** @return a {@link ByteBuffer} view of the {@code FileName} field. @NativeType("FT_Char[6]") public ByteBuffer FileName() { return nFileName(address()); } /** @return the value at the specified index of the {@code FileName} field. @NativeType("FT_Char") public byte FileName(int index) { return nFileName(address(), index); } /** @return the value of the {@code StrokeWeight} field. @NativeType("FT_Char") public byte StrokeWeight() { return nStrokeWeight(address()); } /** @return the value of the {@code WidthType} field. @NativeType("FT_Char") public byte WidthType() { return nWidthType(address()); } /** @return the value of the {@code SerifStyle} field. @NativeType("FT_Byte") public byte SerifStyle() { return nSerifStyle(address()); } /** @return the value of the {@code Reserved} field. @NativeType("FT_Byte") public byte Reserved() { return nReserved(address()); } // ----------------------------------- /** Returns a new {@code TT_PCLT} instance for the specified memory address.
TT_PCLT::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static @Nullable TT_PCLT createSafe(long address) { return address == NULL ? null : new TT_PCLT(address, null); }
Creates a {@code TT_PCLT} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public TT_PCLT(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code Version} field. @NativeType("FT_Fixed") public long Version() { return nVersion(address()); } /** @return the value of the {@code FontNumber} field. @NativeType("FT_ULong") public long FontNumber() { return nFontNumber(address()); } /** @return the value of the {@code Pitch} field. @NativeType("FT_UShort") public short Pitch() { return nPitch(address()); } /** @return the value of the {@code xHeight} field. @NativeType("FT_UShort") public short xHeight() { return nxHeight(address()); } /** @return the value of the {@code Style} field. @NativeType("FT_UShort") public short Style() { return nStyle(address()); } /** @return the value of the {@code TypeFamily} field. @NativeType("FT_UShort") public short TypeFamily() { return nTypeFamily(address()); } /** @return the value of the {@code CapHeight} field. @NativeType("FT_UShort") public short CapHeight() { return nCapHeight(address()); } /** @return the value of the {@code SymbolSet} field. @NativeType("FT_UShort") public short SymbolSet() { return nSymbolSet(address()); } /** @return a {@link ByteBuffer} view of the {@code TypeFace} field. @NativeType("FT_Char[16]") public ByteBuffer TypeFace() { return nTypeFace(address()); } /** @return the value at the specified index of the {@code TypeFace} field. @NativeType("FT_Char") public byte TypeFace(int index) { return nTypeFace(address(), index); } /** @return a {@link ByteBuffer} view of the {@code CharacterComplement} field. @NativeType("FT_Char[8]") public ByteBuffer CharacterComplement() { return nCharacterComplement(address()); } /** @return the value at the specified index of the {@code CharacterComplement} field. @NativeType("FT_Char") public byte CharacterComplement(int index) { return nCharacterComplement(address(), index); } /** @return a {@link ByteBuffer} view of the {@code FileName} field. @NativeType("FT_Char[6]") public ByteBuffer FileName() { return nFileName(address()); } /** @return the value at the specified index of the {@code FileName} field. @NativeType("FT_Char") public byte FileName(int index) { return nFileName(address(), index); } /** @return the value of the {@code StrokeWeight} field. @NativeType("FT_Char") public byte StrokeWeight() { return nStrokeWeight(address()); } /** @return the value of the {@code WidthType} field. @NativeType("FT_Char") public byte WidthType() { return nWidthType(address()); } /** @return the value of the {@code SerifStyle} field. @NativeType("FT_Byte") public byte SerifStyle() { return nSerifStyle(address()); } /** @return the value of the {@code Reserved} field. @NativeType("FT_Byte") public byte Reserved() { return nReserved(address()); } // ----------------------------------- /** Returns a new {@code TT_PCLT} instance for the specified memory address. public static TT_PCLT create(long address) { return new TT_PCLT(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
TT_PCLT::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
TT_PCLT::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
TT_PCLT::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}.
TT_PCLT::nVersion
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}.
TT_PCLT::nFontNumber
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}.
TT_PCLT::nPitch
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static short nxHeight(long struct) { return memGetShort(struct + TT_PCLT.XHEIGHT); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}. public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); } /** Unsafe version of {@link #xHeight}.
TT_PCLT::nxHeight
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static short nStyle(long struct) { return memGetShort(struct + TT_PCLT.STYLE); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}. public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); } /** Unsafe version of {@link #xHeight}. public static short nxHeight(long struct) { return memGetShort(struct + TT_PCLT.XHEIGHT); } /** Unsafe version of {@link #Style}.
TT_PCLT::nStyle
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static short nTypeFamily(long struct) { return memGetShort(struct + TT_PCLT.TYPEFAMILY); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}. public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); } /** Unsafe version of {@link #xHeight}. public static short nxHeight(long struct) { return memGetShort(struct + TT_PCLT.XHEIGHT); } /** Unsafe version of {@link #Style}. public static short nStyle(long struct) { return memGetShort(struct + TT_PCLT.STYLE); } /** Unsafe version of {@link #TypeFamily}.
TT_PCLT::nTypeFamily
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static short nCapHeight(long struct) { return memGetShort(struct + TT_PCLT.CAPHEIGHT); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}. public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); } /** Unsafe version of {@link #xHeight}. public static short nxHeight(long struct) { return memGetShort(struct + TT_PCLT.XHEIGHT); } /** Unsafe version of {@link #Style}. public static short nStyle(long struct) { return memGetShort(struct + TT_PCLT.STYLE); } /** Unsafe version of {@link #TypeFamily}. public static short nTypeFamily(long struct) { return memGetShort(struct + TT_PCLT.TYPEFAMILY); } /** Unsafe version of {@link #CapHeight}.
TT_PCLT::nCapHeight
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static short nSymbolSet(long struct) { return memGetShort(struct + TT_PCLT.SYMBOLSET); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}. public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); } /** Unsafe version of {@link #xHeight}. public static short nxHeight(long struct) { return memGetShort(struct + TT_PCLT.XHEIGHT); } /** Unsafe version of {@link #Style}. public static short nStyle(long struct) { return memGetShort(struct + TT_PCLT.STYLE); } /** Unsafe version of {@link #TypeFamily}. public static short nTypeFamily(long struct) { return memGetShort(struct + TT_PCLT.TYPEFAMILY); } /** Unsafe version of {@link #CapHeight}. public static short nCapHeight(long struct) { return memGetShort(struct + TT_PCLT.CAPHEIGHT); } /** Unsafe version of {@link #SymbolSet}.
TT_PCLT::nSymbolSet
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static ByteBuffer nTypeFace(long struct) { return memByteBuffer(struct + TT_PCLT.TYPEFACE, 16); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}. public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); } /** Unsafe version of {@link #xHeight}. public static short nxHeight(long struct) { return memGetShort(struct + TT_PCLT.XHEIGHT); } /** Unsafe version of {@link #Style}. public static short nStyle(long struct) { return memGetShort(struct + TT_PCLT.STYLE); } /** Unsafe version of {@link #TypeFamily}. public static short nTypeFamily(long struct) { return memGetShort(struct + TT_PCLT.TYPEFAMILY); } /** Unsafe version of {@link #CapHeight}. public static short nCapHeight(long struct) { return memGetShort(struct + TT_PCLT.CAPHEIGHT); } /** Unsafe version of {@link #SymbolSet}. public static short nSymbolSet(long struct) { return memGetShort(struct + TT_PCLT.SYMBOLSET); } /** Unsafe version of {@link #TypeFace}.
TT_PCLT::nTypeFace
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static byte nTypeFace(long struct, int index) { return memGetByte(struct + TT_PCLT.TYPEFACE + check(index, 16) * 1); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}. public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); } /** Unsafe version of {@link #xHeight}. public static short nxHeight(long struct) { return memGetShort(struct + TT_PCLT.XHEIGHT); } /** Unsafe version of {@link #Style}. public static short nStyle(long struct) { return memGetShort(struct + TT_PCLT.STYLE); } /** Unsafe version of {@link #TypeFamily}. public static short nTypeFamily(long struct) { return memGetShort(struct + TT_PCLT.TYPEFAMILY); } /** Unsafe version of {@link #CapHeight}. public static short nCapHeight(long struct) { return memGetShort(struct + TT_PCLT.CAPHEIGHT); } /** Unsafe version of {@link #SymbolSet}. public static short nSymbolSet(long struct) { return memGetShort(struct + TT_PCLT.SYMBOLSET); } /** Unsafe version of {@link #TypeFace}. public static ByteBuffer nTypeFace(long struct) { return memByteBuffer(struct + TT_PCLT.TYPEFACE, 16); } /** Unsafe version of {@link #TypeFace(int) TypeFace}.
TT_PCLT::nTypeFace
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static ByteBuffer nCharacterComplement(long struct) { return memByteBuffer(struct + TT_PCLT.CHARACTERCOMPLEMENT, 8); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}. public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); } /** Unsafe version of {@link #xHeight}. public static short nxHeight(long struct) { return memGetShort(struct + TT_PCLT.XHEIGHT); } /** Unsafe version of {@link #Style}. public static short nStyle(long struct) { return memGetShort(struct + TT_PCLT.STYLE); } /** Unsafe version of {@link #TypeFamily}. public static short nTypeFamily(long struct) { return memGetShort(struct + TT_PCLT.TYPEFAMILY); } /** Unsafe version of {@link #CapHeight}. public static short nCapHeight(long struct) { return memGetShort(struct + TT_PCLT.CAPHEIGHT); } /** Unsafe version of {@link #SymbolSet}. public static short nSymbolSet(long struct) { return memGetShort(struct + TT_PCLT.SYMBOLSET); } /** Unsafe version of {@link #TypeFace}. public static ByteBuffer nTypeFace(long struct) { return memByteBuffer(struct + TT_PCLT.TYPEFACE, 16); } /** Unsafe version of {@link #TypeFace(int) TypeFace}. public static byte nTypeFace(long struct, int index) { return memGetByte(struct + TT_PCLT.TYPEFACE + check(index, 16) * 1); } /** Unsafe version of {@link #CharacterComplement}.
TT_PCLT::nCharacterComplement
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static byte nCharacterComplement(long struct, int index) { return memGetByte(struct + TT_PCLT.CHARACTERCOMPLEMENT + check(index, 8) * 1); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}. public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); } /** Unsafe version of {@link #xHeight}. public static short nxHeight(long struct) { return memGetShort(struct + TT_PCLT.XHEIGHT); } /** Unsafe version of {@link #Style}. public static short nStyle(long struct) { return memGetShort(struct + TT_PCLT.STYLE); } /** Unsafe version of {@link #TypeFamily}. public static short nTypeFamily(long struct) { return memGetShort(struct + TT_PCLT.TYPEFAMILY); } /** Unsafe version of {@link #CapHeight}. public static short nCapHeight(long struct) { return memGetShort(struct + TT_PCLT.CAPHEIGHT); } /** Unsafe version of {@link #SymbolSet}. public static short nSymbolSet(long struct) { return memGetShort(struct + TT_PCLT.SYMBOLSET); } /** Unsafe version of {@link #TypeFace}. public static ByteBuffer nTypeFace(long struct) { return memByteBuffer(struct + TT_PCLT.TYPEFACE, 16); } /** Unsafe version of {@link #TypeFace(int) TypeFace}. public static byte nTypeFace(long struct, int index) { return memGetByte(struct + TT_PCLT.TYPEFACE + check(index, 16) * 1); } /** Unsafe version of {@link #CharacterComplement}. public static ByteBuffer nCharacterComplement(long struct) { return memByteBuffer(struct + TT_PCLT.CHARACTERCOMPLEMENT, 8); } /** Unsafe version of {@link #CharacterComplement(int) CharacterComplement}.
TT_PCLT::nCharacterComplement
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static ByteBuffer nFileName(long struct) { return memByteBuffer(struct + TT_PCLT.FILENAME, 6); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}. public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); } /** Unsafe version of {@link #xHeight}. public static short nxHeight(long struct) { return memGetShort(struct + TT_PCLT.XHEIGHT); } /** Unsafe version of {@link #Style}. public static short nStyle(long struct) { return memGetShort(struct + TT_PCLT.STYLE); } /** Unsafe version of {@link #TypeFamily}. public static short nTypeFamily(long struct) { return memGetShort(struct + TT_PCLT.TYPEFAMILY); } /** Unsafe version of {@link #CapHeight}. public static short nCapHeight(long struct) { return memGetShort(struct + TT_PCLT.CAPHEIGHT); } /** Unsafe version of {@link #SymbolSet}. public static short nSymbolSet(long struct) { return memGetShort(struct + TT_PCLT.SYMBOLSET); } /** Unsafe version of {@link #TypeFace}. public static ByteBuffer nTypeFace(long struct) { return memByteBuffer(struct + TT_PCLT.TYPEFACE, 16); } /** Unsafe version of {@link #TypeFace(int) TypeFace}. public static byte nTypeFace(long struct, int index) { return memGetByte(struct + TT_PCLT.TYPEFACE + check(index, 16) * 1); } /** Unsafe version of {@link #CharacterComplement}. public static ByteBuffer nCharacterComplement(long struct) { return memByteBuffer(struct + TT_PCLT.CHARACTERCOMPLEMENT, 8); } /** Unsafe version of {@link #CharacterComplement(int) CharacterComplement}. public static byte nCharacterComplement(long struct, int index) { return memGetByte(struct + TT_PCLT.CHARACTERCOMPLEMENT + check(index, 8) * 1); } /** Unsafe version of {@link #FileName}.
TT_PCLT::nFileName
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static byte nFileName(long struct, int index) { return memGetByte(struct + TT_PCLT.FILENAME + check(index, 6) * 1); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}. public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); } /** Unsafe version of {@link #xHeight}. public static short nxHeight(long struct) { return memGetShort(struct + TT_PCLT.XHEIGHT); } /** Unsafe version of {@link #Style}. public static short nStyle(long struct) { return memGetShort(struct + TT_PCLT.STYLE); } /** Unsafe version of {@link #TypeFamily}. public static short nTypeFamily(long struct) { return memGetShort(struct + TT_PCLT.TYPEFAMILY); } /** Unsafe version of {@link #CapHeight}. public static short nCapHeight(long struct) { return memGetShort(struct + TT_PCLT.CAPHEIGHT); } /** Unsafe version of {@link #SymbolSet}. public static short nSymbolSet(long struct) { return memGetShort(struct + TT_PCLT.SYMBOLSET); } /** Unsafe version of {@link #TypeFace}. public static ByteBuffer nTypeFace(long struct) { return memByteBuffer(struct + TT_PCLT.TYPEFACE, 16); } /** Unsafe version of {@link #TypeFace(int) TypeFace}. public static byte nTypeFace(long struct, int index) { return memGetByte(struct + TT_PCLT.TYPEFACE + check(index, 16) * 1); } /** Unsafe version of {@link #CharacterComplement}. public static ByteBuffer nCharacterComplement(long struct) { return memByteBuffer(struct + TT_PCLT.CHARACTERCOMPLEMENT, 8); } /** Unsafe version of {@link #CharacterComplement(int) CharacterComplement}. public static byte nCharacterComplement(long struct, int index) { return memGetByte(struct + TT_PCLT.CHARACTERCOMPLEMENT + check(index, 8) * 1); } /** Unsafe version of {@link #FileName}. public static ByteBuffer nFileName(long struct) { return memByteBuffer(struct + TT_PCLT.FILENAME, 6); } /** Unsafe version of {@link #FileName(int) FileName}.
TT_PCLT::nFileName
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static byte nStrokeWeight(long struct) { return memGetByte(struct + TT_PCLT.STROKEWEIGHT); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}. public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); } /** Unsafe version of {@link #xHeight}. public static short nxHeight(long struct) { return memGetShort(struct + TT_PCLT.XHEIGHT); } /** Unsafe version of {@link #Style}. public static short nStyle(long struct) { return memGetShort(struct + TT_PCLT.STYLE); } /** Unsafe version of {@link #TypeFamily}. public static short nTypeFamily(long struct) { return memGetShort(struct + TT_PCLT.TYPEFAMILY); } /** Unsafe version of {@link #CapHeight}. public static short nCapHeight(long struct) { return memGetShort(struct + TT_PCLT.CAPHEIGHT); } /** Unsafe version of {@link #SymbolSet}. public static short nSymbolSet(long struct) { return memGetShort(struct + TT_PCLT.SYMBOLSET); } /** Unsafe version of {@link #TypeFace}. public static ByteBuffer nTypeFace(long struct) { return memByteBuffer(struct + TT_PCLT.TYPEFACE, 16); } /** Unsafe version of {@link #TypeFace(int) TypeFace}. public static byte nTypeFace(long struct, int index) { return memGetByte(struct + TT_PCLT.TYPEFACE + check(index, 16) * 1); } /** Unsafe version of {@link #CharacterComplement}. public static ByteBuffer nCharacterComplement(long struct) { return memByteBuffer(struct + TT_PCLT.CHARACTERCOMPLEMENT, 8); } /** Unsafe version of {@link #CharacterComplement(int) CharacterComplement}. public static byte nCharacterComplement(long struct, int index) { return memGetByte(struct + TT_PCLT.CHARACTERCOMPLEMENT + check(index, 8) * 1); } /** Unsafe version of {@link #FileName}. public static ByteBuffer nFileName(long struct) { return memByteBuffer(struct + TT_PCLT.FILENAME, 6); } /** Unsafe version of {@link #FileName(int) FileName}. public static byte nFileName(long struct, int index) { return memGetByte(struct + TT_PCLT.FILENAME + check(index, 6) * 1); } /** Unsafe version of {@link #StrokeWeight}.
TT_PCLT::nStrokeWeight
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static byte nWidthType(long struct) { return memGetByte(struct + TT_PCLT.WIDTHTYPE); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}. public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); } /** Unsafe version of {@link #xHeight}. public static short nxHeight(long struct) { return memGetShort(struct + TT_PCLT.XHEIGHT); } /** Unsafe version of {@link #Style}. public static short nStyle(long struct) { return memGetShort(struct + TT_PCLT.STYLE); } /** Unsafe version of {@link #TypeFamily}. public static short nTypeFamily(long struct) { return memGetShort(struct + TT_PCLT.TYPEFAMILY); } /** Unsafe version of {@link #CapHeight}. public static short nCapHeight(long struct) { return memGetShort(struct + TT_PCLT.CAPHEIGHT); } /** Unsafe version of {@link #SymbolSet}. public static short nSymbolSet(long struct) { return memGetShort(struct + TT_PCLT.SYMBOLSET); } /** Unsafe version of {@link #TypeFace}. public static ByteBuffer nTypeFace(long struct) { return memByteBuffer(struct + TT_PCLT.TYPEFACE, 16); } /** Unsafe version of {@link #TypeFace(int) TypeFace}. public static byte nTypeFace(long struct, int index) { return memGetByte(struct + TT_PCLT.TYPEFACE + check(index, 16) * 1); } /** Unsafe version of {@link #CharacterComplement}. public static ByteBuffer nCharacterComplement(long struct) { return memByteBuffer(struct + TT_PCLT.CHARACTERCOMPLEMENT, 8); } /** Unsafe version of {@link #CharacterComplement(int) CharacterComplement}. public static byte nCharacterComplement(long struct, int index) { return memGetByte(struct + TT_PCLT.CHARACTERCOMPLEMENT + check(index, 8) * 1); } /** Unsafe version of {@link #FileName}. public static ByteBuffer nFileName(long struct) { return memByteBuffer(struct + TT_PCLT.FILENAME, 6); } /** Unsafe version of {@link #FileName(int) FileName}. public static byte nFileName(long struct, int index) { return memGetByte(struct + TT_PCLT.FILENAME + check(index, 6) * 1); } /** Unsafe version of {@link #StrokeWeight}. public static byte nStrokeWeight(long struct) { return memGetByte(struct + TT_PCLT.STROKEWEIGHT); } /** Unsafe version of {@link #WidthType}.
TT_PCLT::nWidthType
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static byte nSerifStyle(long struct) { return memGetByte(struct + TT_PCLT.SERIFSTYLE); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}. public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); } /** Unsafe version of {@link #xHeight}. public static short nxHeight(long struct) { return memGetShort(struct + TT_PCLT.XHEIGHT); } /** Unsafe version of {@link #Style}. public static short nStyle(long struct) { return memGetShort(struct + TT_PCLT.STYLE); } /** Unsafe version of {@link #TypeFamily}. public static short nTypeFamily(long struct) { return memGetShort(struct + TT_PCLT.TYPEFAMILY); } /** Unsafe version of {@link #CapHeight}. public static short nCapHeight(long struct) { return memGetShort(struct + TT_PCLT.CAPHEIGHT); } /** Unsafe version of {@link #SymbolSet}. public static short nSymbolSet(long struct) { return memGetShort(struct + TT_PCLT.SYMBOLSET); } /** Unsafe version of {@link #TypeFace}. public static ByteBuffer nTypeFace(long struct) { return memByteBuffer(struct + TT_PCLT.TYPEFACE, 16); } /** Unsafe version of {@link #TypeFace(int) TypeFace}. public static byte nTypeFace(long struct, int index) { return memGetByte(struct + TT_PCLT.TYPEFACE + check(index, 16) * 1); } /** Unsafe version of {@link #CharacterComplement}. public static ByteBuffer nCharacterComplement(long struct) { return memByteBuffer(struct + TT_PCLT.CHARACTERCOMPLEMENT, 8); } /** Unsafe version of {@link #CharacterComplement(int) CharacterComplement}. public static byte nCharacterComplement(long struct, int index) { return memGetByte(struct + TT_PCLT.CHARACTERCOMPLEMENT + check(index, 8) * 1); } /** Unsafe version of {@link #FileName}. public static ByteBuffer nFileName(long struct) { return memByteBuffer(struct + TT_PCLT.FILENAME, 6); } /** Unsafe version of {@link #FileName(int) FileName}. public static byte nFileName(long struct, int index) { return memGetByte(struct + TT_PCLT.FILENAME + check(index, 6) * 1); } /** Unsafe version of {@link #StrokeWeight}. public static byte nStrokeWeight(long struct) { return memGetByte(struct + TT_PCLT.STROKEWEIGHT); } /** Unsafe version of {@link #WidthType}. public static byte nWidthType(long struct) { return memGetByte(struct + TT_PCLT.WIDTHTYPE); } /** Unsafe version of {@link #SerifStyle}.
TT_PCLT::nSerifStyle
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public static byte nReserved(long struct) { return memGetByte(struct + TT_PCLT.RESERVED); }
Create a {@link TT_PCLT.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static TT_PCLT.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static TT_PCLT.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #Version}. public static long nVersion(long struct) { return memGetCLong(struct + TT_PCLT.VERSION); } /** Unsafe version of {@link #FontNumber}. public static long nFontNumber(long struct) { return memGetCLong(struct + TT_PCLT.FONTNUMBER); } /** Unsafe version of {@link #Pitch}. public static short nPitch(long struct) { return memGetShort(struct + TT_PCLT.PITCH); } /** Unsafe version of {@link #xHeight}. public static short nxHeight(long struct) { return memGetShort(struct + TT_PCLT.XHEIGHT); } /** Unsafe version of {@link #Style}. public static short nStyle(long struct) { return memGetShort(struct + TT_PCLT.STYLE); } /** Unsafe version of {@link #TypeFamily}. public static short nTypeFamily(long struct) { return memGetShort(struct + TT_PCLT.TYPEFAMILY); } /** Unsafe version of {@link #CapHeight}. public static short nCapHeight(long struct) { return memGetShort(struct + TT_PCLT.CAPHEIGHT); } /** Unsafe version of {@link #SymbolSet}. public static short nSymbolSet(long struct) { return memGetShort(struct + TT_PCLT.SYMBOLSET); } /** Unsafe version of {@link #TypeFace}. public static ByteBuffer nTypeFace(long struct) { return memByteBuffer(struct + TT_PCLT.TYPEFACE, 16); } /** Unsafe version of {@link #TypeFace(int) TypeFace}. public static byte nTypeFace(long struct, int index) { return memGetByte(struct + TT_PCLT.TYPEFACE + check(index, 16) * 1); } /** Unsafe version of {@link #CharacterComplement}. public static ByteBuffer nCharacterComplement(long struct) { return memByteBuffer(struct + TT_PCLT.CHARACTERCOMPLEMENT, 8); } /** Unsafe version of {@link #CharacterComplement(int) CharacterComplement}. public static byte nCharacterComplement(long struct, int index) { return memGetByte(struct + TT_PCLT.CHARACTERCOMPLEMENT + check(index, 8) * 1); } /** Unsafe version of {@link #FileName}. public static ByteBuffer nFileName(long struct) { return memByteBuffer(struct + TT_PCLT.FILENAME, 6); } /** Unsafe version of {@link #FileName(int) FileName}. public static byte nFileName(long struct, int index) { return memGetByte(struct + TT_PCLT.FILENAME + check(index, 6) * 1); } /** Unsafe version of {@link #StrokeWeight}. public static byte nStrokeWeight(long struct) { return memGetByte(struct + TT_PCLT.STROKEWEIGHT); } /** Unsafe version of {@link #WidthType}. public static byte nWidthType(long struct) { return memGetByte(struct + TT_PCLT.WIDTHTYPE); } /** Unsafe version of {@link #SerifStyle}. public static byte nSerifStyle(long struct) { return memGetByte(struct + TT_PCLT.SERIFSTYLE); } /** Unsafe version of {@link #Reserved}.
TT_PCLT::nReserved
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_PCLT.java
BSD-3-Clause
public FT_Glyph(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_Glyph} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p>
FT_Glyph::FT_Glyph
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
BSD-3-Clause
public static FT_Glyph create(long address) { return new FT_Glyph(address, null); }
Creates a {@code FT_Glyph} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Glyph(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code library} field. @NativeType("FT_Library") public long library() { return nlibrary(address()); } /** @return the value of the {@code format} field. @NativeType("FT_Glyph_Format") public int format() { return nformat(address()); } /** @return a {@link FT_Vector} view of the {@code advance} field. public FT_Vector advance() { return nadvance(address()); } // ----------------------------------- /** Returns a new {@code FT_Glyph} instance for the specified memory address.
FT_Glyph::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
BSD-3-Clause
public static @Nullable FT_Glyph createSafe(long address) { return address == NULL ? null : new FT_Glyph(address, null); }
Creates a {@code FT_Glyph} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Glyph(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code library} field. @NativeType("FT_Library") public long library() { return nlibrary(address()); } /** @return the value of the {@code format} field. @NativeType("FT_Glyph_Format") public int format() { return nformat(address()); } /** @return a {@link FT_Vector} view of the {@code advance} field. public FT_Vector advance() { return nadvance(address()); } // ----------------------------------- /** Returns a new {@code FT_Glyph} instance for the specified memory address. public static FT_Glyph create(long address) { return new FT_Glyph(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_Glyph::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
BSD-3-Clause
public static FT_Glyph.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_Glyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_Glyph::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
BSD-3-Clause
public static FT_Glyph.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_Glyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Glyph.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_Glyph::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
BSD-3-Clause
public static long nlibrary(long struct) { return memGetAddress(struct + FT_Glyph.LIBRARY); }
Create a {@link FT_Glyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Glyph.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Glyph.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #library}.
FT_Glyph::nlibrary
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
BSD-3-Clause
public static int nformat(long struct) { return memGetInt(struct + FT_Glyph.FORMAT); }
Create a {@link FT_Glyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Glyph.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Glyph.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #library}. public static long nlibrary(long struct) { return memGetAddress(struct + FT_Glyph.LIBRARY); } public static long nclazz(long struct) { return memGetAddress(struct + FT_Glyph.CLAZZ); } /** Unsafe version of {@link #format}.
FT_Glyph::nformat
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
BSD-3-Clause
public static FT_Vector nadvance(long struct) { return FT_Vector.create(struct + FT_Glyph.ADVANCE); }
Create a {@link FT_Glyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Glyph.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Glyph.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #library}. public static long nlibrary(long struct) { return memGetAddress(struct + FT_Glyph.LIBRARY); } public static long nclazz(long struct) { return memGetAddress(struct + FT_Glyph.CLAZZ); } /** Unsafe version of {@link #format}. public static int nformat(long struct) { return memGetInt(struct + FT_Glyph.FORMAT); } /** Unsafe version of {@link #advance}.
FT_Glyph::nadvance
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
BSD-3-Clause
public FT_Vector advance() { return FT_Glyph.nadvance(address()); }
Creates a new {@code FT_Glyph.Buffer} instance backed by the specified container. <p>Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by {@link FT_Glyph#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Glyph getElementFactory() { return ELEMENT_FACTORY; } /** @return the value of the {@code library} field. @NativeType("FT_Library") public long library() { return FT_Glyph.nlibrary(address()); } /** @return the value of the {@code format} field. @NativeType("FT_Glyph_Format") public int format() { return FT_Glyph.nformat(address()); } /** @return a {@link FT_Vector} view of the {@code advance} field.
Buffer::advance
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph.java
BSD-3-Clause
public static SVG_Lib_Preset_Slot_Func create(long functionPointer) { SVG_Lib_Preset_Slot_FuncI instance = Callback.get(functionPointer); return instance instanceof SVG_Lib_Preset_Slot_Func ? (SVG_Lib_Preset_Slot_Func)instance : new Container(functionPointer, instance); }
Creates a {@code SVG_Lib_Preset_Slot_Func} instance from the specified function pointer. @return the new {@code SVG_Lib_Preset_Slot_Func}
SVG_Lib_Preset_Slot_Func::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/SVG_Lib_Preset_Slot_Func.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/SVG_Lib_Preset_Slot_Func.java
BSD-3-Clause
public static @Nullable SVG_Lib_Preset_Slot_Func createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); }
Creates a {@code SVG_Lib_Preset_Slot_Func} instance from the specified function pointer. @return the new {@code SVG_Lib_Preset_Slot_Func} public static SVG_Lib_Preset_Slot_Func create(long functionPointer) { SVG_Lib_Preset_Slot_FuncI instance = Callback.get(functionPointer); return instance instanceof SVG_Lib_Preset_Slot_Func ? (SVG_Lib_Preset_Slot_Func)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}.
SVG_Lib_Preset_Slot_Func::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/SVG_Lib_Preset_Slot_Func.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/SVG_Lib_Preset_Slot_Func.java
BSD-3-Clause
public static SVG_Lib_Preset_Slot_Func create(SVG_Lib_Preset_Slot_FuncI instance) { return instance instanceof SVG_Lib_Preset_Slot_Func ? (SVG_Lib_Preset_Slot_Func)instance : new Container(instance.address(), instance); }
Creates a {@code SVG_Lib_Preset_Slot_Func} instance from the specified function pointer. @return the new {@code SVG_Lib_Preset_Slot_Func} public static SVG_Lib_Preset_Slot_Func create(long functionPointer) { SVG_Lib_Preset_Slot_FuncI instance = Callback.get(functionPointer); return instance instanceof SVG_Lib_Preset_Slot_Func ? (SVG_Lib_Preset_Slot_Func)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}. public static @Nullable SVG_Lib_Preset_Slot_Func createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); } /** Creates a {@code SVG_Lib_Preset_Slot_Func} instance that delegates to the specified {@code SVG_Lib_Preset_Slot_FuncI} instance.
SVG_Lib_Preset_Slot_Func::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/SVG_Lib_Preset_Slot_Func.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/SVG_Lib_Preset_Slot_Func.java
BSD-3-Clause
public static FT_SpanFunc create(long functionPointer) { FT_SpanFuncI instance = Callback.get(functionPointer); return instance instanceof FT_SpanFunc ? (FT_SpanFunc)instance : new Container(functionPointer, instance); }
Creates a {@code FT_SpanFunc} instance from the specified function pointer. @return the new {@code FT_SpanFunc}
FT_SpanFunc::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SpanFunc.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SpanFunc.java
BSD-3-Clause
public static @Nullable FT_SpanFunc createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); }
Creates a {@code FT_SpanFunc} instance from the specified function pointer. @return the new {@code FT_SpanFunc} public static FT_SpanFunc create(long functionPointer) { FT_SpanFuncI instance = Callback.get(functionPointer); return instance instanceof FT_SpanFunc ? (FT_SpanFunc)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}.
FT_SpanFunc::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SpanFunc.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SpanFunc.java
BSD-3-Clause
public static FT_SpanFunc create(FT_SpanFuncI instance) { return instance instanceof FT_SpanFunc ? (FT_SpanFunc)instance : new Container(instance.address(), instance); }
Creates a {@code FT_SpanFunc} instance from the specified function pointer. @return the new {@code FT_SpanFunc} public static FT_SpanFunc create(long functionPointer) { FT_SpanFuncI instance = Callback.get(functionPointer); return instance instanceof FT_SpanFunc ? (FT_SpanFunc)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}. public static @Nullable FT_SpanFunc createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); } /** Creates a {@code FT_SpanFunc} instance that delegates to the specified {@code FT_SpanFuncI} instance.
FT_SpanFunc::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SpanFunc.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SpanFunc.java
BSD-3-Clause
public static FT_Outline_MoveToFunc create(long functionPointer) { FT_Outline_MoveToFuncI instance = Callback.get(functionPointer); return instance instanceof FT_Outline_MoveToFunc ? (FT_Outline_MoveToFunc)instance : new Container(functionPointer, instance); }
Creates a {@code FT_Outline_MoveToFunc} instance from the specified function pointer. @return the new {@code FT_Outline_MoveToFunc}
FT_Outline_MoveToFunc::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline_MoveToFunc.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline_MoveToFunc.java
BSD-3-Clause
public static @Nullable FT_Outline_MoveToFunc createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); }
Creates a {@code FT_Outline_MoveToFunc} instance from the specified function pointer. @return the new {@code FT_Outline_MoveToFunc} public static FT_Outline_MoveToFunc create(long functionPointer) { FT_Outline_MoveToFuncI instance = Callback.get(functionPointer); return instance instanceof FT_Outline_MoveToFunc ? (FT_Outline_MoveToFunc)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}.
FT_Outline_MoveToFunc::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline_MoveToFunc.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline_MoveToFunc.java
BSD-3-Clause
public static FT_Outline_MoveToFunc create(FT_Outline_MoveToFuncI instance) { return instance instanceof FT_Outline_MoveToFunc ? (FT_Outline_MoveToFunc)instance : new Container(instance.address(), instance); }
Creates a {@code FT_Outline_MoveToFunc} instance from the specified function pointer. @return the new {@code FT_Outline_MoveToFunc} public static FT_Outline_MoveToFunc create(long functionPointer) { FT_Outline_MoveToFuncI instance = Callback.get(functionPointer); return instance instanceof FT_Outline_MoveToFunc ? (FT_Outline_MoveToFunc)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}. public static @Nullable FT_Outline_MoveToFunc createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); } /** Creates a {@code FT_Outline_MoveToFunc} instance that delegates to the specified {@code FT_Outline_MoveToFuncI} instance.
FT_Outline_MoveToFunc::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline_MoveToFunc.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Outline_MoveToFunc.java
BSD-3-Clause
public FT_PaintGlyph(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_PaintGlyph} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p>
FT_PaintGlyph::FT_PaintGlyph
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintGlyph.java
BSD-3-Clause
public static FT_PaintGlyph create(long address) { return new FT_PaintGlyph(address, null); }
Creates a {@code FT_PaintGlyph} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_PaintGlyph(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_OpaquePaint} view of the {@code paint} field. @NativeType("FT_OpaquePaintRec") public FT_OpaquePaint paint() { return npaint(address()); } /** @return the value of the {@code glyphID} field. @NativeType("FT_UInt") public int glyphID() { return nglyphID(address()); } // ----------------------------------- /** Returns a new {@code FT_PaintGlyph} instance for the specified memory address.
FT_PaintGlyph::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintGlyph.java
BSD-3-Clause
public static @Nullable FT_PaintGlyph createSafe(long address) { return address == NULL ? null : new FT_PaintGlyph(address, null); }
Creates a {@code FT_PaintGlyph} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_PaintGlyph(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_OpaquePaint} view of the {@code paint} field. @NativeType("FT_OpaquePaintRec") public FT_OpaquePaint paint() { return npaint(address()); } /** @return the value of the {@code glyphID} field. @NativeType("FT_UInt") public int glyphID() { return nglyphID(address()); } // ----------------------------------- /** Returns a new {@code FT_PaintGlyph} instance for the specified memory address. public static FT_PaintGlyph create(long address) { return new FT_PaintGlyph(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_PaintGlyph::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintGlyph.java
BSD-3-Clause
public static FT_PaintGlyph.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_PaintGlyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_PaintGlyph::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintGlyph.java
BSD-3-Clause
public static FT_PaintGlyph.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_PaintGlyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintGlyph.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_PaintGlyph::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintGlyph.java
BSD-3-Clause
public static FT_OpaquePaint npaint(long struct) { return FT_OpaquePaint.create(struct + FT_PaintGlyph.PAINT); }
Create a {@link FT_PaintGlyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintGlyph.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_PaintGlyph.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #paint}.
FT_PaintGlyph::npaint
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintGlyph.java
BSD-3-Clause
public static int nglyphID(long struct) { return memGetInt(struct + FT_PaintGlyph.GLYPHID); }
Create a {@link FT_PaintGlyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintGlyph.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_PaintGlyph.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #paint}. public static FT_OpaquePaint npaint(long struct) { return FT_OpaquePaint.create(struct + FT_PaintGlyph.PAINT); } /** Unsafe version of {@link #glyphID}.
FT_PaintGlyph::nglyphID
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintGlyph.java
BSD-3-Clause
public FT_Size_Internal(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_Size_Internal} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p>
FT_Size_Internal::FT_Size_Internal
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
BSD-3-Clause
public FT_Size_Metrics autohint_metrics() { return nautohint_metrics(address()); }
Creates a {@code FT_Size_Internal} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Size_Internal(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code module_data} field. @NativeType("void *") public long module_data() { return nmodule_data(address()); } /** @return the value of the {@code autohint_mode} field. @NativeType("FT_Render_Mode") public int autohint_mode() { return nautohint_mode(address()); } /** @return a {@link FT_Size_Metrics} view of the {@code autohint_metrics} field.
FT_Size_Internal::autohint_metrics
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
BSD-3-Clause
public static FT_Size_Internal create(long address) { return new FT_Size_Internal(address, null); }
Creates a {@code FT_Size_Internal} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Size_Internal(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code module_data} field. @NativeType("void *") public long module_data() { return nmodule_data(address()); } /** @return the value of the {@code autohint_mode} field. @NativeType("FT_Render_Mode") public int autohint_mode() { return nautohint_mode(address()); } /** @return a {@link FT_Size_Metrics} view of the {@code autohint_metrics} field. public FT_Size_Metrics autohint_metrics() { return nautohint_metrics(address()); } // ----------------------------------- /** Returns a new {@code FT_Size_Internal} instance for the specified memory address.
FT_Size_Internal::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
BSD-3-Clause
public static @Nullable FT_Size_Internal createSafe(long address) { return address == NULL ? null : new FT_Size_Internal(address, null); }
Creates a {@code FT_Size_Internal} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Size_Internal(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code module_data} field. @NativeType("void *") public long module_data() { return nmodule_data(address()); } /** @return the value of the {@code autohint_mode} field. @NativeType("FT_Render_Mode") public int autohint_mode() { return nautohint_mode(address()); } /** @return a {@link FT_Size_Metrics} view of the {@code autohint_metrics} field. public FT_Size_Metrics autohint_metrics() { return nautohint_metrics(address()); } // ----------------------------------- /** Returns a new {@code FT_Size_Internal} instance for the specified memory address. public static FT_Size_Internal create(long address) { return new FT_Size_Internal(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_Size_Internal::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
BSD-3-Clause
public static FT_Size_Internal.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_Size_Internal.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_Size_Internal::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
BSD-3-Clause
public static FT_Size_Internal.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_Size_Internal.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Size_Internal.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_Size_Internal::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
BSD-3-Clause
public static long nmodule_data(long struct) { return memGetAddress(struct + FT_Size_Internal.MODULE_DATA); }
Create a {@link FT_Size_Internal.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Size_Internal.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Size_Internal.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #module_data}.
FT_Size_Internal::nmodule_data
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
BSD-3-Clause
public static int nautohint_mode(long struct) { return memGetInt(struct + FT_Size_Internal.AUTOHINT_MODE); }
Create a {@link FT_Size_Internal.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Size_Internal.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Size_Internal.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #module_data}. public static long nmodule_data(long struct) { return memGetAddress(struct + FT_Size_Internal.MODULE_DATA); } /** Unsafe version of {@link #autohint_mode}.
FT_Size_Internal::nautohint_mode
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
BSD-3-Clause
public static FT_Size_Metrics nautohint_metrics(long struct) { return FT_Size_Metrics.create(struct + FT_Size_Internal.AUTOHINT_METRICS); }
Create a {@link FT_Size_Internal.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Size_Internal.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Size_Internal.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #module_data}. public static long nmodule_data(long struct) { return memGetAddress(struct + FT_Size_Internal.MODULE_DATA); } /** Unsafe version of {@link #autohint_mode}. public static int nautohint_mode(long struct) { return memGetInt(struct + FT_Size_Internal.AUTOHINT_MODE); } /** Unsafe version of {@link #autohint_metrics}.
FT_Size_Internal::nautohint_metrics
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
BSD-3-Clause
public FT_Size_Metrics autohint_metrics() { return FT_Size_Internal.nautohint_metrics(address()); }
Creates a new {@code FT_Size_Internal.Buffer} instance backed by the specified container. <p>Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by {@link FT_Size_Internal#SIZEOF}, and its mark will be undefined.</p> <p>The created buffer instance holds a strong reference to the container object.</p> public Buffer(ByteBuffer container) { super(container, container.remaining() / SIZEOF); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected Buffer create(long address, @Nullable ByteBuffer container, int mark, int position, int limit, int capacity) { return new Buffer(address, container, mark, position, limit, capacity); } @Override protected FT_Size_Internal getElementFactory() { return ELEMENT_FACTORY; } /** @return the value of the {@code module_data} field. @NativeType("void *") public long module_data() { return FT_Size_Internal.nmodule_data(address()); } /** @return the value of the {@code autohint_mode} field. @NativeType("FT_Render_Mode") public int autohint_mode() { return FT_Size_Internal.nautohint_mode(address()); } /** @return a {@link FT_Size_Metrics} view of the {@code autohint_metrics} field.
Buffer::autohint_metrics
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size_Internal.java
BSD-3-Clause
public FT_Stream(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_Stream} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p>
FT_Stream::FT_Stream
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_StreamDesc descriptor() { return ndescriptor(address()); }
Creates a {@code FT_Stream} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Stream(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field.
FT_Stream::descriptor
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_StreamDesc pathname() { return npathname(address()); }
Creates a {@code FT_Stream} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Stream(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field.
FT_Stream::pathname
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public @Nullable FT_Stream_IoFunc read() { return nread(address()); }
Creates a {@code FT_Stream} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Stream(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return npathname(address()); } /** @return the value of the {@code read} field.
FT_Stream::read
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { nbase(address(), value); return this; }
Creates a {@code FT_Stream} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Stream(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field.
FT_Stream::base
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream size(@NativeType("unsigned long") long value) { nsize(address(), value); return this; }
Creates a {@code FT_Stream} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Stream(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field. public FT_Stream base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { nbase(address(), value); return this; } /** Sets the specified value to the {@code size} field.
FT_Stream::size
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream pos(@NativeType("unsigned long") long value) { npos(address(), value); return this; }
Creates a {@code FT_Stream} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Stream(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field. public FT_Stream base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { nbase(address(), value); return this; } /** Sets the specified value to the {@code size} field. public FT_Stream size(@NativeType("unsigned long") long value) { nsize(address(), value); return this; } /** Sets the specified value to the {@code pos} field.
FT_Stream::pos
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream descriptor(FT_StreamDesc value) { ndescriptor(address(), value); return this; }
Creates a {@code FT_Stream} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Stream(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field. public FT_Stream base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { nbase(address(), value); return this; } /** Sets the specified value to the {@code size} field. public FT_Stream size(@NativeType("unsigned long") long value) { nsize(address(), value); return this; } /** Sets the specified value to the {@code pos} field. public FT_Stream pos(@NativeType("unsigned long") long value) { npos(address(), value); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code descriptor} field.
FT_Stream::descriptor
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause
public FT_Stream descriptor(java.util.function.Consumer<FT_StreamDesc> consumer) { consumer.accept(descriptor()); return this; }
Creates a {@code FT_Stream} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Stream(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link ByteBuffer} view of the data pointed to by the {@code base} field. @NativeType("unsigned char *") public @Nullable ByteBuffer base() { return nbase(address()); } /** @return the value of the {@code size} field. @NativeType("unsigned long") public long size() { return nsize(address()); } /** @return the value of the {@code pos} field. @NativeType("unsigned long") public long pos() { return npos(address()); } /** @return a {@link FT_StreamDesc} view of the {@code descriptor} field. public FT_StreamDesc descriptor() { return ndescriptor(address()); } /** @return a {@link FT_StreamDesc} view of the {@code pathname} field. public FT_StreamDesc pathname() { return npathname(address()); } /** @return the value of the {@code read} field. public @Nullable FT_Stream_IoFunc read() { return nread(address()); } /** @return the value of the {@code close} field. public @Nullable FT_Stream_CloseFunc close$() { return nclose$(address()); } /** Sets the address of the specified {@link ByteBuffer} to the {@code base} field. public FT_Stream base(@Nullable @NativeType("unsigned char *") ByteBuffer value) { nbase(address(), value); return this; } /** Sets the specified value to the {@code size} field. public FT_Stream size(@NativeType("unsigned long") long value) { nsize(address(), value); return this; } /** Sets the specified value to the {@code pos} field. public FT_Stream pos(@NativeType("unsigned long") long value) { npos(address(), value); return this; } /** Copies the specified {@link FT_StreamDesc} to the {@code descriptor} field. public FT_Stream descriptor(FT_StreamDesc value) { ndescriptor(address(), value); return this; } /** Passes the {@code descriptor} field to the specified {@link java.util.function.Consumer Consumer}.
FT_Stream::descriptor
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream.java
BSD-3-Clause