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 FT_Generic ngeneric(long struct) { return FT_Generic.create(struct + FT_Face.GENERIC); } |
Create a {@link FT_Face.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Face.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_Face.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_faces}.
public static long nnum_faces(long struct) { return memGetCLong(struct + FT_Face.NUM_FACES); }
/** Unsafe version of {@link #face_index}.
public static long nface_index(long struct) { return memGetCLong(struct + FT_Face.FACE_INDEX); }
/** Unsafe version of {@link #face_flags}.
public static long nface_flags(long struct) { return memGetCLong(struct + FT_Face.FACE_FLAGS); }
/** Unsafe version of {@link #style_flags}.
public static long nstyle_flags(long struct) { return memGetCLong(struct + FT_Face.STYLE_FLAGS); }
/** Unsafe version of {@link #num_glyphs}.
public static long nnum_glyphs(long struct) { return memGetCLong(struct + FT_Face.NUM_GLYPHS); }
/** Unsafe version of {@link #family_name}.
public static ByteBuffer nfamily_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #family_nameString}.
public static String nfamily_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #style_name}.
public static ByteBuffer nstyle_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #style_nameString}.
public static String nstyle_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #num_fixed_sizes}.
public static int nnum_fixed_sizes(long struct) { return memGetInt(struct + FT_Face.NUM_FIXED_SIZES); }
/** Unsafe version of {@link #available_sizes}.
public static FT_Bitmap_Size.@Nullable Buffer navailable_sizes(long struct) { return FT_Bitmap_Size.createSafe(memGetAddress(struct + FT_Face.AVAILABLE_SIZES), nnum_fixed_sizes(struct)); }
/** Unsafe version of {@link #num_charmaps}.
public static int nnum_charmaps(long struct) { return memGetInt(struct + FT_Face.NUM_CHARMAPS); }
/** Unsafe version of {@link #charmaps() charmaps}.
public static PointerBuffer ncharmaps(long struct) { return memPointerBuffer(memGetAddress(struct + FT_Face.CHARMAPS), nnum_charmaps(struct)); }
/** Unsafe version of {@link #generic}. | FT_Face::ngeneric | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public static FT_BBox nbbox(long struct) { return FT_BBox.create(struct + FT_Face.BBOX); } |
Create a {@link FT_Face.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Face.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_Face.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_faces}.
public static long nnum_faces(long struct) { return memGetCLong(struct + FT_Face.NUM_FACES); }
/** Unsafe version of {@link #face_index}.
public static long nface_index(long struct) { return memGetCLong(struct + FT_Face.FACE_INDEX); }
/** Unsafe version of {@link #face_flags}.
public static long nface_flags(long struct) { return memGetCLong(struct + FT_Face.FACE_FLAGS); }
/** Unsafe version of {@link #style_flags}.
public static long nstyle_flags(long struct) { return memGetCLong(struct + FT_Face.STYLE_FLAGS); }
/** Unsafe version of {@link #num_glyphs}.
public static long nnum_glyphs(long struct) { return memGetCLong(struct + FT_Face.NUM_GLYPHS); }
/** Unsafe version of {@link #family_name}.
public static ByteBuffer nfamily_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #family_nameString}.
public static String nfamily_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #style_name}.
public static ByteBuffer nstyle_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #style_nameString}.
public static String nstyle_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #num_fixed_sizes}.
public static int nnum_fixed_sizes(long struct) { return memGetInt(struct + FT_Face.NUM_FIXED_SIZES); }
/** Unsafe version of {@link #available_sizes}.
public static FT_Bitmap_Size.@Nullable Buffer navailable_sizes(long struct) { return FT_Bitmap_Size.createSafe(memGetAddress(struct + FT_Face.AVAILABLE_SIZES), nnum_fixed_sizes(struct)); }
/** Unsafe version of {@link #num_charmaps}.
public static int nnum_charmaps(long struct) { return memGetInt(struct + FT_Face.NUM_CHARMAPS); }
/** Unsafe version of {@link #charmaps() charmaps}.
public static PointerBuffer ncharmaps(long struct) { return memPointerBuffer(memGetAddress(struct + FT_Face.CHARMAPS), nnum_charmaps(struct)); }
/** Unsafe version of {@link #generic}.
public static FT_Generic ngeneric(long struct) { return FT_Generic.create(struct + FT_Face.GENERIC); }
/** Unsafe version of {@link #bbox}. | FT_Face::nbbox | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public static short nunits_per_EM(long struct) { return memGetShort(struct + FT_Face.UNITS_PER_EM); } |
Create a {@link FT_Face.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Face.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_Face.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_faces}.
public static long nnum_faces(long struct) { return memGetCLong(struct + FT_Face.NUM_FACES); }
/** Unsafe version of {@link #face_index}.
public static long nface_index(long struct) { return memGetCLong(struct + FT_Face.FACE_INDEX); }
/** Unsafe version of {@link #face_flags}.
public static long nface_flags(long struct) { return memGetCLong(struct + FT_Face.FACE_FLAGS); }
/** Unsafe version of {@link #style_flags}.
public static long nstyle_flags(long struct) { return memGetCLong(struct + FT_Face.STYLE_FLAGS); }
/** Unsafe version of {@link #num_glyphs}.
public static long nnum_glyphs(long struct) { return memGetCLong(struct + FT_Face.NUM_GLYPHS); }
/** Unsafe version of {@link #family_name}.
public static ByteBuffer nfamily_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #family_nameString}.
public static String nfamily_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #style_name}.
public static ByteBuffer nstyle_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #style_nameString}.
public static String nstyle_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #num_fixed_sizes}.
public static int nnum_fixed_sizes(long struct) { return memGetInt(struct + FT_Face.NUM_FIXED_SIZES); }
/** Unsafe version of {@link #available_sizes}.
public static FT_Bitmap_Size.@Nullable Buffer navailable_sizes(long struct) { return FT_Bitmap_Size.createSafe(memGetAddress(struct + FT_Face.AVAILABLE_SIZES), nnum_fixed_sizes(struct)); }
/** Unsafe version of {@link #num_charmaps}.
public static int nnum_charmaps(long struct) { return memGetInt(struct + FT_Face.NUM_CHARMAPS); }
/** Unsafe version of {@link #charmaps() charmaps}.
public static PointerBuffer ncharmaps(long struct) { return memPointerBuffer(memGetAddress(struct + FT_Face.CHARMAPS), nnum_charmaps(struct)); }
/** Unsafe version of {@link #generic}.
public static FT_Generic ngeneric(long struct) { return FT_Generic.create(struct + FT_Face.GENERIC); }
/** Unsafe version of {@link #bbox}.
public static FT_BBox nbbox(long struct) { return FT_BBox.create(struct + FT_Face.BBOX); }
/** Unsafe version of {@link #units_per_EM}. | FT_Face::nunits_per_EM | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public static short nascender(long struct) { return memGetShort(struct + FT_Face.ASCENDER); } |
Create a {@link FT_Face.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Face.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_Face.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_faces}.
public static long nnum_faces(long struct) { return memGetCLong(struct + FT_Face.NUM_FACES); }
/** Unsafe version of {@link #face_index}.
public static long nface_index(long struct) { return memGetCLong(struct + FT_Face.FACE_INDEX); }
/** Unsafe version of {@link #face_flags}.
public static long nface_flags(long struct) { return memGetCLong(struct + FT_Face.FACE_FLAGS); }
/** Unsafe version of {@link #style_flags}.
public static long nstyle_flags(long struct) { return memGetCLong(struct + FT_Face.STYLE_FLAGS); }
/** Unsafe version of {@link #num_glyphs}.
public static long nnum_glyphs(long struct) { return memGetCLong(struct + FT_Face.NUM_GLYPHS); }
/** Unsafe version of {@link #family_name}.
public static ByteBuffer nfamily_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #family_nameString}.
public static String nfamily_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #style_name}.
public static ByteBuffer nstyle_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #style_nameString}.
public static String nstyle_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #num_fixed_sizes}.
public static int nnum_fixed_sizes(long struct) { return memGetInt(struct + FT_Face.NUM_FIXED_SIZES); }
/** Unsafe version of {@link #available_sizes}.
public static FT_Bitmap_Size.@Nullable Buffer navailable_sizes(long struct) { return FT_Bitmap_Size.createSafe(memGetAddress(struct + FT_Face.AVAILABLE_SIZES), nnum_fixed_sizes(struct)); }
/** Unsafe version of {@link #num_charmaps}.
public static int nnum_charmaps(long struct) { return memGetInt(struct + FT_Face.NUM_CHARMAPS); }
/** Unsafe version of {@link #charmaps() charmaps}.
public static PointerBuffer ncharmaps(long struct) { return memPointerBuffer(memGetAddress(struct + FT_Face.CHARMAPS), nnum_charmaps(struct)); }
/** Unsafe version of {@link #generic}.
public static FT_Generic ngeneric(long struct) { return FT_Generic.create(struct + FT_Face.GENERIC); }
/** Unsafe version of {@link #bbox}.
public static FT_BBox nbbox(long struct) { return FT_BBox.create(struct + FT_Face.BBOX); }
/** Unsafe version of {@link #units_per_EM}.
public static short nunits_per_EM(long struct) { return memGetShort(struct + FT_Face.UNITS_PER_EM); }
/** Unsafe version of {@link #ascender}. | FT_Face::nascender | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public static short ndescender(long struct) { return memGetShort(struct + FT_Face.DESCENDER); } |
Create a {@link FT_Face.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Face.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_Face.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_faces}.
public static long nnum_faces(long struct) { return memGetCLong(struct + FT_Face.NUM_FACES); }
/** Unsafe version of {@link #face_index}.
public static long nface_index(long struct) { return memGetCLong(struct + FT_Face.FACE_INDEX); }
/** Unsafe version of {@link #face_flags}.
public static long nface_flags(long struct) { return memGetCLong(struct + FT_Face.FACE_FLAGS); }
/** Unsafe version of {@link #style_flags}.
public static long nstyle_flags(long struct) { return memGetCLong(struct + FT_Face.STYLE_FLAGS); }
/** Unsafe version of {@link #num_glyphs}.
public static long nnum_glyphs(long struct) { return memGetCLong(struct + FT_Face.NUM_GLYPHS); }
/** Unsafe version of {@link #family_name}.
public static ByteBuffer nfamily_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #family_nameString}.
public static String nfamily_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #style_name}.
public static ByteBuffer nstyle_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #style_nameString}.
public static String nstyle_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #num_fixed_sizes}.
public static int nnum_fixed_sizes(long struct) { return memGetInt(struct + FT_Face.NUM_FIXED_SIZES); }
/** Unsafe version of {@link #available_sizes}.
public static FT_Bitmap_Size.@Nullable Buffer navailable_sizes(long struct) { return FT_Bitmap_Size.createSafe(memGetAddress(struct + FT_Face.AVAILABLE_SIZES), nnum_fixed_sizes(struct)); }
/** Unsafe version of {@link #num_charmaps}.
public static int nnum_charmaps(long struct) { return memGetInt(struct + FT_Face.NUM_CHARMAPS); }
/** Unsafe version of {@link #charmaps() charmaps}.
public static PointerBuffer ncharmaps(long struct) { return memPointerBuffer(memGetAddress(struct + FT_Face.CHARMAPS), nnum_charmaps(struct)); }
/** Unsafe version of {@link #generic}.
public static FT_Generic ngeneric(long struct) { return FT_Generic.create(struct + FT_Face.GENERIC); }
/** Unsafe version of {@link #bbox}.
public static FT_BBox nbbox(long struct) { return FT_BBox.create(struct + FT_Face.BBOX); }
/** Unsafe version of {@link #units_per_EM}.
public static short nunits_per_EM(long struct) { return memGetShort(struct + FT_Face.UNITS_PER_EM); }
/** Unsafe version of {@link #ascender}.
public static short nascender(long struct) { return memGetShort(struct + FT_Face.ASCENDER); }
/** Unsafe version of {@link #descender}. | FT_Face::ndescender | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public static short nheight(long struct) { return memGetShort(struct + FT_Face.HEIGHT); } |
Create a {@link FT_Face.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Face.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_Face.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_faces}.
public static long nnum_faces(long struct) { return memGetCLong(struct + FT_Face.NUM_FACES); }
/** Unsafe version of {@link #face_index}.
public static long nface_index(long struct) { return memGetCLong(struct + FT_Face.FACE_INDEX); }
/** Unsafe version of {@link #face_flags}.
public static long nface_flags(long struct) { return memGetCLong(struct + FT_Face.FACE_FLAGS); }
/** Unsafe version of {@link #style_flags}.
public static long nstyle_flags(long struct) { return memGetCLong(struct + FT_Face.STYLE_FLAGS); }
/** Unsafe version of {@link #num_glyphs}.
public static long nnum_glyphs(long struct) { return memGetCLong(struct + FT_Face.NUM_GLYPHS); }
/** Unsafe version of {@link #family_name}.
public static ByteBuffer nfamily_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #family_nameString}.
public static String nfamily_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #style_name}.
public static ByteBuffer nstyle_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #style_nameString}.
public static String nstyle_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #num_fixed_sizes}.
public static int nnum_fixed_sizes(long struct) { return memGetInt(struct + FT_Face.NUM_FIXED_SIZES); }
/** Unsafe version of {@link #available_sizes}.
public static FT_Bitmap_Size.@Nullable Buffer navailable_sizes(long struct) { return FT_Bitmap_Size.createSafe(memGetAddress(struct + FT_Face.AVAILABLE_SIZES), nnum_fixed_sizes(struct)); }
/** Unsafe version of {@link #num_charmaps}.
public static int nnum_charmaps(long struct) { return memGetInt(struct + FT_Face.NUM_CHARMAPS); }
/** Unsafe version of {@link #charmaps() charmaps}.
public static PointerBuffer ncharmaps(long struct) { return memPointerBuffer(memGetAddress(struct + FT_Face.CHARMAPS), nnum_charmaps(struct)); }
/** Unsafe version of {@link #generic}.
public static FT_Generic ngeneric(long struct) { return FT_Generic.create(struct + FT_Face.GENERIC); }
/** Unsafe version of {@link #bbox}.
public static FT_BBox nbbox(long struct) { return FT_BBox.create(struct + FT_Face.BBOX); }
/** Unsafe version of {@link #units_per_EM}.
public static short nunits_per_EM(long struct) { return memGetShort(struct + FT_Face.UNITS_PER_EM); }
/** Unsafe version of {@link #ascender}.
public static short nascender(long struct) { return memGetShort(struct + FT_Face.ASCENDER); }
/** Unsafe version of {@link #descender}.
public static short ndescender(long struct) { return memGetShort(struct + FT_Face.DESCENDER); }
/** Unsafe version of {@link #height}. | FT_Face::nheight | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public static short nmax_advance_width(long struct) { return memGetShort(struct + FT_Face.MAX_ADVANCE_WIDTH); } |
Create a {@link FT_Face.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Face.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_Face.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_faces}.
public static long nnum_faces(long struct) { return memGetCLong(struct + FT_Face.NUM_FACES); }
/** Unsafe version of {@link #face_index}.
public static long nface_index(long struct) { return memGetCLong(struct + FT_Face.FACE_INDEX); }
/** Unsafe version of {@link #face_flags}.
public static long nface_flags(long struct) { return memGetCLong(struct + FT_Face.FACE_FLAGS); }
/** Unsafe version of {@link #style_flags}.
public static long nstyle_flags(long struct) { return memGetCLong(struct + FT_Face.STYLE_FLAGS); }
/** Unsafe version of {@link #num_glyphs}.
public static long nnum_glyphs(long struct) { return memGetCLong(struct + FT_Face.NUM_GLYPHS); }
/** Unsafe version of {@link #family_name}.
public static ByteBuffer nfamily_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #family_nameString}.
public static String nfamily_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #style_name}.
public static ByteBuffer nstyle_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #style_nameString}.
public static String nstyle_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #num_fixed_sizes}.
public static int nnum_fixed_sizes(long struct) { return memGetInt(struct + FT_Face.NUM_FIXED_SIZES); }
/** Unsafe version of {@link #available_sizes}.
public static FT_Bitmap_Size.@Nullable Buffer navailable_sizes(long struct) { return FT_Bitmap_Size.createSafe(memGetAddress(struct + FT_Face.AVAILABLE_SIZES), nnum_fixed_sizes(struct)); }
/** Unsafe version of {@link #num_charmaps}.
public static int nnum_charmaps(long struct) { return memGetInt(struct + FT_Face.NUM_CHARMAPS); }
/** Unsafe version of {@link #charmaps() charmaps}.
public static PointerBuffer ncharmaps(long struct) { return memPointerBuffer(memGetAddress(struct + FT_Face.CHARMAPS), nnum_charmaps(struct)); }
/** Unsafe version of {@link #generic}.
public static FT_Generic ngeneric(long struct) { return FT_Generic.create(struct + FT_Face.GENERIC); }
/** Unsafe version of {@link #bbox}.
public static FT_BBox nbbox(long struct) { return FT_BBox.create(struct + FT_Face.BBOX); }
/** Unsafe version of {@link #units_per_EM}.
public static short nunits_per_EM(long struct) { return memGetShort(struct + FT_Face.UNITS_PER_EM); }
/** Unsafe version of {@link #ascender}.
public static short nascender(long struct) { return memGetShort(struct + FT_Face.ASCENDER); }
/** Unsafe version of {@link #descender}.
public static short ndescender(long struct) { return memGetShort(struct + FT_Face.DESCENDER); }
/** Unsafe version of {@link #height}.
public static short nheight(long struct) { return memGetShort(struct + FT_Face.HEIGHT); }
/** Unsafe version of {@link #max_advance_width}. | FT_Face::nmax_advance_width | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public static short nmax_advance_height(long struct) { return memGetShort(struct + FT_Face.MAX_ADVANCE_HEIGHT); } |
Create a {@link FT_Face.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Face.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_Face.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_faces}.
public static long nnum_faces(long struct) { return memGetCLong(struct + FT_Face.NUM_FACES); }
/** Unsafe version of {@link #face_index}.
public static long nface_index(long struct) { return memGetCLong(struct + FT_Face.FACE_INDEX); }
/** Unsafe version of {@link #face_flags}.
public static long nface_flags(long struct) { return memGetCLong(struct + FT_Face.FACE_FLAGS); }
/** Unsafe version of {@link #style_flags}.
public static long nstyle_flags(long struct) { return memGetCLong(struct + FT_Face.STYLE_FLAGS); }
/** Unsafe version of {@link #num_glyphs}.
public static long nnum_glyphs(long struct) { return memGetCLong(struct + FT_Face.NUM_GLYPHS); }
/** Unsafe version of {@link #family_name}.
public static ByteBuffer nfamily_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #family_nameString}.
public static String nfamily_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #style_name}.
public static ByteBuffer nstyle_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #style_nameString}.
public static String nstyle_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #num_fixed_sizes}.
public static int nnum_fixed_sizes(long struct) { return memGetInt(struct + FT_Face.NUM_FIXED_SIZES); }
/** Unsafe version of {@link #available_sizes}.
public static FT_Bitmap_Size.@Nullable Buffer navailable_sizes(long struct) { return FT_Bitmap_Size.createSafe(memGetAddress(struct + FT_Face.AVAILABLE_SIZES), nnum_fixed_sizes(struct)); }
/** Unsafe version of {@link #num_charmaps}.
public static int nnum_charmaps(long struct) { return memGetInt(struct + FT_Face.NUM_CHARMAPS); }
/** Unsafe version of {@link #charmaps() charmaps}.
public static PointerBuffer ncharmaps(long struct) { return memPointerBuffer(memGetAddress(struct + FT_Face.CHARMAPS), nnum_charmaps(struct)); }
/** Unsafe version of {@link #generic}.
public static FT_Generic ngeneric(long struct) { return FT_Generic.create(struct + FT_Face.GENERIC); }
/** Unsafe version of {@link #bbox}.
public static FT_BBox nbbox(long struct) { return FT_BBox.create(struct + FT_Face.BBOX); }
/** Unsafe version of {@link #units_per_EM}.
public static short nunits_per_EM(long struct) { return memGetShort(struct + FT_Face.UNITS_PER_EM); }
/** Unsafe version of {@link #ascender}.
public static short nascender(long struct) { return memGetShort(struct + FT_Face.ASCENDER); }
/** Unsafe version of {@link #descender}.
public static short ndescender(long struct) { return memGetShort(struct + FT_Face.DESCENDER); }
/** Unsafe version of {@link #height}.
public static short nheight(long struct) { return memGetShort(struct + FT_Face.HEIGHT); }
/** Unsafe version of {@link #max_advance_width}.
public static short nmax_advance_width(long struct) { return memGetShort(struct + FT_Face.MAX_ADVANCE_WIDTH); }
/** Unsafe version of {@link #max_advance_height}. | FT_Face::nmax_advance_height | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public static short nunderline_position(long struct) { return memGetShort(struct + FT_Face.UNDERLINE_POSITION); } |
Create a {@link FT_Face.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Face.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_Face.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_faces}.
public static long nnum_faces(long struct) { return memGetCLong(struct + FT_Face.NUM_FACES); }
/** Unsafe version of {@link #face_index}.
public static long nface_index(long struct) { return memGetCLong(struct + FT_Face.FACE_INDEX); }
/** Unsafe version of {@link #face_flags}.
public static long nface_flags(long struct) { return memGetCLong(struct + FT_Face.FACE_FLAGS); }
/** Unsafe version of {@link #style_flags}.
public static long nstyle_flags(long struct) { return memGetCLong(struct + FT_Face.STYLE_FLAGS); }
/** Unsafe version of {@link #num_glyphs}.
public static long nnum_glyphs(long struct) { return memGetCLong(struct + FT_Face.NUM_GLYPHS); }
/** Unsafe version of {@link #family_name}.
public static ByteBuffer nfamily_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #family_nameString}.
public static String nfamily_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #style_name}.
public static ByteBuffer nstyle_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #style_nameString}.
public static String nstyle_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #num_fixed_sizes}.
public static int nnum_fixed_sizes(long struct) { return memGetInt(struct + FT_Face.NUM_FIXED_SIZES); }
/** Unsafe version of {@link #available_sizes}.
public static FT_Bitmap_Size.@Nullable Buffer navailable_sizes(long struct) { return FT_Bitmap_Size.createSafe(memGetAddress(struct + FT_Face.AVAILABLE_SIZES), nnum_fixed_sizes(struct)); }
/** Unsafe version of {@link #num_charmaps}.
public static int nnum_charmaps(long struct) { return memGetInt(struct + FT_Face.NUM_CHARMAPS); }
/** Unsafe version of {@link #charmaps() charmaps}.
public static PointerBuffer ncharmaps(long struct) { return memPointerBuffer(memGetAddress(struct + FT_Face.CHARMAPS), nnum_charmaps(struct)); }
/** Unsafe version of {@link #generic}.
public static FT_Generic ngeneric(long struct) { return FT_Generic.create(struct + FT_Face.GENERIC); }
/** Unsafe version of {@link #bbox}.
public static FT_BBox nbbox(long struct) { return FT_BBox.create(struct + FT_Face.BBOX); }
/** Unsafe version of {@link #units_per_EM}.
public static short nunits_per_EM(long struct) { return memGetShort(struct + FT_Face.UNITS_PER_EM); }
/** Unsafe version of {@link #ascender}.
public static short nascender(long struct) { return memGetShort(struct + FT_Face.ASCENDER); }
/** Unsafe version of {@link #descender}.
public static short ndescender(long struct) { return memGetShort(struct + FT_Face.DESCENDER); }
/** Unsafe version of {@link #height}.
public static short nheight(long struct) { return memGetShort(struct + FT_Face.HEIGHT); }
/** Unsafe version of {@link #max_advance_width}.
public static short nmax_advance_width(long struct) { return memGetShort(struct + FT_Face.MAX_ADVANCE_WIDTH); }
/** Unsafe version of {@link #max_advance_height}.
public static short nmax_advance_height(long struct) { return memGetShort(struct + FT_Face.MAX_ADVANCE_HEIGHT); }
/** Unsafe version of {@link #underline_position}. | FT_Face::nunderline_position | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public static short nunderline_thickness(long struct) { return memGetShort(struct + FT_Face.UNDERLINE_THICKNESS); } |
Create a {@link FT_Face.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Face.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_Face.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_faces}.
public static long nnum_faces(long struct) { return memGetCLong(struct + FT_Face.NUM_FACES); }
/** Unsafe version of {@link #face_index}.
public static long nface_index(long struct) { return memGetCLong(struct + FT_Face.FACE_INDEX); }
/** Unsafe version of {@link #face_flags}.
public static long nface_flags(long struct) { return memGetCLong(struct + FT_Face.FACE_FLAGS); }
/** Unsafe version of {@link #style_flags}.
public static long nstyle_flags(long struct) { return memGetCLong(struct + FT_Face.STYLE_FLAGS); }
/** Unsafe version of {@link #num_glyphs}.
public static long nnum_glyphs(long struct) { return memGetCLong(struct + FT_Face.NUM_GLYPHS); }
/** Unsafe version of {@link #family_name}.
public static ByteBuffer nfamily_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #family_nameString}.
public static String nfamily_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #style_name}.
public static ByteBuffer nstyle_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #style_nameString}.
public static String nstyle_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #num_fixed_sizes}.
public static int nnum_fixed_sizes(long struct) { return memGetInt(struct + FT_Face.NUM_FIXED_SIZES); }
/** Unsafe version of {@link #available_sizes}.
public static FT_Bitmap_Size.@Nullable Buffer navailable_sizes(long struct) { return FT_Bitmap_Size.createSafe(memGetAddress(struct + FT_Face.AVAILABLE_SIZES), nnum_fixed_sizes(struct)); }
/** Unsafe version of {@link #num_charmaps}.
public static int nnum_charmaps(long struct) { return memGetInt(struct + FT_Face.NUM_CHARMAPS); }
/** Unsafe version of {@link #charmaps() charmaps}.
public static PointerBuffer ncharmaps(long struct) { return memPointerBuffer(memGetAddress(struct + FT_Face.CHARMAPS), nnum_charmaps(struct)); }
/** Unsafe version of {@link #generic}.
public static FT_Generic ngeneric(long struct) { return FT_Generic.create(struct + FT_Face.GENERIC); }
/** Unsafe version of {@link #bbox}.
public static FT_BBox nbbox(long struct) { return FT_BBox.create(struct + FT_Face.BBOX); }
/** Unsafe version of {@link #units_per_EM}.
public static short nunits_per_EM(long struct) { return memGetShort(struct + FT_Face.UNITS_PER_EM); }
/** Unsafe version of {@link #ascender}.
public static short nascender(long struct) { return memGetShort(struct + FT_Face.ASCENDER); }
/** Unsafe version of {@link #descender}.
public static short ndescender(long struct) { return memGetShort(struct + FT_Face.DESCENDER); }
/** Unsafe version of {@link #height}.
public static short nheight(long struct) { return memGetShort(struct + FT_Face.HEIGHT); }
/** Unsafe version of {@link #max_advance_width}.
public static short nmax_advance_width(long struct) { return memGetShort(struct + FT_Face.MAX_ADVANCE_WIDTH); }
/** Unsafe version of {@link #max_advance_height}.
public static short nmax_advance_height(long struct) { return memGetShort(struct + FT_Face.MAX_ADVANCE_HEIGHT); }
/** Unsafe version of {@link #underline_position}.
public static short nunderline_position(long struct) { return memGetShort(struct + FT_Face.UNDERLINE_POSITION); }
/** Unsafe version of {@link #underline_thickness}. | FT_Face::nunderline_thickness | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public static @Nullable FT_GlyphSlot nglyph(long struct) { return FT_GlyphSlot.createSafe(memGetAddress(struct + FT_Face.GLYPH)); } |
Create a {@link FT_Face.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Face.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_Face.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_faces}.
public static long nnum_faces(long struct) { return memGetCLong(struct + FT_Face.NUM_FACES); }
/** Unsafe version of {@link #face_index}.
public static long nface_index(long struct) { return memGetCLong(struct + FT_Face.FACE_INDEX); }
/** Unsafe version of {@link #face_flags}.
public static long nface_flags(long struct) { return memGetCLong(struct + FT_Face.FACE_FLAGS); }
/** Unsafe version of {@link #style_flags}.
public static long nstyle_flags(long struct) { return memGetCLong(struct + FT_Face.STYLE_FLAGS); }
/** Unsafe version of {@link #num_glyphs}.
public static long nnum_glyphs(long struct) { return memGetCLong(struct + FT_Face.NUM_GLYPHS); }
/** Unsafe version of {@link #family_name}.
public static ByteBuffer nfamily_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #family_nameString}.
public static String nfamily_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #style_name}.
public static ByteBuffer nstyle_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #style_nameString}.
public static String nstyle_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #num_fixed_sizes}.
public static int nnum_fixed_sizes(long struct) { return memGetInt(struct + FT_Face.NUM_FIXED_SIZES); }
/** Unsafe version of {@link #available_sizes}.
public static FT_Bitmap_Size.@Nullable Buffer navailable_sizes(long struct) { return FT_Bitmap_Size.createSafe(memGetAddress(struct + FT_Face.AVAILABLE_SIZES), nnum_fixed_sizes(struct)); }
/** Unsafe version of {@link #num_charmaps}.
public static int nnum_charmaps(long struct) { return memGetInt(struct + FT_Face.NUM_CHARMAPS); }
/** Unsafe version of {@link #charmaps() charmaps}.
public static PointerBuffer ncharmaps(long struct) { return memPointerBuffer(memGetAddress(struct + FT_Face.CHARMAPS), nnum_charmaps(struct)); }
/** Unsafe version of {@link #generic}.
public static FT_Generic ngeneric(long struct) { return FT_Generic.create(struct + FT_Face.GENERIC); }
/** Unsafe version of {@link #bbox}.
public static FT_BBox nbbox(long struct) { return FT_BBox.create(struct + FT_Face.BBOX); }
/** Unsafe version of {@link #units_per_EM}.
public static short nunits_per_EM(long struct) { return memGetShort(struct + FT_Face.UNITS_PER_EM); }
/** Unsafe version of {@link #ascender}.
public static short nascender(long struct) { return memGetShort(struct + FT_Face.ASCENDER); }
/** Unsafe version of {@link #descender}.
public static short ndescender(long struct) { return memGetShort(struct + FT_Face.DESCENDER); }
/** Unsafe version of {@link #height}.
public static short nheight(long struct) { return memGetShort(struct + FT_Face.HEIGHT); }
/** Unsafe version of {@link #max_advance_width}.
public static short nmax_advance_width(long struct) { return memGetShort(struct + FT_Face.MAX_ADVANCE_WIDTH); }
/** Unsafe version of {@link #max_advance_height}.
public static short nmax_advance_height(long struct) { return memGetShort(struct + FT_Face.MAX_ADVANCE_HEIGHT); }
/** Unsafe version of {@link #underline_position}.
public static short nunderline_position(long struct) { return memGetShort(struct + FT_Face.UNDERLINE_POSITION); }
/** Unsafe version of {@link #underline_thickness}.
public static short nunderline_thickness(long struct) { return memGetShort(struct + FT_Face.UNDERLINE_THICKNESS); }
/** Unsafe version of {@link #glyph}. | FT_Face::nglyph | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public static @Nullable FT_Size nsize(long struct) { return FT_Size.createSafe(memGetAddress(struct + FT_Face.SIZE)); } |
Create a {@link FT_Face.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Face.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_Face.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_faces}.
public static long nnum_faces(long struct) { return memGetCLong(struct + FT_Face.NUM_FACES); }
/** Unsafe version of {@link #face_index}.
public static long nface_index(long struct) { return memGetCLong(struct + FT_Face.FACE_INDEX); }
/** Unsafe version of {@link #face_flags}.
public static long nface_flags(long struct) { return memGetCLong(struct + FT_Face.FACE_FLAGS); }
/** Unsafe version of {@link #style_flags}.
public static long nstyle_flags(long struct) { return memGetCLong(struct + FT_Face.STYLE_FLAGS); }
/** Unsafe version of {@link #num_glyphs}.
public static long nnum_glyphs(long struct) { return memGetCLong(struct + FT_Face.NUM_GLYPHS); }
/** Unsafe version of {@link #family_name}.
public static ByteBuffer nfamily_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #family_nameString}.
public static String nfamily_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #style_name}.
public static ByteBuffer nstyle_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #style_nameString}.
public static String nstyle_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #num_fixed_sizes}.
public static int nnum_fixed_sizes(long struct) { return memGetInt(struct + FT_Face.NUM_FIXED_SIZES); }
/** Unsafe version of {@link #available_sizes}.
public static FT_Bitmap_Size.@Nullable Buffer navailable_sizes(long struct) { return FT_Bitmap_Size.createSafe(memGetAddress(struct + FT_Face.AVAILABLE_SIZES), nnum_fixed_sizes(struct)); }
/** Unsafe version of {@link #num_charmaps}.
public static int nnum_charmaps(long struct) { return memGetInt(struct + FT_Face.NUM_CHARMAPS); }
/** Unsafe version of {@link #charmaps() charmaps}.
public static PointerBuffer ncharmaps(long struct) { return memPointerBuffer(memGetAddress(struct + FT_Face.CHARMAPS), nnum_charmaps(struct)); }
/** Unsafe version of {@link #generic}.
public static FT_Generic ngeneric(long struct) { return FT_Generic.create(struct + FT_Face.GENERIC); }
/** Unsafe version of {@link #bbox}.
public static FT_BBox nbbox(long struct) { return FT_BBox.create(struct + FT_Face.BBOX); }
/** Unsafe version of {@link #units_per_EM}.
public static short nunits_per_EM(long struct) { return memGetShort(struct + FT_Face.UNITS_PER_EM); }
/** Unsafe version of {@link #ascender}.
public static short nascender(long struct) { return memGetShort(struct + FT_Face.ASCENDER); }
/** Unsafe version of {@link #descender}.
public static short ndescender(long struct) { return memGetShort(struct + FT_Face.DESCENDER); }
/** Unsafe version of {@link #height}.
public static short nheight(long struct) { return memGetShort(struct + FT_Face.HEIGHT); }
/** Unsafe version of {@link #max_advance_width}.
public static short nmax_advance_width(long struct) { return memGetShort(struct + FT_Face.MAX_ADVANCE_WIDTH); }
/** Unsafe version of {@link #max_advance_height}.
public static short nmax_advance_height(long struct) { return memGetShort(struct + FT_Face.MAX_ADVANCE_HEIGHT); }
/** Unsafe version of {@link #underline_position}.
public static short nunderline_position(long struct) { return memGetShort(struct + FT_Face.UNDERLINE_POSITION); }
/** Unsafe version of {@link #underline_thickness}.
public static short nunderline_thickness(long struct) { return memGetShort(struct + FT_Face.UNDERLINE_THICKNESS); }
/** Unsafe version of {@link #glyph}.
public static @Nullable FT_GlyphSlot nglyph(long struct) { return FT_GlyphSlot.createSafe(memGetAddress(struct + FT_Face.GLYPH)); }
/** Unsafe version of {@link #size}. | FT_Face::nsize | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public static @Nullable FT_CharMap ncharmap(long struct) { return FT_CharMap.createSafe(memGetAddress(struct + FT_Face.CHARMAP)); } |
Create a {@link FT_Face.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Face.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_Face.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_faces}.
public static long nnum_faces(long struct) { return memGetCLong(struct + FT_Face.NUM_FACES); }
/** Unsafe version of {@link #face_index}.
public static long nface_index(long struct) { return memGetCLong(struct + FT_Face.FACE_INDEX); }
/** Unsafe version of {@link #face_flags}.
public static long nface_flags(long struct) { return memGetCLong(struct + FT_Face.FACE_FLAGS); }
/** Unsafe version of {@link #style_flags}.
public static long nstyle_flags(long struct) { return memGetCLong(struct + FT_Face.STYLE_FLAGS); }
/** Unsafe version of {@link #num_glyphs}.
public static long nnum_glyphs(long struct) { return memGetCLong(struct + FT_Face.NUM_GLYPHS); }
/** Unsafe version of {@link #family_name}.
public static ByteBuffer nfamily_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #family_nameString}.
public static String nfamily_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.FAMILY_NAME)); }
/** Unsafe version of {@link #style_name}.
public static ByteBuffer nstyle_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #style_nameString}.
public static String nstyle_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.STYLE_NAME)); }
/** Unsafe version of {@link #num_fixed_sizes}.
public static int nnum_fixed_sizes(long struct) { return memGetInt(struct + FT_Face.NUM_FIXED_SIZES); }
/** Unsafe version of {@link #available_sizes}.
public static FT_Bitmap_Size.@Nullable Buffer navailable_sizes(long struct) { return FT_Bitmap_Size.createSafe(memGetAddress(struct + FT_Face.AVAILABLE_SIZES), nnum_fixed_sizes(struct)); }
/** Unsafe version of {@link #num_charmaps}.
public static int nnum_charmaps(long struct) { return memGetInt(struct + FT_Face.NUM_CHARMAPS); }
/** Unsafe version of {@link #charmaps() charmaps}.
public static PointerBuffer ncharmaps(long struct) { return memPointerBuffer(memGetAddress(struct + FT_Face.CHARMAPS), nnum_charmaps(struct)); }
/** Unsafe version of {@link #generic}.
public static FT_Generic ngeneric(long struct) { return FT_Generic.create(struct + FT_Face.GENERIC); }
/** Unsafe version of {@link #bbox}.
public static FT_BBox nbbox(long struct) { return FT_BBox.create(struct + FT_Face.BBOX); }
/** Unsafe version of {@link #units_per_EM}.
public static short nunits_per_EM(long struct) { return memGetShort(struct + FT_Face.UNITS_PER_EM); }
/** Unsafe version of {@link #ascender}.
public static short nascender(long struct) { return memGetShort(struct + FT_Face.ASCENDER); }
/** Unsafe version of {@link #descender}.
public static short ndescender(long struct) { return memGetShort(struct + FT_Face.DESCENDER); }
/** Unsafe version of {@link #height}.
public static short nheight(long struct) { return memGetShort(struct + FT_Face.HEIGHT); }
/** Unsafe version of {@link #max_advance_width}.
public static short nmax_advance_width(long struct) { return memGetShort(struct + FT_Face.MAX_ADVANCE_WIDTH); }
/** Unsafe version of {@link #max_advance_height}.
public static short nmax_advance_height(long struct) { return memGetShort(struct + FT_Face.MAX_ADVANCE_HEIGHT); }
/** Unsafe version of {@link #underline_position}.
public static short nunderline_position(long struct) { return memGetShort(struct + FT_Face.UNDERLINE_POSITION); }
/** Unsafe version of {@link #underline_thickness}.
public static short nunderline_thickness(long struct) { return memGetShort(struct + FT_Face.UNDERLINE_THICKNESS); }
/** Unsafe version of {@link #glyph}.
public static @Nullable FT_GlyphSlot nglyph(long struct) { return FT_GlyphSlot.createSafe(memGetAddress(struct + FT_Face.GLYPH)); }
/** Unsafe version of {@link #size}.
public static @Nullable FT_Size nsize(long struct) { return FT_Size.createSafe(memGetAddress(struct + FT_Face.SIZE)); }
/** Unsafe version of {@link #charmap}. | FT_Face::ncharmap | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public FT_Generic generic() { return FT_Face.ngeneric(address()); } |
Creates a new {@code FT_Face.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_Face#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_Face getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code num_faces} field.
@NativeType("FT_Long")
public long num_faces() { return FT_Face.nnum_faces(address()); }
/** @return the value of the {@code face_index} field.
@NativeType("FT_Long")
public long face_index() { return FT_Face.nface_index(address()); }
/** @return the value of the {@code face_flags} field.
@NativeType("FT_Long")
public long face_flags() { return FT_Face.nface_flags(address()); }
/** @return the value of the {@code style_flags} field.
@NativeType("FT_Long")
public long style_flags() { return FT_Face.nstyle_flags(address()); }
/** @return the value of the {@code num_glyphs} field.
@NativeType("FT_Long")
public long num_glyphs() { return FT_Face.nnum_glyphs(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public ByteBuffer family_name() { return FT_Face.nfamily_name(address()); }
/** @return the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public String family_nameString() { return FT_Face.nfamily_nameString(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public ByteBuffer style_name() { return FT_Face.nstyle_name(address()); }
/** @return the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public String style_nameString() { return FT_Face.nstyle_nameString(address()); }
/** @return the value of the {@code num_fixed_sizes} field.
@NativeType("FT_Int")
public int num_fixed_sizes() { return FT_Face.nnum_fixed_sizes(address()); }
/** @return a {@link FT_Bitmap_Size.Buffer} view of the struct array pointed to by the {@code available_sizes} field.
@NativeType("FT_Bitmap_Size *")
public FT_Bitmap_Size.@Nullable Buffer available_sizes() { return FT_Face.navailable_sizes(address()); }
/** @return the value of the {@code num_charmaps} field.
@NativeType("FT_Int")
public int num_charmaps() { return FT_Face.nnum_charmaps(address()); }
/** @return a {@link PointerBuffer} view of the data pointed to by the {@code charmaps} field.
@NativeType("FT_CharMap *")
public PointerBuffer charmaps() { return FT_Face.ncharmaps(address()); }
/** @return a {@link FT_Generic} view of the {@code generic} field. | Buffer::generic | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public FT_BBox bbox() { return FT_Face.nbbox(address()); } |
Creates a new {@code FT_Face.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_Face#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_Face getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code num_faces} field.
@NativeType("FT_Long")
public long num_faces() { return FT_Face.nnum_faces(address()); }
/** @return the value of the {@code face_index} field.
@NativeType("FT_Long")
public long face_index() { return FT_Face.nface_index(address()); }
/** @return the value of the {@code face_flags} field.
@NativeType("FT_Long")
public long face_flags() { return FT_Face.nface_flags(address()); }
/** @return the value of the {@code style_flags} field.
@NativeType("FT_Long")
public long style_flags() { return FT_Face.nstyle_flags(address()); }
/** @return the value of the {@code num_glyphs} field.
@NativeType("FT_Long")
public long num_glyphs() { return FT_Face.nnum_glyphs(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public ByteBuffer family_name() { return FT_Face.nfamily_name(address()); }
/** @return the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public String family_nameString() { return FT_Face.nfamily_nameString(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public ByteBuffer style_name() { return FT_Face.nstyle_name(address()); }
/** @return the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public String style_nameString() { return FT_Face.nstyle_nameString(address()); }
/** @return the value of the {@code num_fixed_sizes} field.
@NativeType("FT_Int")
public int num_fixed_sizes() { return FT_Face.nnum_fixed_sizes(address()); }
/** @return a {@link FT_Bitmap_Size.Buffer} view of the struct array pointed to by the {@code available_sizes} field.
@NativeType("FT_Bitmap_Size *")
public FT_Bitmap_Size.@Nullable Buffer available_sizes() { return FT_Face.navailable_sizes(address()); }
/** @return the value of the {@code num_charmaps} field.
@NativeType("FT_Int")
public int num_charmaps() { return FT_Face.nnum_charmaps(address()); }
/** @return a {@link PointerBuffer} view of the data pointed to by the {@code charmaps} field.
@NativeType("FT_CharMap *")
public PointerBuffer charmaps() { return FT_Face.ncharmaps(address()); }
/** @return a {@link FT_Generic} view of the {@code generic} field.
public FT_Generic generic() { return FT_Face.ngeneric(address()); }
/** @return a {@link FT_BBox} view of the {@code bbox} field. | Buffer::bbox | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public @Nullable FT_GlyphSlot glyph() { return FT_Face.nglyph(address()); } |
Creates a new {@code FT_Face.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_Face#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_Face getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code num_faces} field.
@NativeType("FT_Long")
public long num_faces() { return FT_Face.nnum_faces(address()); }
/** @return the value of the {@code face_index} field.
@NativeType("FT_Long")
public long face_index() { return FT_Face.nface_index(address()); }
/** @return the value of the {@code face_flags} field.
@NativeType("FT_Long")
public long face_flags() { return FT_Face.nface_flags(address()); }
/** @return the value of the {@code style_flags} field.
@NativeType("FT_Long")
public long style_flags() { return FT_Face.nstyle_flags(address()); }
/** @return the value of the {@code num_glyphs} field.
@NativeType("FT_Long")
public long num_glyphs() { return FT_Face.nnum_glyphs(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public ByteBuffer family_name() { return FT_Face.nfamily_name(address()); }
/** @return the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public String family_nameString() { return FT_Face.nfamily_nameString(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public ByteBuffer style_name() { return FT_Face.nstyle_name(address()); }
/** @return the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public String style_nameString() { return FT_Face.nstyle_nameString(address()); }
/** @return the value of the {@code num_fixed_sizes} field.
@NativeType("FT_Int")
public int num_fixed_sizes() { return FT_Face.nnum_fixed_sizes(address()); }
/** @return a {@link FT_Bitmap_Size.Buffer} view of the struct array pointed to by the {@code available_sizes} field.
@NativeType("FT_Bitmap_Size *")
public FT_Bitmap_Size.@Nullable Buffer available_sizes() { return FT_Face.navailable_sizes(address()); }
/** @return the value of the {@code num_charmaps} field.
@NativeType("FT_Int")
public int num_charmaps() { return FT_Face.nnum_charmaps(address()); }
/** @return a {@link PointerBuffer} view of the data pointed to by the {@code charmaps} field.
@NativeType("FT_CharMap *")
public PointerBuffer charmaps() { return FT_Face.ncharmaps(address()); }
/** @return a {@link FT_Generic} view of the {@code generic} field.
public FT_Generic generic() { return FT_Face.ngeneric(address()); }
/** @return a {@link FT_BBox} view of the {@code bbox} field.
public FT_BBox bbox() { return FT_Face.nbbox(address()); }
/** @return the value of the {@code units_per_EM} field.
@NativeType("FT_UShort")
public short units_per_EM() { return FT_Face.nunits_per_EM(address()); }
/** @return the value of the {@code ascender} field.
@NativeType("FT_Short")
public short ascender() { return FT_Face.nascender(address()); }
/** @return the value of the {@code descender} field.
@NativeType("FT_Short")
public short descender() { return FT_Face.ndescender(address()); }
/** @return the value of the {@code height} field.
@NativeType("FT_Short")
public short height() { return FT_Face.nheight(address()); }
/** @return the value of the {@code max_advance_width} field.
@NativeType("FT_Short")
public short max_advance_width() { return FT_Face.nmax_advance_width(address()); }
/** @return the value of the {@code max_advance_height} field.
@NativeType("FT_Short")
public short max_advance_height() { return FT_Face.nmax_advance_height(address()); }
/** @return the value of the {@code underline_position} field.
@NativeType("FT_Short")
public short underline_position() { return FT_Face.nunderline_position(address()); }
/** @return the value of the {@code underline_thickness} field.
@NativeType("FT_Short")
public short underline_thickness() { return FT_Face.nunderline_thickness(address()); }
/** @return a {@link FT_GlyphSlot} view of the struct pointed to by the {@code glyph} field. | Buffer::glyph | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public @Nullable FT_Size size() { return FT_Face.nsize(address()); } |
Creates a new {@code FT_Face.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_Face#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_Face getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code num_faces} field.
@NativeType("FT_Long")
public long num_faces() { return FT_Face.nnum_faces(address()); }
/** @return the value of the {@code face_index} field.
@NativeType("FT_Long")
public long face_index() { return FT_Face.nface_index(address()); }
/** @return the value of the {@code face_flags} field.
@NativeType("FT_Long")
public long face_flags() { return FT_Face.nface_flags(address()); }
/** @return the value of the {@code style_flags} field.
@NativeType("FT_Long")
public long style_flags() { return FT_Face.nstyle_flags(address()); }
/** @return the value of the {@code num_glyphs} field.
@NativeType("FT_Long")
public long num_glyphs() { return FT_Face.nnum_glyphs(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public ByteBuffer family_name() { return FT_Face.nfamily_name(address()); }
/** @return the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public String family_nameString() { return FT_Face.nfamily_nameString(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public ByteBuffer style_name() { return FT_Face.nstyle_name(address()); }
/** @return the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public String style_nameString() { return FT_Face.nstyle_nameString(address()); }
/** @return the value of the {@code num_fixed_sizes} field.
@NativeType("FT_Int")
public int num_fixed_sizes() { return FT_Face.nnum_fixed_sizes(address()); }
/** @return a {@link FT_Bitmap_Size.Buffer} view of the struct array pointed to by the {@code available_sizes} field.
@NativeType("FT_Bitmap_Size *")
public FT_Bitmap_Size.@Nullable Buffer available_sizes() { return FT_Face.navailable_sizes(address()); }
/** @return the value of the {@code num_charmaps} field.
@NativeType("FT_Int")
public int num_charmaps() { return FT_Face.nnum_charmaps(address()); }
/** @return a {@link PointerBuffer} view of the data pointed to by the {@code charmaps} field.
@NativeType("FT_CharMap *")
public PointerBuffer charmaps() { return FT_Face.ncharmaps(address()); }
/** @return a {@link FT_Generic} view of the {@code generic} field.
public FT_Generic generic() { return FT_Face.ngeneric(address()); }
/** @return a {@link FT_BBox} view of the {@code bbox} field.
public FT_BBox bbox() { return FT_Face.nbbox(address()); }
/** @return the value of the {@code units_per_EM} field.
@NativeType("FT_UShort")
public short units_per_EM() { return FT_Face.nunits_per_EM(address()); }
/** @return the value of the {@code ascender} field.
@NativeType("FT_Short")
public short ascender() { return FT_Face.nascender(address()); }
/** @return the value of the {@code descender} field.
@NativeType("FT_Short")
public short descender() { return FT_Face.ndescender(address()); }
/** @return the value of the {@code height} field.
@NativeType("FT_Short")
public short height() { return FT_Face.nheight(address()); }
/** @return the value of the {@code max_advance_width} field.
@NativeType("FT_Short")
public short max_advance_width() { return FT_Face.nmax_advance_width(address()); }
/** @return the value of the {@code max_advance_height} field.
@NativeType("FT_Short")
public short max_advance_height() { return FT_Face.nmax_advance_height(address()); }
/** @return the value of the {@code underline_position} field.
@NativeType("FT_Short")
public short underline_position() { return FT_Face.nunderline_position(address()); }
/** @return the value of the {@code underline_thickness} field.
@NativeType("FT_Short")
public short underline_thickness() { return FT_Face.nunderline_thickness(address()); }
/** @return a {@link FT_GlyphSlot} view of the struct pointed to by the {@code glyph} field.
public @Nullable FT_GlyphSlot glyph() { return FT_Face.nglyph(address()); }
/** @return a {@link FT_Size} view of the struct pointed to by the {@code size} field. | Buffer::size | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public @Nullable FT_CharMap charmap() { return FT_Face.ncharmap(address()); } |
Creates a new {@code FT_Face.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_Face#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_Face getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code num_faces} field.
@NativeType("FT_Long")
public long num_faces() { return FT_Face.nnum_faces(address()); }
/** @return the value of the {@code face_index} field.
@NativeType("FT_Long")
public long face_index() { return FT_Face.nface_index(address()); }
/** @return the value of the {@code face_flags} field.
@NativeType("FT_Long")
public long face_flags() { return FT_Face.nface_flags(address()); }
/** @return the value of the {@code style_flags} field.
@NativeType("FT_Long")
public long style_flags() { return FT_Face.nstyle_flags(address()); }
/** @return the value of the {@code num_glyphs} field.
@NativeType("FT_Long")
public long num_glyphs() { return FT_Face.nnum_glyphs(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public ByteBuffer family_name() { return FT_Face.nfamily_name(address()); }
/** @return the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public String family_nameString() { return FT_Face.nfamily_nameString(address()); }
/** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public ByteBuffer style_name() { return FT_Face.nstyle_name(address()); }
/** @return the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public String style_nameString() { return FT_Face.nstyle_nameString(address()); }
/** @return the value of the {@code num_fixed_sizes} field.
@NativeType("FT_Int")
public int num_fixed_sizes() { return FT_Face.nnum_fixed_sizes(address()); }
/** @return a {@link FT_Bitmap_Size.Buffer} view of the struct array pointed to by the {@code available_sizes} field.
@NativeType("FT_Bitmap_Size *")
public FT_Bitmap_Size.@Nullable Buffer available_sizes() { return FT_Face.navailable_sizes(address()); }
/** @return the value of the {@code num_charmaps} field.
@NativeType("FT_Int")
public int num_charmaps() { return FT_Face.nnum_charmaps(address()); }
/** @return a {@link PointerBuffer} view of the data pointed to by the {@code charmaps} field.
@NativeType("FT_CharMap *")
public PointerBuffer charmaps() { return FT_Face.ncharmaps(address()); }
/** @return a {@link FT_Generic} view of the {@code generic} field.
public FT_Generic generic() { return FT_Face.ngeneric(address()); }
/** @return a {@link FT_BBox} view of the {@code bbox} field.
public FT_BBox bbox() { return FT_Face.nbbox(address()); }
/** @return the value of the {@code units_per_EM} field.
@NativeType("FT_UShort")
public short units_per_EM() { return FT_Face.nunits_per_EM(address()); }
/** @return the value of the {@code ascender} field.
@NativeType("FT_Short")
public short ascender() { return FT_Face.nascender(address()); }
/** @return the value of the {@code descender} field.
@NativeType("FT_Short")
public short descender() { return FT_Face.ndescender(address()); }
/** @return the value of the {@code height} field.
@NativeType("FT_Short")
public short height() { return FT_Face.nheight(address()); }
/** @return the value of the {@code max_advance_width} field.
@NativeType("FT_Short")
public short max_advance_width() { return FT_Face.nmax_advance_width(address()); }
/** @return the value of the {@code max_advance_height} field.
@NativeType("FT_Short")
public short max_advance_height() { return FT_Face.nmax_advance_height(address()); }
/** @return the value of the {@code underline_position} field.
@NativeType("FT_Short")
public short underline_position() { return FT_Face.nunderline_position(address()); }
/** @return the value of the {@code underline_thickness} field.
@NativeType("FT_Short")
public short underline_thickness() { return FT_Face.nunderline_thickness(address()); }
/** @return a {@link FT_GlyphSlot} view of the struct pointed to by the {@code glyph} field.
public @Nullable FT_GlyphSlot glyph() { return FT_Face.nglyph(address()); }
/** @return a {@link FT_Size} view of the struct pointed to by the {@code size} field.
public @Nullable FT_Size size() { return FT_Face.nsize(address()); }
/** @return a {@link FT_CharMap} view of the struct pointed to by the {@code charmap} field. | Buffer::charmap | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Face.java | BSD-3-Clause |
public FT_Var_Named_Style(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_Var_Named_Style} 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_Var_Named_Style::FT_Var_Named_Style | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | BSD-3-Clause |
public static FT_Var_Named_Style create(long address) {
return new FT_Var_Named_Style(address, null);
} |
Creates a {@code FT_Var_Named_Style} 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_Var_Named_Style(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link CLongBuffer} view of the data pointed to by the {@code coords} field.
@NativeType("FT_Fixed *")
public CLongBuffer coords(int capacity) { return ncoords(address(), capacity); }
/** @return the value of the {@code strid} field.
@NativeType("FT_UInt")
public int strid() { return nstrid(address()); }
/** @return the value of the {@code psid} field.
@NativeType("FT_UInt")
public int psid() { return npsid(address()); }
// -----------------------------------
/** Returns a new {@code FT_Var_Named_Style} instance for the specified memory address. | FT_Var_Named_Style::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | BSD-3-Clause |
public static @Nullable FT_Var_Named_Style createSafe(long address) {
return address == NULL ? null : new FT_Var_Named_Style(address, null);
} |
Creates a {@code FT_Var_Named_Style} 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_Var_Named_Style(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link CLongBuffer} view of the data pointed to by the {@code coords} field.
@NativeType("FT_Fixed *")
public CLongBuffer coords(int capacity) { return ncoords(address(), capacity); }
/** @return the value of the {@code strid} field.
@NativeType("FT_UInt")
public int strid() { return nstrid(address()); }
/** @return the value of the {@code psid} field.
@NativeType("FT_UInt")
public int psid() { return npsid(address()); }
// -----------------------------------
/** Returns a new {@code FT_Var_Named_Style} instance for the specified memory address.
public static FT_Var_Named_Style create(long address) {
return new FT_Var_Named_Style(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_Var_Named_Style::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | BSD-3-Clause |
public static FT_Var_Named_Style.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_Var_Named_Style.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_Var_Named_Style::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | BSD-3-Clause |
public static FT_Var_Named_Style.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_Var_Named_Style.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Var_Named_Style.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_Var_Named_Style::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | BSD-3-Clause |
public static CLongBuffer ncoords(long struct, int capacity) { return memCLongBuffer(memGetAddress(struct + FT_Var_Named_Style.COORDS), capacity); } |
Create a {@link FT_Var_Named_Style.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Var_Named_Style.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_Var_Named_Style.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #coords(int) coords}. | FT_Var_Named_Style::ncoords | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | BSD-3-Clause |
public static int nstrid(long struct) { return memGetInt(struct + FT_Var_Named_Style.STRID); } |
Create a {@link FT_Var_Named_Style.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Var_Named_Style.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_Var_Named_Style.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #coords(int) coords}.
public static CLongBuffer ncoords(long struct, int capacity) { return memCLongBuffer(memGetAddress(struct + FT_Var_Named_Style.COORDS), capacity); }
/** Unsafe version of {@link #strid}. | FT_Var_Named_Style::nstrid | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | BSD-3-Clause |
public static int npsid(long struct) { return memGetInt(struct + FT_Var_Named_Style.PSID); } |
Create a {@link FT_Var_Named_Style.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Var_Named_Style.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_Var_Named_Style.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #coords(int) coords}.
public static CLongBuffer ncoords(long struct, int capacity) { return memCLongBuffer(memGetAddress(struct + FT_Var_Named_Style.COORDS), capacity); }
/** Unsafe version of {@link #strid}.
public static int nstrid(long struct) { return memGetInt(struct + FT_Var_Named_Style.STRID); }
/** Unsafe version of {@link #psid}. | FT_Var_Named_Style::npsid | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Named_Style.java | BSD-3-Clause |
public FT_Vector(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_Vector} 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_Vector::FT_Vector | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public FT_Vector x(@NativeType("FT_Pos") long value) { nx(address(), value); return this; } |
Creates a {@code FT_Vector} 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_Vector(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code x} field.
@NativeType("FT_Pos")
public long x() { return nx(address()); }
/** @return the value of the {@code y} field.
@NativeType("FT_Pos")
public long y() { return ny(address()); }
/** Sets the specified value to the {@code x} field. | FT_Vector::x | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public FT_Vector y(@NativeType("FT_Pos") long value) { ny(address(), value); return this; } |
Creates a {@code FT_Vector} 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_Vector(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code x} field.
@NativeType("FT_Pos")
public long x() { return nx(address()); }
/** @return the value of the {@code y} field.
@NativeType("FT_Pos")
public long y() { return ny(address()); }
/** Sets the specified value to the {@code x} field.
public FT_Vector x(@NativeType("FT_Pos") long value) { nx(address(), value); return this; }
/** Sets the specified value to the {@code y} field. | FT_Vector::y | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public FT_Vector set(
long x,
long y
) {
x(x);
y(y);
return this;
} |
Creates a {@code FT_Vector} 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_Vector(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code x} field.
@NativeType("FT_Pos")
public long x() { return nx(address()); }
/** @return the value of the {@code y} field.
@NativeType("FT_Pos")
public long y() { return ny(address()); }
/** Sets the specified value to the {@code x} field.
public FT_Vector x(@NativeType("FT_Pos") long value) { nx(address(), value); return this; }
/** Sets the specified value to the {@code y} field.
public FT_Vector y(@NativeType("FT_Pos") long value) { ny(address(), value); return this; }
/** Initializes this struct with the specified values. | FT_Vector::set | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static FT_Vector malloc() {
return new FT_Vector(nmemAllocChecked(SIZEOF), null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Vector set(FT_Vector src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Vector} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. | FT_Vector::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static FT_Vector calloc() {
return new FT_Vector(nmemCallocChecked(1, SIZEOF), null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Vector set(FT_Vector src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Vector} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Vector malloc() {
return new FT_Vector(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Vector} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. | FT_Vector::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static FT_Vector create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_Vector(memAddress(container), container);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Vector set(FT_Vector src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Vector} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Vector malloc() {
return new FT_Vector(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Vector} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_Vector calloc() {
return new FT_Vector(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_Vector} instance allocated with {@link BufferUtils}. | FT_Vector::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static FT_Vector create(long address) {
return new FT_Vector(address, null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Vector set(FT_Vector src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Vector} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Vector malloc() {
return new FT_Vector(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Vector} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_Vector calloc() {
return new FT_Vector(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_Vector} instance allocated with {@link BufferUtils}.
public static FT_Vector create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_Vector(memAddress(container), container);
}
/** Returns a new {@code FT_Vector} instance for the specified memory address. | FT_Vector::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static @Nullable FT_Vector createSafe(long address) {
return address == NULL ? null : new FT_Vector(address, null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Vector set(FT_Vector src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Vector} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Vector malloc() {
return new FT_Vector(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Vector} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_Vector calloc() {
return new FT_Vector(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_Vector} instance allocated with {@link BufferUtils}.
public static FT_Vector create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_Vector(memAddress(container), container);
}
/** Returns a new {@code FT_Vector} instance for the specified memory address.
public static FT_Vector create(long address) {
return new FT_Vector(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_Vector::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static FT_Vector.Buffer malloc(int capacity) {
return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity);
} |
Returns a new {@link FT_Vector.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_Vector::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static FT_Vector.Buffer calloc(int capacity) {
return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_Vector.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_Vector::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static FT_Vector.Buffer create(int capacity) {
ByteBuffer container = __create(capacity, SIZEOF);
return new Buffer(memAddress(container), container, -1, 0, capacity, capacity);
} |
Returns a new {@link FT_Vector.Buffer} instance allocated with {@link BufferUtils}.
@param capacity the buffer capacity
| FT_Vector::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static FT_Vector.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_Vector.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_Vector::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static FT_Vector.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_Vector.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Vector.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_Vector::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static FT_Vector malloc(MemoryStack stack) {
return new FT_Vector(stack.nmalloc(ALIGNOF, SIZEOF), null);
} |
Returns a new {@code FT_Vector} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
| FT_Vector::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static FT_Vector calloc(MemoryStack stack) {
return new FT_Vector(stack.ncalloc(ALIGNOF, 1, SIZEOF), null);
} |
Returns a new {@code FT_Vector} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero.
@param stack the stack from which to allocate
| FT_Vector::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static FT_Vector.Buffer malloc(int capacity, MemoryStack stack) {
return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity);
} |
Returns a new {@link FT_Vector.Buffer} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
@param capacity the buffer capacity
| FT_Vector::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static FT_Vector.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_Vector.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_Vector::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static long nx(long struct) { return memGetCLong(struct + FT_Vector.X); } |
Returns a new {@link FT_Vector.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_Vector.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #x}. | FT_Vector::nx | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static long ny(long struct) { return memGetCLong(struct + FT_Vector.Y); } |
Returns a new {@link FT_Vector.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_Vector.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #x}.
public static long nx(long struct) { return memGetCLong(struct + FT_Vector.X); }
/** Unsafe version of {@link #y}. | FT_Vector::ny | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static void nx(long struct, long value) { memPutCLong(struct + FT_Vector.X, value); } |
Returns a new {@link FT_Vector.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_Vector.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #x}.
public static long nx(long struct) { return memGetCLong(struct + FT_Vector.X); }
/** Unsafe version of {@link #y}.
public static long ny(long struct) { return memGetCLong(struct + FT_Vector.Y); }
/** Unsafe version of {@link #x(long) x}. | FT_Vector::nx | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static void ny(long struct, long value) { memPutCLong(struct + FT_Vector.Y, value); } |
Returns a new {@link FT_Vector.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_Vector.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #x}.
public static long nx(long struct) { return memGetCLong(struct + FT_Vector.X); }
/** Unsafe version of {@link #y}.
public static long ny(long struct) { return memGetCLong(struct + FT_Vector.Y); }
/** Unsafe version of {@link #x(long) x}.
public static void nx(long struct, long value) { memPutCLong(struct + FT_Vector.X, value); }
/** Unsafe version of {@link #y(long) y}. | FT_Vector::ny | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public FT_Vector.Buffer x(@NativeType("FT_Pos") long value) { FT_Vector.nx(address(), value); return this; } |
Creates a new {@code FT_Vector.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_Vector#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_Vector getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code x} field.
@NativeType("FT_Pos")
public long x() { return FT_Vector.nx(address()); }
/** @return the value of the {@code y} field.
@NativeType("FT_Pos")
public long y() { return FT_Vector.ny(address()); }
/** Sets the specified value to the {@code x} field. | Buffer::x | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public FT_Vector.Buffer y(@NativeType("FT_Pos") long value) { FT_Vector.ny(address(), value); return this; } |
Creates a new {@code FT_Vector.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_Vector#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_Vector getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@code x} field.
@NativeType("FT_Pos")
public long x() { return FT_Vector.nx(address()); }
/** @return the value of the {@code y} field.
@NativeType("FT_Pos")
public long y() { return FT_Vector.ny(address()); }
/** Sets the specified value to the {@code x} field.
public FT_Vector.Buffer x(@NativeType("FT_Pos") long value) { FT_Vector.nx(address(), value); return this; }
/** Sets the specified value to the {@code y} field. | Buffer::y | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Vector.java | BSD-3-Clause |
public static FT_List_Destructor create(long functionPointer) {
FT_List_DestructorI instance = Callback.get(functionPointer);
return instance instanceof FT_List_Destructor
? (FT_List_Destructor)instance
: new Container(functionPointer, instance);
} |
Creates a {@code FT_List_Destructor} instance from the specified function pointer.
@return the new {@code FT_List_Destructor}
| FT_List_Destructor::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_List_Destructor.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_List_Destructor.java | BSD-3-Clause |
public static @Nullable FT_List_Destructor createSafe(long functionPointer) {
return functionPointer == NULL ? null : create(functionPointer);
} |
Creates a {@code FT_List_Destructor} instance from the specified function pointer.
@return the new {@code FT_List_Destructor}
public static FT_List_Destructor create(long functionPointer) {
FT_List_DestructorI instance = Callback.get(functionPointer);
return instance instanceof FT_List_Destructor
? (FT_List_Destructor)instance
: new Container(functionPointer, instance);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}. | FT_List_Destructor::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_List_Destructor.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_List_Destructor.java | BSD-3-Clause |
public static FT_List_Destructor create(FT_List_DestructorI instance) {
return instance instanceof FT_List_Destructor
? (FT_List_Destructor)instance
: new Container(instance.address(), instance);
} |
Creates a {@code FT_List_Destructor} instance from the specified function pointer.
@return the new {@code FT_List_Destructor}
public static FT_List_Destructor create(long functionPointer) {
FT_List_DestructorI instance = Callback.get(functionPointer);
return instance instanceof FT_List_Destructor
? (FT_List_Destructor)instance
: new Container(functionPointer, instance);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}.
public static @Nullable FT_List_Destructor createSafe(long functionPointer) {
return functionPointer == NULL ? null : create(functionPointer);
}
/** Creates a {@code FT_List_Destructor} instance that delegates to the specified {@code FT_List_DestructorI} instance. | FT_List_Destructor::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_List_Destructor.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_List_Destructor.java | BSD-3-Clause |
public FTC_SBit(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FTC_SBit} 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>
| FTC_SBit::FTC_SBit | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | BSD-3-Clause |
public static FTC_SBit create(long address) {
return new FTC_SBit(address, null);
} |
Creates a {@code FTC_SBit} 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 FTC_SBit(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code width} field.
@NativeType("FT_Byte")
public byte width() { return nwidth(address()); }
/** @return the value of the {@code height} field.
@NativeType("FT_Byte")
public byte height() { return nheight(address()); }
/** @return the value of the {@code left} field.
@NativeType("FT_Char")
public byte left() { return nleft(address()); }
/** @return the value of the {@code top} field.
@NativeType("FT_Char")
public byte top() { return ntop(address()); }
/** @return the value of the {@code format} field.
@NativeType("FT_Byte")
public byte format() { return nformat(address()); }
/** @return the value of the {@code max_grays} field.
@NativeType("FT_Byte")
public byte max_grays() { return nmax_grays(address()); }
/** @return the value of the {@code pitch} field.
@NativeType("FT_Short")
public short pitch() { return npitch(address()); }
/** @return the value of the {@code xadvance} field.
@NativeType("FT_Char")
public byte xadvance() { return nxadvance(address()); }
/** @return the value of the {@code yadvance} field.
@NativeType("FT_Char")
public byte yadvance() { return nyadvance(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code buffer} field.
@NativeType("FT_Byte *")
public ByteBuffer buffer(int capacity) { return nbuffer(address(), capacity); }
// -----------------------------------
/** Returns a new {@code FTC_SBit} instance for the specified memory address. | FTC_SBit::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | BSD-3-Clause |
public static @Nullable FTC_SBit createSafe(long address) {
return address == NULL ? null : new FTC_SBit(address, null);
} |
Creates a {@code FTC_SBit} 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 FTC_SBit(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code width} field.
@NativeType("FT_Byte")
public byte width() { return nwidth(address()); }
/** @return the value of the {@code height} field.
@NativeType("FT_Byte")
public byte height() { return nheight(address()); }
/** @return the value of the {@code left} field.
@NativeType("FT_Char")
public byte left() { return nleft(address()); }
/** @return the value of the {@code top} field.
@NativeType("FT_Char")
public byte top() { return ntop(address()); }
/** @return the value of the {@code format} field.
@NativeType("FT_Byte")
public byte format() { return nformat(address()); }
/** @return the value of the {@code max_grays} field.
@NativeType("FT_Byte")
public byte max_grays() { return nmax_grays(address()); }
/** @return the value of the {@code pitch} field.
@NativeType("FT_Short")
public short pitch() { return npitch(address()); }
/** @return the value of the {@code xadvance} field.
@NativeType("FT_Char")
public byte xadvance() { return nxadvance(address()); }
/** @return the value of the {@code yadvance} field.
@NativeType("FT_Char")
public byte yadvance() { return nyadvance(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code buffer} field.
@NativeType("FT_Byte *")
public ByteBuffer buffer(int capacity) { return nbuffer(address(), capacity); }
// -----------------------------------
/** Returns a new {@code FTC_SBit} instance for the specified memory address.
public static FTC_SBit create(long address) {
return new FTC_SBit(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FTC_SBit::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | BSD-3-Clause |
public static FTC_SBit.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FTC_SBit.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FTC_SBit::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | BSD-3-Clause |
public static FTC_SBit.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FTC_SBit.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_SBit.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}. | FTC_SBit::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | BSD-3-Clause |
public static byte nwidth(long struct) { return memGetByte(struct + FTC_SBit.WIDTH); } |
Create a {@link FTC_SBit.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_SBit.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 FTC_SBit.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #width}. | FTC_SBit::nwidth | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | BSD-3-Clause |
public static byte nheight(long struct) { return memGetByte(struct + FTC_SBit.HEIGHT); } |
Create a {@link FTC_SBit.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_SBit.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 FTC_SBit.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #width}.
public static byte nwidth(long struct) { return memGetByte(struct + FTC_SBit.WIDTH); }
/** Unsafe version of {@link #height}. | FTC_SBit::nheight | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | BSD-3-Clause |
public static byte nleft(long struct) { return memGetByte(struct + FTC_SBit.LEFT); } |
Create a {@link FTC_SBit.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_SBit.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 FTC_SBit.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #width}.
public static byte nwidth(long struct) { return memGetByte(struct + FTC_SBit.WIDTH); }
/** Unsafe version of {@link #height}.
public static byte nheight(long struct) { return memGetByte(struct + FTC_SBit.HEIGHT); }
/** Unsafe version of {@link #left}. | FTC_SBit::nleft | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | BSD-3-Clause |
public static byte ntop(long struct) { return memGetByte(struct + FTC_SBit.TOP); } |
Create a {@link FTC_SBit.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_SBit.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 FTC_SBit.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #width}.
public static byte nwidth(long struct) { return memGetByte(struct + FTC_SBit.WIDTH); }
/** Unsafe version of {@link #height}.
public static byte nheight(long struct) { return memGetByte(struct + FTC_SBit.HEIGHT); }
/** Unsafe version of {@link #left}.
public static byte nleft(long struct) { return memGetByte(struct + FTC_SBit.LEFT); }
/** Unsafe version of {@link #top}. | FTC_SBit::ntop | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | BSD-3-Clause |
public static byte nformat(long struct) { return memGetByte(struct + FTC_SBit.FORMAT); } |
Create a {@link FTC_SBit.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_SBit.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 FTC_SBit.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #width}.
public static byte nwidth(long struct) { return memGetByte(struct + FTC_SBit.WIDTH); }
/** Unsafe version of {@link #height}.
public static byte nheight(long struct) { return memGetByte(struct + FTC_SBit.HEIGHT); }
/** Unsafe version of {@link #left}.
public static byte nleft(long struct) { return memGetByte(struct + FTC_SBit.LEFT); }
/** Unsafe version of {@link #top}.
public static byte ntop(long struct) { return memGetByte(struct + FTC_SBit.TOP); }
/** Unsafe version of {@link #format}. | FTC_SBit::nformat | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | BSD-3-Clause |
public static byte nmax_grays(long struct) { return memGetByte(struct + FTC_SBit.MAX_GRAYS); } |
Create a {@link FTC_SBit.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_SBit.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 FTC_SBit.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #width}.
public static byte nwidth(long struct) { return memGetByte(struct + FTC_SBit.WIDTH); }
/** Unsafe version of {@link #height}.
public static byte nheight(long struct) { return memGetByte(struct + FTC_SBit.HEIGHT); }
/** Unsafe version of {@link #left}.
public static byte nleft(long struct) { return memGetByte(struct + FTC_SBit.LEFT); }
/** Unsafe version of {@link #top}.
public static byte ntop(long struct) { return memGetByte(struct + FTC_SBit.TOP); }
/** Unsafe version of {@link #format}.
public static byte nformat(long struct) { return memGetByte(struct + FTC_SBit.FORMAT); }
/** Unsafe version of {@link #max_grays}. | FTC_SBit::nmax_grays | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | BSD-3-Clause |
public static short npitch(long struct) { return memGetShort(struct + FTC_SBit.PITCH); } |
Create a {@link FTC_SBit.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_SBit.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 FTC_SBit.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #width}.
public static byte nwidth(long struct) { return memGetByte(struct + FTC_SBit.WIDTH); }
/** Unsafe version of {@link #height}.
public static byte nheight(long struct) { return memGetByte(struct + FTC_SBit.HEIGHT); }
/** Unsafe version of {@link #left}.
public static byte nleft(long struct) { return memGetByte(struct + FTC_SBit.LEFT); }
/** Unsafe version of {@link #top}.
public static byte ntop(long struct) { return memGetByte(struct + FTC_SBit.TOP); }
/** Unsafe version of {@link #format}.
public static byte nformat(long struct) { return memGetByte(struct + FTC_SBit.FORMAT); }
/** Unsafe version of {@link #max_grays}.
public static byte nmax_grays(long struct) { return memGetByte(struct + FTC_SBit.MAX_GRAYS); }
/** Unsafe version of {@link #pitch}. | FTC_SBit::npitch | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | BSD-3-Clause |
public static byte nxadvance(long struct) { return memGetByte(struct + FTC_SBit.XADVANCE); } |
Create a {@link FTC_SBit.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_SBit.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 FTC_SBit.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #width}.
public static byte nwidth(long struct) { return memGetByte(struct + FTC_SBit.WIDTH); }
/** Unsafe version of {@link #height}.
public static byte nheight(long struct) { return memGetByte(struct + FTC_SBit.HEIGHT); }
/** Unsafe version of {@link #left}.
public static byte nleft(long struct) { return memGetByte(struct + FTC_SBit.LEFT); }
/** Unsafe version of {@link #top}.
public static byte ntop(long struct) { return memGetByte(struct + FTC_SBit.TOP); }
/** Unsafe version of {@link #format}.
public static byte nformat(long struct) { return memGetByte(struct + FTC_SBit.FORMAT); }
/** Unsafe version of {@link #max_grays}.
public static byte nmax_grays(long struct) { return memGetByte(struct + FTC_SBit.MAX_GRAYS); }
/** Unsafe version of {@link #pitch}.
public static short npitch(long struct) { return memGetShort(struct + FTC_SBit.PITCH); }
/** Unsafe version of {@link #xadvance}. | FTC_SBit::nxadvance | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | BSD-3-Clause |
public static byte nyadvance(long struct) { return memGetByte(struct + FTC_SBit.YADVANCE); } |
Create a {@link FTC_SBit.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_SBit.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 FTC_SBit.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #width}.
public static byte nwidth(long struct) { return memGetByte(struct + FTC_SBit.WIDTH); }
/** Unsafe version of {@link #height}.
public static byte nheight(long struct) { return memGetByte(struct + FTC_SBit.HEIGHT); }
/** Unsafe version of {@link #left}.
public static byte nleft(long struct) { return memGetByte(struct + FTC_SBit.LEFT); }
/** Unsafe version of {@link #top}.
public static byte ntop(long struct) { return memGetByte(struct + FTC_SBit.TOP); }
/** Unsafe version of {@link #format}.
public static byte nformat(long struct) { return memGetByte(struct + FTC_SBit.FORMAT); }
/** Unsafe version of {@link #max_grays}.
public static byte nmax_grays(long struct) { return memGetByte(struct + FTC_SBit.MAX_GRAYS); }
/** Unsafe version of {@link #pitch}.
public static short npitch(long struct) { return memGetShort(struct + FTC_SBit.PITCH); }
/** Unsafe version of {@link #xadvance}.
public static byte nxadvance(long struct) { return memGetByte(struct + FTC_SBit.XADVANCE); }
/** Unsafe version of {@link #yadvance}. | FTC_SBit::nyadvance | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | BSD-3-Clause |
public static ByteBuffer nbuffer(long struct, int capacity) { return memByteBuffer(memGetAddress(struct + FTC_SBit.BUFFER), capacity); } |
Create a {@link FTC_SBit.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FTC_SBit.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 FTC_SBit.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #width}.
public static byte nwidth(long struct) { return memGetByte(struct + FTC_SBit.WIDTH); }
/** Unsafe version of {@link #height}.
public static byte nheight(long struct) { return memGetByte(struct + FTC_SBit.HEIGHT); }
/** Unsafe version of {@link #left}.
public static byte nleft(long struct) { return memGetByte(struct + FTC_SBit.LEFT); }
/** Unsafe version of {@link #top}.
public static byte ntop(long struct) { return memGetByte(struct + FTC_SBit.TOP); }
/** Unsafe version of {@link #format}.
public static byte nformat(long struct) { return memGetByte(struct + FTC_SBit.FORMAT); }
/** Unsafe version of {@link #max_grays}.
public static byte nmax_grays(long struct) { return memGetByte(struct + FTC_SBit.MAX_GRAYS); }
/** Unsafe version of {@link #pitch}.
public static short npitch(long struct) { return memGetShort(struct + FTC_SBit.PITCH); }
/** Unsafe version of {@link #xadvance}.
public static byte nxadvance(long struct) { return memGetByte(struct + FTC_SBit.XADVANCE); }
/** Unsafe version of {@link #yadvance}.
public static byte nyadvance(long struct) { return memGetByte(struct + FTC_SBit.YADVANCE); }
/** Unsafe version of {@link #buffer(int) buffer}. | FTC_SBit::nbuffer | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FTC_SBit.java | BSD-3-Clause |
public FT_Affine23(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_Affine23} 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_Affine23::FT_Affine23 | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | BSD-3-Clause |
public static FT_Affine23 create(long address) {
return new FT_Affine23(address, null);
} |
Creates a {@code FT_Affine23} 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_Affine23(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code xx} field.
@NativeType("FT_Fixed")
public long xx() { return nxx(address()); }
/** @return the value of the {@code xy} field.
@NativeType("FT_Fixed")
public long xy() { return nxy(address()); }
/** @return the value of the {@code dx} field.
@NativeType("FT_Fixed")
public long dx() { return ndx(address()); }
/** @return the value of the {@code yx} field.
@NativeType("FT_Fixed")
public long yx() { return nyx(address()); }
/** @return the value of the {@code yy} field.
@NativeType("FT_Fixed")
public long yy() { return nyy(address()); }
/** @return the value of the {@code dy} field.
@NativeType("FT_Fixed")
public long dy() { return ndy(address()); }
// -----------------------------------
/** Returns a new {@code FT_Affine23} instance for the specified memory address. | FT_Affine23::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | BSD-3-Clause |
public static @Nullable FT_Affine23 createSafe(long address) {
return address == NULL ? null : new FT_Affine23(address, null);
} |
Creates a {@code FT_Affine23} 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_Affine23(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code xx} field.
@NativeType("FT_Fixed")
public long xx() { return nxx(address()); }
/** @return the value of the {@code xy} field.
@NativeType("FT_Fixed")
public long xy() { return nxy(address()); }
/** @return the value of the {@code dx} field.
@NativeType("FT_Fixed")
public long dx() { return ndx(address()); }
/** @return the value of the {@code yx} field.
@NativeType("FT_Fixed")
public long yx() { return nyx(address()); }
/** @return the value of the {@code yy} field.
@NativeType("FT_Fixed")
public long yy() { return nyy(address()); }
/** @return the value of the {@code dy} field.
@NativeType("FT_Fixed")
public long dy() { return ndy(address()); }
// -----------------------------------
/** Returns a new {@code FT_Affine23} instance for the specified memory address.
public static FT_Affine23 create(long address) {
return new FT_Affine23(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_Affine23::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | BSD-3-Clause |
public static FT_Affine23.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_Affine23.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_Affine23::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | BSD-3-Clause |
public static FT_Affine23.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_Affine23.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Affine23.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_Affine23::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | BSD-3-Clause |
public static long nxx(long struct) { return memGetCLong(struct + FT_Affine23.XX); } |
Create a {@link FT_Affine23.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Affine23.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_Affine23.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #xx}. | FT_Affine23::nxx | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | BSD-3-Clause |
public static long nxy(long struct) { return memGetCLong(struct + FT_Affine23.XY); } |
Create a {@link FT_Affine23.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Affine23.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_Affine23.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #xx}.
public static long nxx(long struct) { return memGetCLong(struct + FT_Affine23.XX); }
/** Unsafe version of {@link #xy}. | FT_Affine23::nxy | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | BSD-3-Clause |
public static long ndx(long struct) { return memGetCLong(struct + FT_Affine23.DX); } |
Create a {@link FT_Affine23.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Affine23.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_Affine23.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #xx}.
public static long nxx(long struct) { return memGetCLong(struct + FT_Affine23.XX); }
/** Unsafe version of {@link #xy}.
public static long nxy(long struct) { return memGetCLong(struct + FT_Affine23.XY); }
/** Unsafe version of {@link #dx}. | FT_Affine23::ndx | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | BSD-3-Clause |
public static long nyx(long struct) { return memGetCLong(struct + FT_Affine23.YX); } |
Create a {@link FT_Affine23.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Affine23.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_Affine23.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #xx}.
public static long nxx(long struct) { return memGetCLong(struct + FT_Affine23.XX); }
/** Unsafe version of {@link #xy}.
public static long nxy(long struct) { return memGetCLong(struct + FT_Affine23.XY); }
/** Unsafe version of {@link #dx}.
public static long ndx(long struct) { return memGetCLong(struct + FT_Affine23.DX); }
/** Unsafe version of {@link #yx}. | FT_Affine23::nyx | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | BSD-3-Clause |
public static long nyy(long struct) { return memGetCLong(struct + FT_Affine23.YY); } |
Create a {@link FT_Affine23.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Affine23.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_Affine23.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #xx}.
public static long nxx(long struct) { return memGetCLong(struct + FT_Affine23.XX); }
/** Unsafe version of {@link #xy}.
public static long nxy(long struct) { return memGetCLong(struct + FT_Affine23.XY); }
/** Unsafe version of {@link #dx}.
public static long ndx(long struct) { return memGetCLong(struct + FT_Affine23.DX); }
/** Unsafe version of {@link #yx}.
public static long nyx(long struct) { return memGetCLong(struct + FT_Affine23.YX); }
/** Unsafe version of {@link #yy}. | FT_Affine23::nyy | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | BSD-3-Clause |
public static long ndy(long struct) { return memGetCLong(struct + FT_Affine23.DY); } |
Create a {@link FT_Affine23.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Affine23.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_Affine23.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #xx}.
public static long nxx(long struct) { return memGetCLong(struct + FT_Affine23.XX); }
/** Unsafe version of {@link #xy}.
public static long nxy(long struct) { return memGetCLong(struct + FT_Affine23.XY); }
/** Unsafe version of {@link #dx}.
public static long ndx(long struct) { return memGetCLong(struct + FT_Affine23.DX); }
/** Unsafe version of {@link #yx}.
public static long nyx(long struct) { return memGetCLong(struct + FT_Affine23.YX); }
/** Unsafe version of {@link #yy}.
public static long nyy(long struct) { return memGetCLong(struct + FT_Affine23.YY); }
/** Unsafe version of {@link #dy}. | FT_Affine23::ndy | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Affine23.java | BSD-3-Clause |
public FT_SfntLangTag(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_SfntLangTag} 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_SfntLangTag::FT_SfntLangTag | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static FT_SfntLangTag malloc() {
return new FT_SfntLangTag(nmemAllocChecked(SIZEOF), null);
} |
Creates a {@code FT_SfntLangTag} 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_SfntLangTag(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 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_SfntLangTag} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. | FT_SfntLangTag::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static FT_SfntLangTag calloc() {
return new FT_SfntLangTag(nmemCallocChecked(1, SIZEOF), null);
} |
Creates a {@code FT_SfntLangTag} 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_SfntLangTag(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 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_SfntLangTag} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_SfntLangTag malloc() {
return new FT_SfntLangTag(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_SfntLangTag} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. | FT_SfntLangTag::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static FT_SfntLangTag create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_SfntLangTag(memAddress(container), container);
} |
Creates a {@code FT_SfntLangTag} 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_SfntLangTag(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 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_SfntLangTag} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_SfntLangTag malloc() {
return new FT_SfntLangTag(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_SfntLangTag} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_SfntLangTag calloc() {
return new FT_SfntLangTag(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_SfntLangTag} instance allocated with {@link BufferUtils}. | FT_SfntLangTag::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static FT_SfntLangTag create(long address) {
return new FT_SfntLangTag(address, null);
} |
Creates a {@code FT_SfntLangTag} 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_SfntLangTag(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 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_SfntLangTag} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_SfntLangTag malloc() {
return new FT_SfntLangTag(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_SfntLangTag} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_SfntLangTag calloc() {
return new FT_SfntLangTag(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_SfntLangTag} instance allocated with {@link BufferUtils}.
public static FT_SfntLangTag create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_SfntLangTag(memAddress(container), container);
}
/** Returns a new {@code FT_SfntLangTag} instance for the specified memory address. | FT_SfntLangTag::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static @Nullable FT_SfntLangTag createSafe(long address) {
return address == NULL ? null : new FT_SfntLangTag(address, null);
} |
Creates a {@code FT_SfntLangTag} 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_SfntLangTag(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 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_SfntLangTag} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_SfntLangTag malloc() {
return new FT_SfntLangTag(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_SfntLangTag} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_SfntLangTag calloc() {
return new FT_SfntLangTag(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_SfntLangTag} instance allocated with {@link BufferUtils}.
public static FT_SfntLangTag create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_SfntLangTag(memAddress(container), container);
}
/** Returns a new {@code FT_SfntLangTag} instance for the specified memory address.
public static FT_SfntLangTag create(long address) {
return new FT_SfntLangTag(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_SfntLangTag::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static FT_SfntLangTag.Buffer malloc(int capacity) {
return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity);
} |
Returns a new {@link FT_SfntLangTag.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_SfntLangTag::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static FT_SfntLangTag.Buffer calloc(int capacity) {
return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_SfntLangTag.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_SfntLangTag::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static FT_SfntLangTag.Buffer create(int capacity) {
ByteBuffer container = __create(capacity, SIZEOF);
return new Buffer(memAddress(container), container, -1, 0, capacity, capacity);
} |
Returns a new {@link FT_SfntLangTag.Buffer} instance allocated with {@link BufferUtils}.
@param capacity the buffer capacity
| FT_SfntLangTag::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static FT_SfntLangTag.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_SfntLangTag.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_SfntLangTag::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static FT_SfntLangTag.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_SfntLangTag.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_SfntLangTag.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_SfntLangTag::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static FT_SfntLangTag malloc(MemoryStack stack) {
return new FT_SfntLangTag(stack.nmalloc(ALIGNOF, SIZEOF), null);
} |
Returns a new {@code FT_SfntLangTag} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
| FT_SfntLangTag::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static FT_SfntLangTag calloc(MemoryStack stack) {
return new FT_SfntLangTag(stack.ncalloc(ALIGNOF, 1, SIZEOF), null);
} |
Returns a new {@code FT_SfntLangTag} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero.
@param stack the stack from which to allocate
| FT_SfntLangTag::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static FT_SfntLangTag.Buffer malloc(int capacity, MemoryStack stack) {
return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity);
} |
Returns a new {@link FT_SfntLangTag.Buffer} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
@param capacity the buffer capacity
| FT_SfntLangTag::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static FT_SfntLangTag.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_SfntLangTag.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_SfntLangTag::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static ByteBuffer nstring(long struct) { return memByteBuffer(memGetAddress(struct + FT_SfntLangTag.STRING), nstring_len(struct)); } |
Returns a new {@link FT_SfntLangTag.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_SfntLangTag.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #string() string}. | FT_SfntLangTag::nstring | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public static int nstring_len(long struct) { return memGetInt(struct + FT_SfntLangTag.STRING_LEN); } |
Returns a new {@link FT_SfntLangTag.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_SfntLangTag.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #string() string}.
public static ByteBuffer nstring(long struct) { return memByteBuffer(memGetAddress(struct + FT_SfntLangTag.STRING), nstring_len(struct)); }
/** Unsafe version of {@link #string_len}. | FT_SfntLangTag::nstring_len | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_SfntLangTag.java | BSD-3-Clause |
public FT_Size(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_Size} 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::FT_Size | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size.java | BSD-3-Clause |
public FT_Size face(FT_Face value) { nface(address(), value); return this; } |
Creates a {@code FT_Size} 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(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link FT_Face} view of the struct pointed to by the {@code face} field.
public FT_Face face() { return nface(address()); }
/** @return a {@link FT_Generic} view of the {@code generic} field.
public FT_Generic generic() { return ngeneric(address()); }
/** @return a {@link FT_Size_Metrics} view of the {@code metrics} field.
public FT_Size_Metrics metrics() { return nmetrics(address()); }
/** Sets the address of the specified {@link FT_Face} to the {@code face} field. | FT_Size::face | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size.java | BSD-3-Clause |
public FT_Size generic(FT_Generic value) { ngeneric(address(), value); return this; } |
Creates a {@code FT_Size} 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(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link FT_Face} view of the struct pointed to by the {@code face} field.
public FT_Face face() { return nface(address()); }
/** @return a {@link FT_Generic} view of the {@code generic} field.
public FT_Generic generic() { return ngeneric(address()); }
/** @return a {@link FT_Size_Metrics} view of the {@code metrics} field.
public FT_Size_Metrics metrics() { return nmetrics(address()); }
/** Sets the address of the specified {@link FT_Face} to the {@code face} field.
public FT_Size face(FT_Face value) { nface(address(), value); return this; }
/** Copies the specified {@link FT_Generic} to the {@code generic} field. | FT_Size::generic | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size.java | BSD-3-Clause |
public FT_Size generic(java.util.function.Consumer<FT_Generic> consumer) { consumer.accept(generic()); return this; } |
Creates a {@code FT_Size} 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(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return a {@link FT_Face} view of the struct pointed to by the {@code face} field.
public FT_Face face() { return nface(address()); }
/** @return a {@link FT_Generic} view of the {@code generic} field.
public FT_Generic generic() { return ngeneric(address()); }
/** @return a {@link FT_Size_Metrics} view of the {@code metrics} field.
public FT_Size_Metrics metrics() { return nmetrics(address()); }
/** Sets the address of the specified {@link FT_Face} to the {@code face} field.
public FT_Size face(FT_Face value) { nface(address(), value); return this; }
/** Copies the specified {@link FT_Generic} to the {@code generic} field.
public FT_Size generic(FT_Generic value) { ngeneric(address(), value); return this; }
/** Passes the {@code generic} field to the specified {@link java.util.function.Consumer Consumer}. | FT_Size::generic | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Size.java | BSD-3-Clause |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.