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_ColorStopIterator calloc() {
return new FT_ColorStopIterator(nmemCallocChecked(1, SIZEOF), null);
} |
Creates a {@code FT_ColorStopIterator} 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_ColorStopIterator(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code num_color_stops} field.
@NativeType("FT_UInt")
public int num_color_stops() { return nnum_color_stops(address()); }
/** @return the value of the {@code current_color_stop} field.
@NativeType("FT_UInt")
public int current_color_stop() { return ncurrent_color_stop(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code p} field.
@NativeType("FT_Byte *")
public @Nullable ByteBuffer p(int capacity) { return np(address(), capacity); }
/** @return the value of the {@code read_variable} field.
@NativeType("FT_Bool")
public boolean read_variable() { return nread_variable(address()); }
// -----------------------------------
/** Returns a new {@code FT_ColorStopIterator} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_ColorStopIterator malloc() {
return new FT_ColorStopIterator(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_ColorStopIterator} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. | FT_ColorStopIterator::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static FT_ColorStopIterator create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_ColorStopIterator(memAddress(container), container);
} |
Creates a {@code FT_ColorStopIterator} 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_ColorStopIterator(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code num_color_stops} field.
@NativeType("FT_UInt")
public int num_color_stops() { return nnum_color_stops(address()); }
/** @return the value of the {@code current_color_stop} field.
@NativeType("FT_UInt")
public int current_color_stop() { return ncurrent_color_stop(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code p} field.
@NativeType("FT_Byte *")
public @Nullable ByteBuffer p(int capacity) { return np(address(), capacity); }
/** @return the value of the {@code read_variable} field.
@NativeType("FT_Bool")
public boolean read_variable() { return nread_variable(address()); }
// -----------------------------------
/** Returns a new {@code FT_ColorStopIterator} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_ColorStopIterator malloc() {
return new FT_ColorStopIterator(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_ColorStopIterator} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_ColorStopIterator calloc() {
return new FT_ColorStopIterator(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_ColorStopIterator} instance allocated with {@link BufferUtils}. | FT_ColorStopIterator::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static FT_ColorStopIterator create(long address) {
return new FT_ColorStopIterator(address, null);
} |
Creates a {@code FT_ColorStopIterator} 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_ColorStopIterator(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code num_color_stops} field.
@NativeType("FT_UInt")
public int num_color_stops() { return nnum_color_stops(address()); }
/** @return the value of the {@code current_color_stop} field.
@NativeType("FT_UInt")
public int current_color_stop() { return ncurrent_color_stop(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code p} field.
@NativeType("FT_Byte *")
public @Nullable ByteBuffer p(int capacity) { return np(address(), capacity); }
/** @return the value of the {@code read_variable} field.
@NativeType("FT_Bool")
public boolean read_variable() { return nread_variable(address()); }
// -----------------------------------
/** Returns a new {@code FT_ColorStopIterator} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_ColorStopIterator malloc() {
return new FT_ColorStopIterator(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_ColorStopIterator} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_ColorStopIterator calloc() {
return new FT_ColorStopIterator(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_ColorStopIterator} instance allocated with {@link BufferUtils}.
public static FT_ColorStopIterator create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_ColorStopIterator(memAddress(container), container);
}
/** Returns a new {@code FT_ColorStopIterator} instance for the specified memory address. | FT_ColorStopIterator::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static @Nullable FT_ColorStopIterator createSafe(long address) {
return address == NULL ? null : new FT_ColorStopIterator(address, null);
} |
Creates a {@code FT_ColorStopIterator} 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_ColorStopIterator(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code num_color_stops} field.
@NativeType("FT_UInt")
public int num_color_stops() { return nnum_color_stops(address()); }
/** @return the value of the {@code current_color_stop} field.
@NativeType("FT_UInt")
public int current_color_stop() { return ncurrent_color_stop(address()); }
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code p} field.
@NativeType("FT_Byte *")
public @Nullable ByteBuffer p(int capacity) { return np(address(), capacity); }
/** @return the value of the {@code read_variable} field.
@NativeType("FT_Bool")
public boolean read_variable() { return nread_variable(address()); }
// -----------------------------------
/** Returns a new {@code FT_ColorStopIterator} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_ColorStopIterator malloc() {
return new FT_ColorStopIterator(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_ColorStopIterator} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_ColorStopIterator calloc() {
return new FT_ColorStopIterator(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_ColorStopIterator} instance allocated with {@link BufferUtils}.
public static FT_ColorStopIterator create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_ColorStopIterator(memAddress(container), container);
}
/** Returns a new {@code FT_ColorStopIterator} instance for the specified memory address.
public static FT_ColorStopIterator create(long address) {
return new FT_ColorStopIterator(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_ColorStopIterator::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static FT_ColorStopIterator.Buffer malloc(int capacity) {
return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity);
} |
Returns a new {@link FT_ColorStopIterator.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_ColorStopIterator::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static FT_ColorStopIterator.Buffer calloc(int capacity) {
return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_ColorStopIterator.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_ColorStopIterator::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static FT_ColorStopIterator.Buffer create(int capacity) {
ByteBuffer container = __create(capacity, SIZEOF);
return new Buffer(memAddress(container), container, -1, 0, capacity, capacity);
} |
Returns a new {@link FT_ColorStopIterator.Buffer} instance allocated with {@link BufferUtils}.
@param capacity the buffer capacity
| FT_ColorStopIterator::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static FT_ColorStopIterator.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_ColorStopIterator.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_ColorStopIterator::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static FT_ColorStopIterator.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_ColorStopIterator.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_ColorStopIterator.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_ColorStopIterator::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static FT_ColorStopIterator malloc(MemoryStack stack) {
return new FT_ColorStopIterator(stack.nmalloc(ALIGNOF, SIZEOF), null);
} |
Returns a new {@code FT_ColorStopIterator} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
| FT_ColorStopIterator::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static FT_ColorStopIterator calloc(MemoryStack stack) {
return new FT_ColorStopIterator(stack.ncalloc(ALIGNOF, 1, SIZEOF), null);
} |
Returns a new {@code FT_ColorStopIterator} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero.
@param stack the stack from which to allocate
| FT_ColorStopIterator::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static FT_ColorStopIterator.Buffer malloc(int capacity, MemoryStack stack) {
return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity);
} |
Returns a new {@link FT_ColorStopIterator.Buffer} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
@param capacity the buffer capacity
| FT_ColorStopIterator::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static FT_ColorStopIterator.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_ColorStopIterator.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_ColorStopIterator::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static int nnum_color_stops(long struct) { return memGetInt(struct + FT_ColorStopIterator.NUM_COLOR_STOPS); } |
Returns a new {@link FT_ColorStopIterator.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_ColorStopIterator.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_color_stops}. | FT_ColorStopIterator::nnum_color_stops | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static int ncurrent_color_stop(long struct) { return memGetInt(struct + FT_ColorStopIterator.CURRENT_COLOR_STOP); } |
Returns a new {@link FT_ColorStopIterator.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_ColorStopIterator.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_color_stops}.
public static int nnum_color_stops(long struct) { return memGetInt(struct + FT_ColorStopIterator.NUM_COLOR_STOPS); }
/** Unsafe version of {@link #current_color_stop}. | FT_ColorStopIterator::ncurrent_color_stop | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static @Nullable ByteBuffer np(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_ColorStopIterator.P), capacity); } |
Returns a new {@link FT_ColorStopIterator.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_ColorStopIterator.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_color_stops}.
public static int nnum_color_stops(long struct) { return memGetInt(struct + FT_ColorStopIterator.NUM_COLOR_STOPS); }
/** Unsafe version of {@link #current_color_stop}.
public static int ncurrent_color_stop(long struct) { return memGetInt(struct + FT_ColorStopIterator.CURRENT_COLOR_STOP); }
/** Unsafe version of {@link #p(int) p}. | FT_ColorStopIterator::np | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public static boolean nread_variable(long struct) { return memGetByte(struct + FT_ColorStopIterator.READ_VARIABLE) != 0; } |
Returns a new {@link FT_ColorStopIterator.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_ColorStopIterator.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #num_color_stops}.
public static int nnum_color_stops(long struct) { return memGetInt(struct + FT_ColorStopIterator.NUM_COLOR_STOPS); }
/** Unsafe version of {@link #current_color_stop}.
public static int ncurrent_color_stop(long struct) { return memGetInt(struct + FT_ColorStopIterator.CURRENT_COLOR_STOP); }
/** Unsafe version of {@link #p(int) p}.
public static @Nullable ByteBuffer np(long struct, int capacity) { return memByteBufferSafe(memGetAddress(struct + FT_ColorStopIterator.P), capacity); }
/** Unsafe version of {@link #read_variable}. | FT_ColorStopIterator::nread_variable | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStopIterator.java | BSD-3-Clause |
public TT_MaxProfile(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code TT_MaxProfile} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
<p>The created instance holds a strong reference to the container object.</p>
| TT_MaxProfile::TT_MaxProfile | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static TT_MaxProfile create(long address) {
return new TT_MaxProfile(address, null);
} |
Creates a {@code TT_MaxProfile} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
<p>The created instance holds a strong reference to the container object.</p>
public TT_MaxProfile(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code version} field.
@NativeType("FT_Fixed")
public long version() { return nversion(address()); }
/** @return the value of the {@code numGlyphs} field.
@NativeType("FT_UShort")
public short numGlyphs() { return nnumGlyphs(address()); }
/** @return the value of the {@code maxPoints} field.
@NativeType("FT_UShort")
public short maxPoints() { return nmaxPoints(address()); }
/** @return the value of the {@code maxContours} field.
@NativeType("FT_UShort")
public short maxContours() { return nmaxContours(address()); }
/** @return the value of the {@code maxCompositePoints} field.
@NativeType("FT_UShort")
public short maxCompositePoints() { return nmaxCompositePoints(address()); }
/** @return the value of the {@code maxCompositeContours} field.
@NativeType("FT_UShort")
public short maxCompositeContours() { return nmaxCompositeContours(address()); }
/** @return the value of the {@code maxZones} field.
@NativeType("FT_UShort")
public short maxZones() { return nmaxZones(address()); }
/** @return the value of the {@code maxTwilightPoints} field.
@NativeType("FT_UShort")
public short maxTwilightPoints() { return nmaxTwilightPoints(address()); }
/** @return the value of the {@code maxStorage} field.
@NativeType("FT_UShort")
public short maxStorage() { return nmaxStorage(address()); }
/** @return the value of the {@code maxFunctionDefs} field.
@NativeType("FT_UShort")
public short maxFunctionDefs() { return nmaxFunctionDefs(address()); }
/** @return the value of the {@code maxInstructionDefs} field.
@NativeType("FT_UShort")
public short maxInstructionDefs() { return nmaxInstructionDefs(address()); }
/** @return the value of the {@code maxStackElements} field.
@NativeType("FT_UShort")
public short maxStackElements() { return nmaxStackElements(address()); }
/** @return the value of the {@code maxSizeOfInstructions} field.
@NativeType("FT_UShort")
public short maxSizeOfInstructions() { return nmaxSizeOfInstructions(address()); }
/** @return the value of the {@code maxComponentElements} field.
@NativeType("FT_UShort")
public short maxComponentElements() { return nmaxComponentElements(address()); }
/** @return the value of the {@code maxComponentDepth} field.
@NativeType("FT_UShort")
public short maxComponentDepth() { return nmaxComponentDepth(address()); }
// -----------------------------------
/** Returns a new {@code TT_MaxProfile} instance for the specified memory address. | TT_MaxProfile::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static @Nullable TT_MaxProfile createSafe(long address) {
return address == NULL ? null : new TT_MaxProfile(address, null);
} |
Creates a {@code TT_MaxProfile} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
<p>The created instance holds a strong reference to the container object.</p>
public TT_MaxProfile(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code version} field.
@NativeType("FT_Fixed")
public long version() { return nversion(address()); }
/** @return the value of the {@code numGlyphs} field.
@NativeType("FT_UShort")
public short numGlyphs() { return nnumGlyphs(address()); }
/** @return the value of the {@code maxPoints} field.
@NativeType("FT_UShort")
public short maxPoints() { return nmaxPoints(address()); }
/** @return the value of the {@code maxContours} field.
@NativeType("FT_UShort")
public short maxContours() { return nmaxContours(address()); }
/** @return the value of the {@code maxCompositePoints} field.
@NativeType("FT_UShort")
public short maxCompositePoints() { return nmaxCompositePoints(address()); }
/** @return the value of the {@code maxCompositeContours} field.
@NativeType("FT_UShort")
public short maxCompositeContours() { return nmaxCompositeContours(address()); }
/** @return the value of the {@code maxZones} field.
@NativeType("FT_UShort")
public short maxZones() { return nmaxZones(address()); }
/** @return the value of the {@code maxTwilightPoints} field.
@NativeType("FT_UShort")
public short maxTwilightPoints() { return nmaxTwilightPoints(address()); }
/** @return the value of the {@code maxStorage} field.
@NativeType("FT_UShort")
public short maxStorage() { return nmaxStorage(address()); }
/** @return the value of the {@code maxFunctionDefs} field.
@NativeType("FT_UShort")
public short maxFunctionDefs() { return nmaxFunctionDefs(address()); }
/** @return the value of the {@code maxInstructionDefs} field.
@NativeType("FT_UShort")
public short maxInstructionDefs() { return nmaxInstructionDefs(address()); }
/** @return the value of the {@code maxStackElements} field.
@NativeType("FT_UShort")
public short maxStackElements() { return nmaxStackElements(address()); }
/** @return the value of the {@code maxSizeOfInstructions} field.
@NativeType("FT_UShort")
public short maxSizeOfInstructions() { return nmaxSizeOfInstructions(address()); }
/** @return the value of the {@code maxComponentElements} field.
@NativeType("FT_UShort")
public short maxComponentElements() { return nmaxComponentElements(address()); }
/** @return the value of the {@code maxComponentDepth} field.
@NativeType("FT_UShort")
public short maxComponentDepth() { return nmaxComponentDepth(address()); }
// -----------------------------------
/** Returns a new {@code TT_MaxProfile} instance for the specified memory address.
public static TT_MaxProfile create(long address) {
return new TT_MaxProfile(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | TT_MaxProfile::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| TT_MaxProfile::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. | TT_MaxProfile::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static long nversion(long struct) { return memGetCLong(struct + TT_MaxProfile.VERSION); } |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #version}. | TT_MaxProfile::nversion | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static short nnumGlyphs(long struct) { return memGetShort(struct + TT_MaxProfile.NUMGLYPHS); } |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #version}.
public static long nversion(long struct) { return memGetCLong(struct + TT_MaxProfile.VERSION); }
/** Unsafe version of {@link #numGlyphs}. | TT_MaxProfile::nnumGlyphs | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static short nmaxPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXPOINTS); } |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #version}.
public static long nversion(long struct) { return memGetCLong(struct + TT_MaxProfile.VERSION); }
/** Unsafe version of {@link #numGlyphs}.
public static short nnumGlyphs(long struct) { return memGetShort(struct + TT_MaxProfile.NUMGLYPHS); }
/** Unsafe version of {@link #maxPoints}. | TT_MaxProfile::nmaxPoints | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static short nmaxContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCONTOURS); } |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #version}.
public static long nversion(long struct) { return memGetCLong(struct + TT_MaxProfile.VERSION); }
/** Unsafe version of {@link #numGlyphs}.
public static short nnumGlyphs(long struct) { return memGetShort(struct + TT_MaxProfile.NUMGLYPHS); }
/** Unsafe version of {@link #maxPoints}.
public static short nmaxPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXPOINTS); }
/** Unsafe version of {@link #maxContours}. | TT_MaxProfile::nmaxContours | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static short nmaxCompositePoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITEPOINTS); } |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #version}.
public static long nversion(long struct) { return memGetCLong(struct + TT_MaxProfile.VERSION); }
/** Unsafe version of {@link #numGlyphs}.
public static short nnumGlyphs(long struct) { return memGetShort(struct + TT_MaxProfile.NUMGLYPHS); }
/** Unsafe version of {@link #maxPoints}.
public static short nmaxPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXPOINTS); }
/** Unsafe version of {@link #maxContours}.
public static short nmaxContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCONTOURS); }
/** Unsafe version of {@link #maxCompositePoints}. | TT_MaxProfile::nmaxCompositePoints | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static short nmaxCompositeContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITECONTOURS); } |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #version}.
public static long nversion(long struct) { return memGetCLong(struct + TT_MaxProfile.VERSION); }
/** Unsafe version of {@link #numGlyphs}.
public static short nnumGlyphs(long struct) { return memGetShort(struct + TT_MaxProfile.NUMGLYPHS); }
/** Unsafe version of {@link #maxPoints}.
public static short nmaxPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXPOINTS); }
/** Unsafe version of {@link #maxContours}.
public static short nmaxContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCONTOURS); }
/** Unsafe version of {@link #maxCompositePoints}.
public static short nmaxCompositePoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITEPOINTS); }
/** Unsafe version of {@link #maxCompositeContours}. | TT_MaxProfile::nmaxCompositeContours | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static short nmaxZones(long struct) { return memGetShort(struct + TT_MaxProfile.MAXZONES); } |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #version}.
public static long nversion(long struct) { return memGetCLong(struct + TT_MaxProfile.VERSION); }
/** Unsafe version of {@link #numGlyphs}.
public static short nnumGlyphs(long struct) { return memGetShort(struct + TT_MaxProfile.NUMGLYPHS); }
/** Unsafe version of {@link #maxPoints}.
public static short nmaxPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXPOINTS); }
/** Unsafe version of {@link #maxContours}.
public static short nmaxContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCONTOURS); }
/** Unsafe version of {@link #maxCompositePoints}.
public static short nmaxCompositePoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITEPOINTS); }
/** Unsafe version of {@link #maxCompositeContours}.
public static short nmaxCompositeContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITECONTOURS); }
/** Unsafe version of {@link #maxZones}. | TT_MaxProfile::nmaxZones | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static short nmaxTwilightPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXTWILIGHTPOINTS); } |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #version}.
public static long nversion(long struct) { return memGetCLong(struct + TT_MaxProfile.VERSION); }
/** Unsafe version of {@link #numGlyphs}.
public static short nnumGlyphs(long struct) { return memGetShort(struct + TT_MaxProfile.NUMGLYPHS); }
/** Unsafe version of {@link #maxPoints}.
public static short nmaxPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXPOINTS); }
/** Unsafe version of {@link #maxContours}.
public static short nmaxContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCONTOURS); }
/** Unsafe version of {@link #maxCompositePoints}.
public static short nmaxCompositePoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITEPOINTS); }
/** Unsafe version of {@link #maxCompositeContours}.
public static short nmaxCompositeContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITECONTOURS); }
/** Unsafe version of {@link #maxZones}.
public static short nmaxZones(long struct) { return memGetShort(struct + TT_MaxProfile.MAXZONES); }
/** Unsafe version of {@link #maxTwilightPoints}. | TT_MaxProfile::nmaxTwilightPoints | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static short nmaxStorage(long struct) { return memGetShort(struct + TT_MaxProfile.MAXSTORAGE); } |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #version}.
public static long nversion(long struct) { return memGetCLong(struct + TT_MaxProfile.VERSION); }
/** Unsafe version of {@link #numGlyphs}.
public static short nnumGlyphs(long struct) { return memGetShort(struct + TT_MaxProfile.NUMGLYPHS); }
/** Unsafe version of {@link #maxPoints}.
public static short nmaxPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXPOINTS); }
/** Unsafe version of {@link #maxContours}.
public static short nmaxContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCONTOURS); }
/** Unsafe version of {@link #maxCompositePoints}.
public static short nmaxCompositePoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITEPOINTS); }
/** Unsafe version of {@link #maxCompositeContours}.
public static short nmaxCompositeContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITECONTOURS); }
/** Unsafe version of {@link #maxZones}.
public static short nmaxZones(long struct) { return memGetShort(struct + TT_MaxProfile.MAXZONES); }
/** Unsafe version of {@link #maxTwilightPoints}.
public static short nmaxTwilightPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXTWILIGHTPOINTS); }
/** Unsafe version of {@link #maxStorage}. | TT_MaxProfile::nmaxStorage | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static short nmaxFunctionDefs(long struct) { return memGetShort(struct + TT_MaxProfile.MAXFUNCTIONDEFS); } |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #version}.
public static long nversion(long struct) { return memGetCLong(struct + TT_MaxProfile.VERSION); }
/** Unsafe version of {@link #numGlyphs}.
public static short nnumGlyphs(long struct) { return memGetShort(struct + TT_MaxProfile.NUMGLYPHS); }
/** Unsafe version of {@link #maxPoints}.
public static short nmaxPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXPOINTS); }
/** Unsafe version of {@link #maxContours}.
public static short nmaxContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCONTOURS); }
/** Unsafe version of {@link #maxCompositePoints}.
public static short nmaxCompositePoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITEPOINTS); }
/** Unsafe version of {@link #maxCompositeContours}.
public static short nmaxCompositeContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITECONTOURS); }
/** Unsafe version of {@link #maxZones}.
public static short nmaxZones(long struct) { return memGetShort(struct + TT_MaxProfile.MAXZONES); }
/** Unsafe version of {@link #maxTwilightPoints}.
public static short nmaxTwilightPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXTWILIGHTPOINTS); }
/** Unsafe version of {@link #maxStorage}.
public static short nmaxStorage(long struct) { return memGetShort(struct + TT_MaxProfile.MAXSTORAGE); }
/** Unsafe version of {@link #maxFunctionDefs}. | TT_MaxProfile::nmaxFunctionDefs | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static short nmaxInstructionDefs(long struct) { return memGetShort(struct + TT_MaxProfile.MAXINSTRUCTIONDEFS); } |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #version}.
public static long nversion(long struct) { return memGetCLong(struct + TT_MaxProfile.VERSION); }
/** Unsafe version of {@link #numGlyphs}.
public static short nnumGlyphs(long struct) { return memGetShort(struct + TT_MaxProfile.NUMGLYPHS); }
/** Unsafe version of {@link #maxPoints}.
public static short nmaxPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXPOINTS); }
/** Unsafe version of {@link #maxContours}.
public static short nmaxContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCONTOURS); }
/** Unsafe version of {@link #maxCompositePoints}.
public static short nmaxCompositePoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITEPOINTS); }
/** Unsafe version of {@link #maxCompositeContours}.
public static short nmaxCompositeContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITECONTOURS); }
/** Unsafe version of {@link #maxZones}.
public static short nmaxZones(long struct) { return memGetShort(struct + TT_MaxProfile.MAXZONES); }
/** Unsafe version of {@link #maxTwilightPoints}.
public static short nmaxTwilightPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXTWILIGHTPOINTS); }
/** Unsafe version of {@link #maxStorage}.
public static short nmaxStorage(long struct) { return memGetShort(struct + TT_MaxProfile.MAXSTORAGE); }
/** Unsafe version of {@link #maxFunctionDefs}.
public static short nmaxFunctionDefs(long struct) { return memGetShort(struct + TT_MaxProfile.MAXFUNCTIONDEFS); }
/** Unsafe version of {@link #maxInstructionDefs}. | TT_MaxProfile::nmaxInstructionDefs | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static short nmaxStackElements(long struct) { return memGetShort(struct + TT_MaxProfile.MAXSTACKELEMENTS); } |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #version}.
public static long nversion(long struct) { return memGetCLong(struct + TT_MaxProfile.VERSION); }
/** Unsafe version of {@link #numGlyphs}.
public static short nnumGlyphs(long struct) { return memGetShort(struct + TT_MaxProfile.NUMGLYPHS); }
/** Unsafe version of {@link #maxPoints}.
public static short nmaxPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXPOINTS); }
/** Unsafe version of {@link #maxContours}.
public static short nmaxContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCONTOURS); }
/** Unsafe version of {@link #maxCompositePoints}.
public static short nmaxCompositePoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITEPOINTS); }
/** Unsafe version of {@link #maxCompositeContours}.
public static short nmaxCompositeContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITECONTOURS); }
/** Unsafe version of {@link #maxZones}.
public static short nmaxZones(long struct) { return memGetShort(struct + TT_MaxProfile.MAXZONES); }
/** Unsafe version of {@link #maxTwilightPoints}.
public static short nmaxTwilightPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXTWILIGHTPOINTS); }
/** Unsafe version of {@link #maxStorage}.
public static short nmaxStorage(long struct) { return memGetShort(struct + TT_MaxProfile.MAXSTORAGE); }
/** Unsafe version of {@link #maxFunctionDefs}.
public static short nmaxFunctionDefs(long struct) { return memGetShort(struct + TT_MaxProfile.MAXFUNCTIONDEFS); }
/** Unsafe version of {@link #maxInstructionDefs}.
public static short nmaxInstructionDefs(long struct) { return memGetShort(struct + TT_MaxProfile.MAXINSTRUCTIONDEFS); }
/** Unsafe version of {@link #maxStackElements}. | TT_MaxProfile::nmaxStackElements | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static short nmaxSizeOfInstructions(long struct) { return memGetShort(struct + TT_MaxProfile.MAXSIZEOFINSTRUCTIONS); } |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #version}.
public static long nversion(long struct) { return memGetCLong(struct + TT_MaxProfile.VERSION); }
/** Unsafe version of {@link #numGlyphs}.
public static short nnumGlyphs(long struct) { return memGetShort(struct + TT_MaxProfile.NUMGLYPHS); }
/** Unsafe version of {@link #maxPoints}.
public static short nmaxPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXPOINTS); }
/** Unsafe version of {@link #maxContours}.
public static short nmaxContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCONTOURS); }
/** Unsafe version of {@link #maxCompositePoints}.
public static short nmaxCompositePoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITEPOINTS); }
/** Unsafe version of {@link #maxCompositeContours}.
public static short nmaxCompositeContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITECONTOURS); }
/** Unsafe version of {@link #maxZones}.
public static short nmaxZones(long struct) { return memGetShort(struct + TT_MaxProfile.MAXZONES); }
/** Unsafe version of {@link #maxTwilightPoints}.
public static short nmaxTwilightPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXTWILIGHTPOINTS); }
/** Unsafe version of {@link #maxStorage}.
public static short nmaxStorage(long struct) { return memGetShort(struct + TT_MaxProfile.MAXSTORAGE); }
/** Unsafe version of {@link #maxFunctionDefs}.
public static short nmaxFunctionDefs(long struct) { return memGetShort(struct + TT_MaxProfile.MAXFUNCTIONDEFS); }
/** Unsafe version of {@link #maxInstructionDefs}.
public static short nmaxInstructionDefs(long struct) { return memGetShort(struct + TT_MaxProfile.MAXINSTRUCTIONDEFS); }
/** Unsafe version of {@link #maxStackElements}.
public static short nmaxStackElements(long struct) { return memGetShort(struct + TT_MaxProfile.MAXSTACKELEMENTS); }
/** Unsafe version of {@link #maxSizeOfInstructions}. | TT_MaxProfile::nmaxSizeOfInstructions | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static short nmaxComponentElements(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPONENTELEMENTS); } |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #version}.
public static long nversion(long struct) { return memGetCLong(struct + TT_MaxProfile.VERSION); }
/** Unsafe version of {@link #numGlyphs}.
public static short nnumGlyphs(long struct) { return memGetShort(struct + TT_MaxProfile.NUMGLYPHS); }
/** Unsafe version of {@link #maxPoints}.
public static short nmaxPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXPOINTS); }
/** Unsafe version of {@link #maxContours}.
public static short nmaxContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCONTOURS); }
/** Unsafe version of {@link #maxCompositePoints}.
public static short nmaxCompositePoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITEPOINTS); }
/** Unsafe version of {@link #maxCompositeContours}.
public static short nmaxCompositeContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITECONTOURS); }
/** Unsafe version of {@link #maxZones}.
public static short nmaxZones(long struct) { return memGetShort(struct + TT_MaxProfile.MAXZONES); }
/** Unsafe version of {@link #maxTwilightPoints}.
public static short nmaxTwilightPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXTWILIGHTPOINTS); }
/** Unsafe version of {@link #maxStorage}.
public static short nmaxStorage(long struct) { return memGetShort(struct + TT_MaxProfile.MAXSTORAGE); }
/** Unsafe version of {@link #maxFunctionDefs}.
public static short nmaxFunctionDefs(long struct) { return memGetShort(struct + TT_MaxProfile.MAXFUNCTIONDEFS); }
/** Unsafe version of {@link #maxInstructionDefs}.
public static short nmaxInstructionDefs(long struct) { return memGetShort(struct + TT_MaxProfile.MAXINSTRUCTIONDEFS); }
/** Unsafe version of {@link #maxStackElements}.
public static short nmaxStackElements(long struct) { return memGetShort(struct + TT_MaxProfile.MAXSTACKELEMENTS); }
/** Unsafe version of {@link #maxSizeOfInstructions}.
public static short nmaxSizeOfInstructions(long struct) { return memGetShort(struct + TT_MaxProfile.MAXSIZEOFINSTRUCTIONS); }
/** Unsafe version of {@link #maxComponentElements}. | TT_MaxProfile::nmaxComponentElements | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public static short nmaxComponentDepth(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPONENTDEPTH); } |
Create a {@link TT_MaxProfile.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static TT_MaxProfile.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
public static TT_MaxProfile.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #version}.
public static long nversion(long struct) { return memGetCLong(struct + TT_MaxProfile.VERSION); }
/** Unsafe version of {@link #numGlyphs}.
public static short nnumGlyphs(long struct) { return memGetShort(struct + TT_MaxProfile.NUMGLYPHS); }
/** Unsafe version of {@link #maxPoints}.
public static short nmaxPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXPOINTS); }
/** Unsafe version of {@link #maxContours}.
public static short nmaxContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCONTOURS); }
/** Unsafe version of {@link #maxCompositePoints}.
public static short nmaxCompositePoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITEPOINTS); }
/** Unsafe version of {@link #maxCompositeContours}.
public static short nmaxCompositeContours(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPOSITECONTOURS); }
/** Unsafe version of {@link #maxZones}.
public static short nmaxZones(long struct) { return memGetShort(struct + TT_MaxProfile.MAXZONES); }
/** Unsafe version of {@link #maxTwilightPoints}.
public static short nmaxTwilightPoints(long struct) { return memGetShort(struct + TT_MaxProfile.MAXTWILIGHTPOINTS); }
/** Unsafe version of {@link #maxStorage}.
public static short nmaxStorage(long struct) { return memGetShort(struct + TT_MaxProfile.MAXSTORAGE); }
/** Unsafe version of {@link #maxFunctionDefs}.
public static short nmaxFunctionDefs(long struct) { return memGetShort(struct + TT_MaxProfile.MAXFUNCTIONDEFS); }
/** Unsafe version of {@link #maxInstructionDefs}.
public static short nmaxInstructionDefs(long struct) { return memGetShort(struct + TT_MaxProfile.MAXINSTRUCTIONDEFS); }
/** Unsafe version of {@link #maxStackElements}.
public static short nmaxStackElements(long struct) { return memGetShort(struct + TT_MaxProfile.MAXSTACKELEMENTS); }
/** Unsafe version of {@link #maxSizeOfInstructions}.
public static short nmaxSizeOfInstructions(long struct) { return memGetShort(struct + TT_MaxProfile.MAXSIZEOFINSTRUCTIONS); }
/** Unsafe version of {@link #maxComponentElements}.
public static short nmaxComponentElements(long struct) { return memGetShort(struct + TT_MaxProfile.MAXCOMPONENTELEMENTS); }
/** Unsafe version of {@link #maxComponentDepth}. | TT_MaxProfile::nmaxComponentDepth | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/TT_MaxProfile.java | BSD-3-Clause |
public FT_Data(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_Data} 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_Data::FT_Data | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public FT_Data pointer(@NativeType("FT_Byte const *") ByteBuffer value) { npointer(address(), value); return this; } |
Creates a {@code FT_Data} 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_Data(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 pointer} field.
@NativeType("FT_Byte const *")
public ByteBuffer pointer() { return npointer(address()); }
/** @return the value of the {@code length} field.
@NativeType("FT_UInt")
public int length() { return nlength(address()); }
/** Sets the address of the specified {@link ByteBuffer} to the {@code pointer} field. | FT_Data::pointer | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static FT_Data malloc() {
return new FT_Data(nmemAllocChecked(SIZEOF), null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Data set(FT_Data src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Data} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. | FT_Data::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static FT_Data calloc() {
return new FT_Data(nmemCallocChecked(1, SIZEOF), null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Data set(FT_Data src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Data} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Data malloc() {
return new FT_Data(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Data} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. | FT_Data::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static FT_Data create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_Data(memAddress(container), container);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Data set(FT_Data src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Data} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Data malloc() {
return new FT_Data(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Data} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_Data calloc() {
return new FT_Data(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_Data} instance allocated with {@link BufferUtils}. | FT_Data::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static FT_Data create(long address) {
return new FT_Data(address, null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Data set(FT_Data src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Data} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Data malloc() {
return new FT_Data(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Data} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_Data calloc() {
return new FT_Data(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_Data} instance allocated with {@link BufferUtils}.
public static FT_Data create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_Data(memAddress(container), container);
}
/** Returns a new {@code FT_Data} instance for the specified memory address. | FT_Data::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static @Nullable FT_Data createSafe(long address) {
return address == NULL ? null : new FT_Data(address, null);
} |
Copies the specified struct data to this struct.
@param src the source struct
@return this struct
public FT_Data set(FT_Data src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code FT_Data} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
public static FT_Data malloc() {
return new FT_Data(nmemAllocChecked(SIZEOF), null);
}
/** Returns a new {@code FT_Data} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
public static FT_Data calloc() {
return new FT_Data(nmemCallocChecked(1, SIZEOF), null);
}
/** Returns a new {@code FT_Data} instance allocated with {@link BufferUtils}.
public static FT_Data create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return new FT_Data(memAddress(container), container);
}
/** Returns a new {@code FT_Data} instance for the specified memory address.
public static FT_Data create(long address) {
return new FT_Data(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_Data::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static FT_Data.Buffer malloc(int capacity) {
return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity);
} |
Returns a new {@link FT_Data.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_Data::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static FT_Data.Buffer calloc(int capacity) {
return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_Data.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
@param capacity the buffer capacity
| FT_Data::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static FT_Data.Buffer create(int capacity) {
ByteBuffer container = __create(capacity, SIZEOF);
return new Buffer(memAddress(container), container, -1, 0, capacity, capacity);
} |
Returns a new {@link FT_Data.Buffer} instance allocated with {@link BufferUtils}.
@param capacity the buffer capacity
| FT_Data::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static FT_Data.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_Data.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_Data::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static FT_Data.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_Data.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_Data.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_Data::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static FT_Data malloc(MemoryStack stack) {
return new FT_Data(stack.nmalloc(ALIGNOF, SIZEOF), null);
} |
Returns a new {@code FT_Data} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
| FT_Data::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static FT_Data calloc(MemoryStack stack) {
return new FT_Data(stack.ncalloc(ALIGNOF, 1, SIZEOF), null);
} |
Returns a new {@code FT_Data} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero.
@param stack the stack from which to allocate
| FT_Data::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static FT_Data.Buffer malloc(int capacity, MemoryStack stack) {
return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity);
} |
Returns a new {@link FT_Data.Buffer} instance allocated on the specified {@link MemoryStack}.
@param stack the stack from which to allocate
@param capacity the buffer capacity
| FT_Data::malloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static FT_Data.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
} |
Returns a new {@link FT_Data.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_Data::calloc | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static ByteBuffer npointer(long struct) { return memByteBuffer(memGetAddress(struct + FT_Data.POINTER), nlength(struct)); } |
Returns a new {@link FT_Data.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_Data.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #pointer() pointer}. | FT_Data::npointer | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static int nlength(long struct) { return memGetInt(struct + FT_Data.LENGTH); } |
Returns a new {@link FT_Data.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_Data.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #pointer() pointer}.
public static ByteBuffer npointer(long struct) { return memByteBuffer(memGetAddress(struct + FT_Data.POINTER), nlength(struct)); }
/** Unsafe version of {@link #length}. | FT_Data::nlength | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static void npointer(long struct, ByteBuffer value) { memPutAddress(struct + FT_Data.POINTER, memAddress(value)); nlength(struct, value.remaining()); } |
Returns a new {@link FT_Data.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_Data.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #pointer() pointer}.
public static ByteBuffer npointer(long struct) { return memByteBuffer(memGetAddress(struct + FT_Data.POINTER), nlength(struct)); }
/** Unsafe version of {@link #length}.
public static int nlength(long struct) { return memGetInt(struct + FT_Data.LENGTH); }
/** Unsafe version of {@link #pointer(ByteBuffer) pointer}. | FT_Data::npointer | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public static void nlength(long struct, int value) { memPutInt(struct + FT_Data.LENGTH, value); } |
Returns a new {@link FT_Data.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_Data.Buffer calloc(int capacity, MemoryStack stack) {
return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #pointer() pointer}.
public static ByteBuffer npointer(long struct) { return memByteBuffer(memGetAddress(struct + FT_Data.POINTER), nlength(struct)); }
/** Unsafe version of {@link #length}.
public static int nlength(long struct) { return memGetInt(struct + FT_Data.LENGTH); }
/** Unsafe version of {@link #pointer(ByteBuffer) pointer}.
public static void npointer(long struct, ByteBuffer value) { memPutAddress(struct + FT_Data.POINTER, memAddress(value)); nlength(struct, value.remaining()); }
/** Sets the specified value to the {@code length} field of the specified {@code struct}. | FT_Data::nlength | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public FT_Data.Buffer pointer(@NativeType("FT_Byte const *") ByteBuffer value) { FT_Data.npointer(address(), value); return this; } |
Creates a new {@code FT_Data.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_Data#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_Data getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return a {@link ByteBuffer} view of the data pointed to by the {@code pointer} field.
@NativeType("FT_Byte const *")
public ByteBuffer pointer() { return FT_Data.npointer(address()); }
/** @return the value of the {@code length} field.
@NativeType("FT_UInt")
public int length() { return FT_Data.nlength(address()); }
/** Sets the address of the specified {@link ByteBuffer} to the {@code pointer} field. | Buffer::pointer | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Data.java | BSD-3-Clause |
public FT_ColorIndex(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_ColorIndex} 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_ColorIndex::FT_ColorIndex | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorIndex.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorIndex.java | BSD-3-Clause |
public static FT_ColorIndex create(long address) {
return new FT_ColorIndex(address, null);
} |
Creates a {@code FT_ColorIndex} 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_ColorIndex(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code palette_index} field.
@NativeType("FT_UInt16")
public short palette_index() { return npalette_index(address()); }
/** @return the value of the {@code alpha} field.
@NativeType("FT_F2Dot14")
public short alpha() { return nalpha(address()); }
// -----------------------------------
/** Returns a new {@code FT_ColorIndex} instance for the specified memory address. | FT_ColorIndex::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorIndex.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorIndex.java | BSD-3-Clause |
public static @Nullable FT_ColorIndex createSafe(long address) {
return address == NULL ? null : new FT_ColorIndex(address, null);
} |
Creates a {@code FT_ColorIndex} 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_ColorIndex(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code palette_index} field.
@NativeType("FT_UInt16")
public short palette_index() { return npalette_index(address()); }
/** @return the value of the {@code alpha} field.
@NativeType("FT_F2Dot14")
public short alpha() { return nalpha(address()); }
// -----------------------------------
/** Returns a new {@code FT_ColorIndex} instance for the specified memory address.
public static FT_ColorIndex create(long address) {
return new FT_ColorIndex(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_ColorIndex::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorIndex.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorIndex.java | BSD-3-Clause |
public static FT_ColorIndex.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_ColorIndex.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_ColorIndex::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorIndex.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorIndex.java | BSD-3-Clause |
public static FT_ColorIndex.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_ColorIndex.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_ColorIndex.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_ColorIndex::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorIndex.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorIndex.java | BSD-3-Clause |
public static short npalette_index(long struct) { return memGetShort(struct + FT_ColorIndex.PALETTE_INDEX); } |
Create a {@link FT_ColorIndex.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_ColorIndex.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_ColorIndex.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #palette_index}. | FT_ColorIndex::npalette_index | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorIndex.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorIndex.java | BSD-3-Clause |
public static short nalpha(long struct) { return memGetShort(struct + FT_ColorIndex.ALPHA); } |
Create a {@link FT_ColorIndex.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_ColorIndex.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_ColorIndex.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #palette_index}.
public static short npalette_index(long struct) { return memGetShort(struct + FT_ColorIndex.PALETTE_INDEX); }
/** Unsafe version of {@link #alpha}. | FT_ColorIndex::nalpha | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorIndex.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorIndex.java | BSD-3-Clause |
public FT_CharMap(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_CharMap} 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_CharMap::FT_CharMap | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | BSD-3-Clause |
public static FT_CharMap create(long address) {
return new FT_CharMap(address, null);
} |
Creates a {@code FT_CharMap} 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_CharMap(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 the value of the {@code encoding} field.
@NativeType("FT_Encoding")
public int encoding() { return nencoding(address()); }
/** @return the value of the {@code platform_id} field.
@NativeType("FT_UShort")
public short platform_id() { return nplatform_id(address()); }
/** @return the value of the {@code encoding_id} field.
@NativeType("FT_UShort")
public short encoding_id() { return nencoding_id(address()); }
// -----------------------------------
/** Returns a new {@code FT_CharMap} instance for the specified memory address. | FT_CharMap::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | BSD-3-Clause |
public static @Nullable FT_CharMap createSafe(long address) {
return address == NULL ? null : new FT_CharMap(address, null);
} |
Creates a {@code FT_CharMap} 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_CharMap(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 the value of the {@code encoding} field.
@NativeType("FT_Encoding")
public int encoding() { return nencoding(address()); }
/** @return the value of the {@code platform_id} field.
@NativeType("FT_UShort")
public short platform_id() { return nplatform_id(address()); }
/** @return the value of the {@code encoding_id} field.
@NativeType("FT_UShort")
public short encoding_id() { return nencoding_id(address()); }
// -----------------------------------
/** Returns a new {@code FT_CharMap} instance for the specified memory address.
public static FT_CharMap create(long address) {
return new FT_CharMap(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_CharMap::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | BSD-3-Clause |
public static FT_CharMap.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_CharMap.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_CharMap::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | BSD-3-Clause |
public static FT_CharMap.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
Create a {@link FT_CharMap.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_CharMap.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_CharMap::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | BSD-3-Clause |
public static FT_Face nface(long struct) { return FT_Face.create(memGetAddress(struct + FT_CharMap.FACE)); } |
Create a {@link FT_CharMap.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_CharMap.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_CharMap.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #face}. | FT_CharMap::nface | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | BSD-3-Clause |
public static int nencoding(long struct) { return memGetInt(struct + FT_CharMap.ENCODING); } |
Create a {@link FT_CharMap.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_CharMap.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_CharMap.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #face}.
public static FT_Face nface(long struct) { return FT_Face.create(memGetAddress(struct + FT_CharMap.FACE)); }
/** Unsafe version of {@link #encoding}. | FT_CharMap::nencoding | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | BSD-3-Clause |
public static short nplatform_id(long struct) { return memGetShort(struct + FT_CharMap.PLATFORM_ID); } |
Create a {@link FT_CharMap.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_CharMap.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_CharMap.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #face}.
public static FT_Face nface(long struct) { return FT_Face.create(memGetAddress(struct + FT_CharMap.FACE)); }
/** Unsafe version of {@link #encoding}.
public static int nencoding(long struct) { return memGetInt(struct + FT_CharMap.ENCODING); }
/** Unsafe version of {@link #platform_id}. | FT_CharMap::nplatform_id | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | BSD-3-Clause |
public static short nencoding_id(long struct) { return memGetShort(struct + FT_CharMap.ENCODING_ID); } |
Create a {@link FT_CharMap.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
public static FT_CharMap.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_CharMap.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
}
// -----------------------------------
/** Unsafe version of {@link #face}.
public static FT_Face nface(long struct) { return FT_Face.create(memGetAddress(struct + FT_CharMap.FACE)); }
/** Unsafe version of {@link #encoding}.
public static int nencoding(long struct) { return memGetInt(struct + FT_CharMap.ENCODING); }
/** Unsafe version of {@link #platform_id}.
public static short nplatform_id(long struct) { return memGetShort(struct + FT_CharMap.PLATFORM_ID); }
/** Unsafe version of {@link #encoding_id}. | FT_CharMap::nencoding_id | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | BSD-3-Clause |
public FT_Face face() { return FT_CharMap.nface(address()); } |
Creates a new {@code FT_CharMap.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_CharMap#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_CharMap getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return a {@link FT_Face} view of the struct pointed to by the {@code face} field. | Buffer::face | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_CharMap.java | BSD-3-Clause |
public static FT_Alloc_Func create(long functionPointer) {
FT_Alloc_FuncI instance = Callback.get(functionPointer);
return instance instanceof FT_Alloc_Func
? (FT_Alloc_Func)instance
: new Container(functionPointer, instance);
} |
Creates a {@code FT_Alloc_Func} instance from the specified function pointer.
@return the new {@code FT_Alloc_Func}
| FT_Alloc_Func::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Alloc_Func.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Alloc_Func.java | BSD-3-Clause |
public static @Nullable FT_Alloc_Func createSafe(long functionPointer) {
return functionPointer == NULL ? null : create(functionPointer);
} |
Creates a {@code FT_Alloc_Func} instance from the specified function pointer.
@return the new {@code FT_Alloc_Func}
public static FT_Alloc_Func create(long functionPointer) {
FT_Alloc_FuncI instance = Callback.get(functionPointer);
return instance instanceof FT_Alloc_Func
? (FT_Alloc_Func)instance
: new Container(functionPointer, instance);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}. | FT_Alloc_Func::createSafe | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Alloc_Func.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Alloc_Func.java | BSD-3-Clause |
public static FT_Alloc_Func create(FT_Alloc_FuncI instance) {
return instance instanceof FT_Alloc_Func
? (FT_Alloc_Func)instance
: new Container(instance.address(), instance);
} |
Creates a {@code FT_Alloc_Func} instance from the specified function pointer.
@return the new {@code FT_Alloc_Func}
public static FT_Alloc_Func create(long functionPointer) {
FT_Alloc_FuncI instance = Callback.get(functionPointer);
return instance instanceof FT_Alloc_Func
? (FT_Alloc_Func)instance
: new Container(functionPointer, instance);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}.
public static @Nullable FT_Alloc_Func createSafe(long functionPointer) {
return functionPointer == NULL ? null : create(functionPointer);
}
/** Creates a {@code FT_Alloc_Func} instance that delegates to the specified {@code FT_Alloc_FuncI} instance. | FT_Alloc_Func::create | java | LWJGL/lwjgl3 | modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Alloc_Func.java | https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Alloc_Func.java | BSD-3-Clause |
public FT_Face(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
} |
Creates a {@code FT_Face} 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_Face::FT_Face | 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 nbbox(address()); } |
Creates a {@code FT_Face} 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_Face(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code num_faces} field.
@NativeType("FT_Long")
public long num_faces() { return nnum_faces(address()); }
/** @return the value of the {@code face_index} field.
@NativeType("FT_Long")
public long face_index() { return nface_index(address()); }
/** @return the value of the {@code face_flags} field.
@NativeType("FT_Long")
public long face_flags() { return nface_flags(address()); }
/** @return the value of the {@code style_flags} field.
@NativeType("FT_Long")
public long style_flags() { return nstyle_flags(address()); }
/** @return the value of the {@code num_glyphs} field.
@NativeType("FT_Long")
public long num_glyphs() { return 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 nfamily_name(address()); }
/** @return the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public String family_nameString() { return 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 nstyle_name(address()); }
/** @return the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public String style_nameString() { return nstyle_nameString(address()); }
/** @return the value of the {@code num_fixed_sizes} field.
@NativeType("FT_Int")
public int num_fixed_sizes() { return 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 navailable_sizes(address()); }
/** @return the value of the {@code num_charmaps} field.
@NativeType("FT_Int")
public int num_charmaps() { return 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 ncharmaps(address()); }
/** @return a {@link FT_Generic} view of the {@code generic} field.
public FT_Generic generic() { return ngeneric(address()); }
/** @return a {@link FT_BBox} view of the {@code bbox} field. | FT_Face::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 nglyph(address()); } |
Creates a {@code FT_Face} 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_Face(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code num_faces} field.
@NativeType("FT_Long")
public long num_faces() { return nnum_faces(address()); }
/** @return the value of the {@code face_index} field.
@NativeType("FT_Long")
public long face_index() { return nface_index(address()); }
/** @return the value of the {@code face_flags} field.
@NativeType("FT_Long")
public long face_flags() { return nface_flags(address()); }
/** @return the value of the {@code style_flags} field.
@NativeType("FT_Long")
public long style_flags() { return nstyle_flags(address()); }
/** @return the value of the {@code num_glyphs} field.
@NativeType("FT_Long")
public long num_glyphs() { return 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 nfamily_name(address()); }
/** @return the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public String family_nameString() { return 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 nstyle_name(address()); }
/** @return the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public String style_nameString() { return nstyle_nameString(address()); }
/** @return the value of the {@code num_fixed_sizes} field.
@NativeType("FT_Int")
public int num_fixed_sizes() { return 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 navailable_sizes(address()); }
/** @return the value of the {@code num_charmaps} field.
@NativeType("FT_Int")
public int num_charmaps() { return 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 ncharmaps(address()); }
/** @return a {@link FT_Generic} view of the {@code generic} field.
public FT_Generic generic() { return ngeneric(address()); }
/** @return a {@link FT_BBox} view of the {@code bbox} field.
public FT_BBox bbox() { return nbbox(address()); }
/** @return the value of the {@code units_per_EM} field.
@NativeType("FT_UShort")
public short units_per_EM() { return nunits_per_EM(address()); }
/** @return the value of the {@code ascender} field.
@NativeType("FT_Short")
public short ascender() { return nascender(address()); }
/** @return the value of the {@code descender} field.
@NativeType("FT_Short")
public short descender() { return ndescender(address()); }
/** @return the value of the {@code height} field.
@NativeType("FT_Short")
public short height() { return nheight(address()); }
/** @return the value of the {@code max_advance_width} field.
@NativeType("FT_Short")
public short max_advance_width() { return nmax_advance_width(address()); }
/** @return the value of the {@code max_advance_height} field.
@NativeType("FT_Short")
public short max_advance_height() { return nmax_advance_height(address()); }
/** @return the value of the {@code underline_position} field.
@NativeType("FT_Short")
public short underline_position() { return nunderline_position(address()); }
/** @return the value of the {@code underline_thickness} field.
@NativeType("FT_Short")
public short underline_thickness() { return nunderline_thickness(address()); }
/** @return a {@link FT_GlyphSlot} view of the struct pointed to by the {@code glyph} field. | FT_Face::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 nsize(address()); } |
Creates a {@code FT_Face} 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_Face(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code num_faces} field.
@NativeType("FT_Long")
public long num_faces() { return nnum_faces(address()); }
/** @return the value of the {@code face_index} field.
@NativeType("FT_Long")
public long face_index() { return nface_index(address()); }
/** @return the value of the {@code face_flags} field.
@NativeType("FT_Long")
public long face_flags() { return nface_flags(address()); }
/** @return the value of the {@code style_flags} field.
@NativeType("FT_Long")
public long style_flags() { return nstyle_flags(address()); }
/** @return the value of the {@code num_glyphs} field.
@NativeType("FT_Long")
public long num_glyphs() { return 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 nfamily_name(address()); }
/** @return the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public String family_nameString() { return 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 nstyle_name(address()); }
/** @return the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public String style_nameString() { return nstyle_nameString(address()); }
/** @return the value of the {@code num_fixed_sizes} field.
@NativeType("FT_Int")
public int num_fixed_sizes() { return 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 navailable_sizes(address()); }
/** @return the value of the {@code num_charmaps} field.
@NativeType("FT_Int")
public int num_charmaps() { return 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 ncharmaps(address()); }
/** @return a {@link FT_Generic} view of the {@code generic} field.
public FT_Generic generic() { return ngeneric(address()); }
/** @return a {@link FT_BBox} view of the {@code bbox} field.
public FT_BBox bbox() { return nbbox(address()); }
/** @return the value of the {@code units_per_EM} field.
@NativeType("FT_UShort")
public short units_per_EM() { return nunits_per_EM(address()); }
/** @return the value of the {@code ascender} field.
@NativeType("FT_Short")
public short ascender() { return nascender(address()); }
/** @return the value of the {@code descender} field.
@NativeType("FT_Short")
public short descender() { return ndescender(address()); }
/** @return the value of the {@code height} field.
@NativeType("FT_Short")
public short height() { return nheight(address()); }
/** @return the value of the {@code max_advance_width} field.
@NativeType("FT_Short")
public short max_advance_width() { return nmax_advance_width(address()); }
/** @return the value of the {@code max_advance_height} field.
@NativeType("FT_Short")
public short max_advance_height() { return nmax_advance_height(address()); }
/** @return the value of the {@code underline_position} field.
@NativeType("FT_Short")
public short underline_position() { return nunderline_position(address()); }
/** @return the value of the {@code underline_thickness} field.
@NativeType("FT_Short")
public short underline_thickness() { return 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 nglyph(address()); }
/** @return a {@link FT_Size} view of the struct pointed to by the {@code size} field. | FT_Face::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 ncharmap(address()); } |
Creates a {@code FT_Face} 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_Face(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code num_faces} field.
@NativeType("FT_Long")
public long num_faces() { return nnum_faces(address()); }
/** @return the value of the {@code face_index} field.
@NativeType("FT_Long")
public long face_index() { return nface_index(address()); }
/** @return the value of the {@code face_flags} field.
@NativeType("FT_Long")
public long face_flags() { return nface_flags(address()); }
/** @return the value of the {@code style_flags} field.
@NativeType("FT_Long")
public long style_flags() { return nstyle_flags(address()); }
/** @return the value of the {@code num_glyphs} field.
@NativeType("FT_Long")
public long num_glyphs() { return 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 nfamily_name(address()); }
/** @return the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public String family_nameString() { return 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 nstyle_name(address()); }
/** @return the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public String style_nameString() { return nstyle_nameString(address()); }
/** @return the value of the {@code num_fixed_sizes} field.
@NativeType("FT_Int")
public int num_fixed_sizes() { return 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 navailable_sizes(address()); }
/** @return the value of the {@code num_charmaps} field.
@NativeType("FT_Int")
public int num_charmaps() { return 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 ncharmaps(address()); }
/** @return a {@link FT_Generic} view of the {@code generic} field.
public FT_Generic generic() { return ngeneric(address()); }
/** @return a {@link FT_BBox} view of the {@code bbox} field.
public FT_BBox bbox() { return nbbox(address()); }
/** @return the value of the {@code units_per_EM} field.
@NativeType("FT_UShort")
public short units_per_EM() { return nunits_per_EM(address()); }
/** @return the value of the {@code ascender} field.
@NativeType("FT_Short")
public short ascender() { return nascender(address()); }
/** @return the value of the {@code descender} field.
@NativeType("FT_Short")
public short descender() { return ndescender(address()); }
/** @return the value of the {@code height} field.
@NativeType("FT_Short")
public short height() { return nheight(address()); }
/** @return the value of the {@code max_advance_width} field.
@NativeType("FT_Short")
public short max_advance_width() { return nmax_advance_width(address()); }
/** @return the value of the {@code max_advance_height} field.
@NativeType("FT_Short")
public short max_advance_height() { return nmax_advance_height(address()); }
/** @return the value of the {@code underline_position} field.
@NativeType("FT_Short")
public short underline_position() { return nunderline_position(address()); }
/** @return the value of the {@code underline_thickness} field.
@NativeType("FT_Short")
public short underline_thickness() { return 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 nglyph(address()); }
/** @return a {@link FT_Size} view of the struct pointed to by the {@code size} field.
public @Nullable FT_Size size() { return nsize(address()); }
/** @return a {@link FT_CharMap} view of the struct pointed to by the {@code charmap} field. | FT_Face::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 static FT_Face create(long address) {
return new FT_Face(address, null);
} |
Creates a {@code FT_Face} 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_Face(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code num_faces} field.
@NativeType("FT_Long")
public long num_faces() { return nnum_faces(address()); }
/** @return the value of the {@code face_index} field.
@NativeType("FT_Long")
public long face_index() { return nface_index(address()); }
/** @return the value of the {@code face_flags} field.
@NativeType("FT_Long")
public long face_flags() { return nface_flags(address()); }
/** @return the value of the {@code style_flags} field.
@NativeType("FT_Long")
public long style_flags() { return nstyle_flags(address()); }
/** @return the value of the {@code num_glyphs} field.
@NativeType("FT_Long")
public long num_glyphs() { return 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 nfamily_name(address()); }
/** @return the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public String family_nameString() { return 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 nstyle_name(address()); }
/** @return the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public String style_nameString() { return nstyle_nameString(address()); }
/** @return the value of the {@code num_fixed_sizes} field.
@NativeType("FT_Int")
public int num_fixed_sizes() { return 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 navailable_sizes(address()); }
/** @return the value of the {@code num_charmaps} field.
@NativeType("FT_Int")
public int num_charmaps() { return 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 ncharmaps(address()); }
/** @return a {@link FT_Generic} view of the {@code generic} field.
public FT_Generic generic() { return ngeneric(address()); }
/** @return a {@link FT_BBox} view of the {@code bbox} field.
public FT_BBox bbox() { return nbbox(address()); }
/** @return the value of the {@code units_per_EM} field.
@NativeType("FT_UShort")
public short units_per_EM() { return nunits_per_EM(address()); }
/** @return the value of the {@code ascender} field.
@NativeType("FT_Short")
public short ascender() { return nascender(address()); }
/** @return the value of the {@code descender} field.
@NativeType("FT_Short")
public short descender() { return ndescender(address()); }
/** @return the value of the {@code height} field.
@NativeType("FT_Short")
public short height() { return nheight(address()); }
/** @return the value of the {@code max_advance_width} field.
@NativeType("FT_Short")
public short max_advance_width() { return nmax_advance_width(address()); }
/** @return the value of the {@code max_advance_height} field.
@NativeType("FT_Short")
public short max_advance_height() { return nmax_advance_height(address()); }
/** @return the value of the {@code underline_position} field.
@NativeType("FT_Short")
public short underline_position() { return nunderline_position(address()); }
/** @return the value of the {@code underline_thickness} field.
@NativeType("FT_Short")
public short underline_thickness() { return 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 nglyph(address()); }
/** @return a {@link FT_Size} view of the struct pointed to by the {@code size} field.
public @Nullable FT_Size size() { return nsize(address()); }
/** @return a {@link FT_CharMap} view of the struct pointed to by the {@code charmap} field.
public @Nullable FT_CharMap charmap() { return ncharmap(address()); }
// -----------------------------------
/** Returns a new {@code FT_Face} instance for the specified memory address. | FT_Face::create | 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_Face createSafe(long address) {
return address == NULL ? null : new FT_Face(address, null);
} |
Creates a {@code FT_Face} 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_Face(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** @return the value of the {@code num_faces} field.
@NativeType("FT_Long")
public long num_faces() { return nnum_faces(address()); }
/** @return the value of the {@code face_index} field.
@NativeType("FT_Long")
public long face_index() { return nface_index(address()); }
/** @return the value of the {@code face_flags} field.
@NativeType("FT_Long")
public long face_flags() { return nface_flags(address()); }
/** @return the value of the {@code style_flags} field.
@NativeType("FT_Long")
public long style_flags() { return nstyle_flags(address()); }
/** @return the value of the {@code num_glyphs} field.
@NativeType("FT_Long")
public long num_glyphs() { return 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 nfamily_name(address()); }
/** @return the null-terminated string pointed to by the {@code family_name} field.
@NativeType("FT_String *")
public String family_nameString() { return 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 nstyle_name(address()); }
/** @return the null-terminated string pointed to by the {@code style_name} field.
@NativeType("FT_String *")
public String style_nameString() { return nstyle_nameString(address()); }
/** @return the value of the {@code num_fixed_sizes} field.
@NativeType("FT_Int")
public int num_fixed_sizes() { return 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 navailable_sizes(address()); }
/** @return the value of the {@code num_charmaps} field.
@NativeType("FT_Int")
public int num_charmaps() { return 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 ncharmaps(address()); }
/** @return a {@link FT_Generic} view of the {@code generic} field.
public FT_Generic generic() { return ngeneric(address()); }
/** @return a {@link FT_BBox} view of the {@code bbox} field.
public FT_BBox bbox() { return nbbox(address()); }
/** @return the value of the {@code units_per_EM} field.
@NativeType("FT_UShort")
public short units_per_EM() { return nunits_per_EM(address()); }
/** @return the value of the {@code ascender} field.
@NativeType("FT_Short")
public short ascender() { return nascender(address()); }
/** @return the value of the {@code descender} field.
@NativeType("FT_Short")
public short descender() { return ndescender(address()); }
/** @return the value of the {@code height} field.
@NativeType("FT_Short")
public short height() { return nheight(address()); }
/** @return the value of the {@code max_advance_width} field.
@NativeType("FT_Short")
public short max_advance_width() { return nmax_advance_width(address()); }
/** @return the value of the {@code max_advance_height} field.
@NativeType("FT_Short")
public short max_advance_height() { return nmax_advance_height(address()); }
/** @return the value of the {@code underline_position} field.
@NativeType("FT_Short")
public short underline_position() { return nunderline_position(address()); }
/** @return the value of the {@code underline_thickness} field.
@NativeType("FT_Short")
public short underline_thickness() { return 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 nglyph(address()); }
/** @return a {@link FT_Size} view of the struct pointed to by the {@code size} field.
public @Nullable FT_Size size() { return nsize(address()); }
/** @return a {@link FT_CharMap} view of the struct pointed to by the {@code charmap} field.
public @Nullable FT_CharMap charmap() { return ncharmap(address()); }
// -----------------------------------
/** Returns a new {@code FT_Face} instance for the specified memory address.
public static FT_Face create(long address) {
return new FT_Face(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. | FT_Face::createSafe | 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_Face.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
} |
Create a {@link FT_Face.Buffer} instance at the specified memory.
@param address the memory address
@param capacity the buffer capacity
| FT_Face::create | 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_Face.@Nullable Buffer createSafe(long address, int capacity) {
return address == NULL ? null : new Buffer(address, capacity);
} |
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}. | FT_Face::createSafe | 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 long nnum_faces(long struct) { return memGetCLong(struct + FT_Face.NUM_FACES); } |
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}. | FT_Face::nnum_faces | 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 long nface_index(long struct) { return memGetCLong(struct + FT_Face.FACE_INDEX); } |
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}. | FT_Face::nface_index | 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 long nface_flags(long struct) { return memGetCLong(struct + FT_Face.FACE_FLAGS); } |
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}. | FT_Face::nface_flags | 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 long nstyle_flags(long struct) { return memGetCLong(struct + FT_Face.STYLE_FLAGS); } |
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}. | FT_Face::nstyle_flags | 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 long nnum_glyphs(long struct) { return memGetCLong(struct + FT_Face.NUM_GLYPHS); } |
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}. | FT_Face::nnum_glyphs | 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 ByteBuffer nfamily_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.FAMILY_NAME)); } |
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}. | FT_Face::nfamily_name | 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 String nfamily_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.FAMILY_NAME)); } |
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}. | FT_Face::nfamily_nameString | 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 ByteBuffer nstyle_name(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Face.STYLE_NAME)); } |
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}. | FT_Face::nstyle_name | 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 String nstyle_nameString(long struct) { return memUTF8(memGetAddress(struct + FT_Face.STYLE_NAME)); } |
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}. | FT_Face::nstyle_nameString | 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 int nnum_fixed_sizes(long struct) { return memGetInt(struct + FT_Face.NUM_FIXED_SIZES); } |
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}. | FT_Face::nnum_fixed_sizes | 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_Bitmap_Size.@Nullable Buffer navailable_sizes(long struct) { return FT_Bitmap_Size.createSafe(memGetAddress(struct + FT_Face.AVAILABLE_SIZES), nnum_fixed_sizes(struct)); } |
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}. | FT_Face::navailable_sizes | 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 int nnum_charmaps(long struct) { return memGetInt(struct + FT_Face.NUM_CHARMAPS); } |
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}. | FT_Face::nnum_charmaps | 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 PointerBuffer ncharmaps(long struct) { return memPointerBuffer(memGetAddress(struct + FT_Face.CHARMAPS), nnum_charmaps(struct)); } |
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}. | FT_Face::ncharmaps | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.