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 long nhoriAdvance(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HORIADVANCE); }
Create a {@link FT_Glyph_Metrics.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Glyph_Metrics.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Glyph_Metrics.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #width}. public static long nwidth(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.WIDTH); } /** Unsafe version of {@link #height}. public static long nheight(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HEIGHT); } /** Unsafe version of {@link #horiBearingX}. public static long nhoriBearingX(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HORIBEARINGX); } /** Unsafe version of {@link #horiBearingY}. public static long nhoriBearingY(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HORIBEARINGY); } /** Unsafe version of {@link #horiAdvance}.
FT_Glyph_Metrics::nhoriAdvance
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph_Metrics.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph_Metrics.java
BSD-3-Clause
public static long nvertBearingX(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.VERTBEARINGX); }
Create a {@link FT_Glyph_Metrics.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Glyph_Metrics.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Glyph_Metrics.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #width}. public static long nwidth(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.WIDTH); } /** Unsafe version of {@link #height}. public static long nheight(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HEIGHT); } /** Unsafe version of {@link #horiBearingX}. public static long nhoriBearingX(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HORIBEARINGX); } /** Unsafe version of {@link #horiBearingY}. public static long nhoriBearingY(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HORIBEARINGY); } /** Unsafe version of {@link #horiAdvance}. public static long nhoriAdvance(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HORIADVANCE); } /** Unsafe version of {@link #vertBearingX}.
FT_Glyph_Metrics::nvertBearingX
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph_Metrics.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph_Metrics.java
BSD-3-Clause
public static long nvertBearingY(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.VERTBEARINGY); }
Create a {@link FT_Glyph_Metrics.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Glyph_Metrics.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Glyph_Metrics.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #width}. public static long nwidth(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.WIDTH); } /** Unsafe version of {@link #height}. public static long nheight(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HEIGHT); } /** Unsafe version of {@link #horiBearingX}. public static long nhoriBearingX(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HORIBEARINGX); } /** Unsafe version of {@link #horiBearingY}. public static long nhoriBearingY(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HORIBEARINGY); } /** Unsafe version of {@link #horiAdvance}. public static long nhoriAdvance(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HORIADVANCE); } /** Unsafe version of {@link #vertBearingX}. public static long nvertBearingX(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.VERTBEARINGX); } /** Unsafe version of {@link #vertBearingY}.
FT_Glyph_Metrics::nvertBearingY
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph_Metrics.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph_Metrics.java
BSD-3-Clause
public static long nvertAdvance(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.VERTADVANCE); }
Create a {@link FT_Glyph_Metrics.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Glyph_Metrics.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Glyph_Metrics.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #width}. public static long nwidth(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.WIDTH); } /** Unsafe version of {@link #height}. public static long nheight(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HEIGHT); } /** Unsafe version of {@link #horiBearingX}. public static long nhoriBearingX(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HORIBEARINGX); } /** Unsafe version of {@link #horiBearingY}. public static long nhoriBearingY(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HORIBEARINGY); } /** Unsafe version of {@link #horiAdvance}. public static long nhoriAdvance(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.HORIADVANCE); } /** Unsafe version of {@link #vertBearingX}. public static long nvertBearingX(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.VERTBEARINGX); } /** Unsafe version of {@link #vertBearingY}. public static long nvertBearingY(long struct) { return memGetCLong(struct + FT_Glyph_Metrics.VERTBEARINGY); } /** Unsafe version of {@link #vertAdvance}.
FT_Glyph_Metrics::nvertAdvance
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph_Metrics.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Glyph_Metrics.java
BSD-3-Clause
public FT_ColorStop(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_ColorStop} 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_ColorStop::FT_ColorStop
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static FT_ColorStop malloc() { return new FT_ColorStop(nmemAllocChecked(SIZEOF), null); }
Creates a {@code FT_ColorStop} 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_ColorStop(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code stop_offset} field. @NativeType("FT_Fixed") public long stop_offset() { return nstop_offset(address()); } /** @return a {@link FT_ColorIndex} view of the {@code color} field. public FT_ColorIndex color() { return ncolor(address()); } // ----------------------------------- /** Returns a new {@code FT_ColorStop} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
FT_ColorStop::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static FT_ColorStop calloc() { return new FT_ColorStop(nmemCallocChecked(1, SIZEOF), null); }
Creates a {@code FT_ColorStop} 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_ColorStop(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code stop_offset} field. @NativeType("FT_Fixed") public long stop_offset() { return nstop_offset(address()); } /** @return a {@link FT_ColorIndex} view of the {@code color} field. public FT_ColorIndex color() { return ncolor(address()); } // ----------------------------------- /** Returns a new {@code FT_ColorStop} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_ColorStop malloc() { return new FT_ColorStop(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_ColorStop} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
FT_ColorStop::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static FT_ColorStop create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_ColorStop(memAddress(container), container); }
Creates a {@code FT_ColorStop} 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_ColorStop(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code stop_offset} field. @NativeType("FT_Fixed") public long stop_offset() { return nstop_offset(address()); } /** @return a {@link FT_ColorIndex} view of the {@code color} field. public FT_ColorIndex color() { return ncolor(address()); } // ----------------------------------- /** Returns a new {@code FT_ColorStop} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_ColorStop malloc() { return new FT_ColorStop(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_ColorStop} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_ColorStop calloc() { return new FT_ColorStop(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_ColorStop} instance allocated with {@link BufferUtils}.
FT_ColorStop::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static FT_ColorStop create(long address) { return new FT_ColorStop(address, null); }
Creates a {@code FT_ColorStop} 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_ColorStop(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code stop_offset} field. @NativeType("FT_Fixed") public long stop_offset() { return nstop_offset(address()); } /** @return a {@link FT_ColorIndex} view of the {@code color} field. public FT_ColorIndex color() { return ncolor(address()); } // ----------------------------------- /** Returns a new {@code FT_ColorStop} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_ColorStop malloc() { return new FT_ColorStop(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_ColorStop} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_ColorStop calloc() { return new FT_ColorStop(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_ColorStop} instance allocated with {@link BufferUtils}. public static FT_ColorStop create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_ColorStop(memAddress(container), container); } /** Returns a new {@code FT_ColorStop} instance for the specified memory address.
FT_ColorStop::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static @Nullable FT_ColorStop createSafe(long address) { return address == NULL ? null : new FT_ColorStop(address, null); }
Creates a {@code FT_ColorStop} 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_ColorStop(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code stop_offset} field. @NativeType("FT_Fixed") public long stop_offset() { return nstop_offset(address()); } /** @return a {@link FT_ColorIndex} view of the {@code color} field. public FT_ColorIndex color() { return ncolor(address()); } // ----------------------------------- /** Returns a new {@code FT_ColorStop} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. public static FT_ColorStop malloc() { return new FT_ColorStop(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code FT_ColorStop} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. public static FT_ColorStop calloc() { return new FT_ColorStop(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code FT_ColorStop} instance allocated with {@link BufferUtils}. public static FT_ColorStop create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new FT_ColorStop(memAddress(container), container); } /** Returns a new {@code FT_ColorStop} instance for the specified memory address. public static FT_ColorStop create(long address) { return new FT_ColorStop(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_ColorStop::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static FT_ColorStop.Buffer malloc(int capacity) { return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity); }
Returns a new {@link FT_ColorStop.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. @param capacity the buffer capacity
FT_ColorStop::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static FT_ColorStop.Buffer calloc(int capacity) { return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity); }
Returns a new {@link FT_ColorStop.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. @param capacity the buffer capacity
FT_ColorStop::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static FT_ColorStop.Buffer create(int capacity) { ByteBuffer container = __create(capacity, SIZEOF); return new Buffer(memAddress(container), container, -1, 0, capacity, capacity); }
Returns a new {@link FT_ColorStop.Buffer} instance allocated with {@link BufferUtils}. @param capacity the buffer capacity
FT_ColorStop::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static FT_ColorStop.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_ColorStop.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_ColorStop::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static FT_ColorStop.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_ColorStop.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_ColorStop.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_ColorStop::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static FT_ColorStop malloc(MemoryStack stack) { return new FT_ColorStop(stack.nmalloc(ALIGNOF, SIZEOF), null); }
Returns a new {@code FT_ColorStop} instance allocated on the specified {@link MemoryStack}. @param stack the stack from which to allocate
FT_ColorStop::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static FT_ColorStop calloc(MemoryStack stack) { return new FT_ColorStop(stack.ncalloc(ALIGNOF, 1, SIZEOF), null); }
Returns a new {@code FT_ColorStop} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. @param stack the stack from which to allocate
FT_ColorStop::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static FT_ColorStop.Buffer malloc(int capacity, MemoryStack stack) { return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity); }
Returns a new {@link FT_ColorStop.Buffer} instance allocated on the specified {@link MemoryStack}. @param stack the stack from which to allocate @param capacity the buffer capacity
FT_ColorStop::malloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static FT_ColorStop.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); }
Returns a new {@link FT_ColorStop.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_ColorStop::calloc
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static long nstop_offset(long struct) { return memGetCLong(struct + FT_ColorStop.STOP_OFFSET); }
Returns a new {@link FT_ColorStop.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_ColorStop.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #stop_offset}.
FT_ColorStop::nstop_offset
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public static FT_ColorIndex ncolor(long struct) { return FT_ColorIndex.create(struct + FT_ColorStop.COLOR); }
Returns a new {@link FT_ColorStop.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_ColorStop.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** Unsafe version of {@link #stop_offset}. public static long nstop_offset(long struct) { return memGetCLong(struct + FT_ColorStop.STOP_OFFSET); } /** Unsafe version of {@link #color}.
FT_ColorStop::ncolor
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public FT_ColorIndex color() { return FT_ColorStop.ncolor(address()); }
Creates a new {@code FT_ColorStop.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_ColorStop#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_ColorStop getElementFactory() { return ELEMENT_FACTORY; } /** @return the value of the {@code stop_offset} field. @NativeType("FT_Fixed") public long stop_offset() { return FT_ColorStop.nstop_offset(address()); } /** @return a {@link FT_ColorIndex} view of the {@code color} field.
Buffer::color
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ColorStop.java
BSD-3-Clause
public FT_OutlineGlyph(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_OutlineGlyph} 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_OutlineGlyph::FT_OutlineGlyph
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
BSD-3-Clause
public static FT_OutlineGlyph create(long address) { return new FT_OutlineGlyph(address, null); }
Creates a {@code FT_OutlineGlyph} 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_OutlineGlyph(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_Glyph} view of the {@code root} field. @NativeType("FT_GlyphRec") public FT_Glyph root() { return nroot(address()); } /** @return a {@link FT_Outline} view of the {@code outline} field. public FT_Outline outline() { return noutline(address()); } // ----------------------------------- /** Returns a new {@code FT_OutlineGlyph} instance for the specified memory address.
FT_OutlineGlyph::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
BSD-3-Clause
public static @Nullable FT_OutlineGlyph createSafe(long address) { return address == NULL ? null : new FT_OutlineGlyph(address, null); }
Creates a {@code FT_OutlineGlyph} 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_OutlineGlyph(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_Glyph} view of the {@code root} field. @NativeType("FT_GlyphRec") public FT_Glyph root() { return nroot(address()); } /** @return a {@link FT_Outline} view of the {@code outline} field. public FT_Outline outline() { return noutline(address()); } // ----------------------------------- /** Returns a new {@code FT_OutlineGlyph} instance for the specified memory address. public static FT_OutlineGlyph create(long address) { return new FT_OutlineGlyph(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_OutlineGlyph::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
BSD-3-Clause
public static FT_OutlineGlyph.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_OutlineGlyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_OutlineGlyph::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
BSD-3-Clause
public static FT_OutlineGlyph.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_OutlineGlyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_OutlineGlyph.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_OutlineGlyph::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
BSD-3-Clause
public static FT_Glyph nroot(long struct) { return FT_Glyph.create(struct + FT_OutlineGlyph.ROOT); }
Create a {@link FT_OutlineGlyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_OutlineGlyph.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_OutlineGlyph.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #root}.
FT_OutlineGlyph::nroot
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
BSD-3-Clause
public static FT_Outline noutline(long struct) { return FT_Outline.create(struct + FT_OutlineGlyph.OUTLINE); }
Create a {@link FT_OutlineGlyph.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_OutlineGlyph.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_OutlineGlyph.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #root}. public static FT_Glyph nroot(long struct) { return FT_Glyph.create(struct + FT_OutlineGlyph.ROOT); } /** Unsafe version of {@link #outline}.
FT_OutlineGlyph::noutline
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
BSD-3-Clause
public FT_Outline outline() { return FT_OutlineGlyph.noutline(address()); }
Creates a new {@code FT_OutlineGlyph.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_OutlineGlyph#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_OutlineGlyph getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link FT_Glyph} view of the {@code root} field. @NativeType("FT_GlyphRec") public FT_Glyph root() { return FT_OutlineGlyph.nroot(address()); } /** @return a {@link FT_Outline} view of the {@code outline} field.
Buffer::outline
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_OutlineGlyph.java
BSD-3-Clause
public static FT_Stream_IoFunc create(long functionPointer) { FT_Stream_IoFuncI instance = Callback.get(functionPointer); return instance instanceof FT_Stream_IoFunc ? (FT_Stream_IoFunc)instance : new Container(functionPointer, instance); }
Creates a {@code FT_Stream_IoFunc} instance from the specified function pointer. @return the new {@code FT_Stream_IoFunc}
FT_Stream_IoFunc::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream_IoFunc.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream_IoFunc.java
BSD-3-Clause
public static @Nullable FT_Stream_IoFunc createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); }
Creates a {@code FT_Stream_IoFunc} instance from the specified function pointer. @return the new {@code FT_Stream_IoFunc} public static FT_Stream_IoFunc create(long functionPointer) { FT_Stream_IoFuncI instance = Callback.get(functionPointer); return instance instanceof FT_Stream_IoFunc ? (FT_Stream_IoFunc)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}.
FT_Stream_IoFunc::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream_IoFunc.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream_IoFunc.java
BSD-3-Clause
public static FT_Stream_IoFunc create(FT_Stream_IoFuncI instance) { return instance instanceof FT_Stream_IoFunc ? (FT_Stream_IoFunc)instance : new Container(instance.address(), instance); }
Creates a {@code FT_Stream_IoFunc} instance from the specified function pointer. @return the new {@code FT_Stream_IoFunc} public static FT_Stream_IoFunc create(long functionPointer) { FT_Stream_IoFuncI instance = Callback.get(functionPointer); return instance instanceof FT_Stream_IoFunc ? (FT_Stream_IoFunc)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}. public static @Nullable FT_Stream_IoFunc createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); } /** Creates a {@code FT_Stream_IoFunc} instance that delegates to the specified {@code FT_Stream_IoFuncI} instance.
FT_Stream_IoFunc::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream_IoFunc.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Stream_IoFunc.java
BSD-3-Clause
public static FT_Module_Destructor create(long functionPointer) { FT_Module_DestructorI instance = Callback.get(functionPointer); return instance instanceof FT_Module_Destructor ? (FT_Module_Destructor)instance : new Container(functionPointer, instance); }
Creates a {@code FT_Module_Destructor} instance from the specified function pointer. @return the new {@code FT_Module_Destructor}
FT_Module_Destructor::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Destructor.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Destructor.java
BSD-3-Clause
public static @Nullable FT_Module_Destructor createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); }
Creates a {@code FT_Module_Destructor} instance from the specified function pointer. @return the new {@code FT_Module_Destructor} public static FT_Module_Destructor create(long functionPointer) { FT_Module_DestructorI instance = Callback.get(functionPointer); return instance instanceof FT_Module_Destructor ? (FT_Module_Destructor)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}.
FT_Module_Destructor::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Destructor.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Destructor.java
BSD-3-Clause
public static FT_Module_Destructor create(FT_Module_DestructorI instance) { return instance instanceof FT_Module_Destructor ? (FT_Module_Destructor)instance : new Container(instance.address(), instance); }
Creates a {@code FT_Module_Destructor} instance from the specified function pointer. @return the new {@code FT_Module_Destructor} public static FT_Module_Destructor create(long functionPointer) { FT_Module_DestructorI instance = Callback.get(functionPointer); return instance instanceof FT_Module_Destructor ? (FT_Module_Destructor)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}. public static @Nullable FT_Module_Destructor createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); } /** Creates a {@code FT_Module_Destructor} instance that delegates to the specified {@code FT_Module_DestructorI} instance.
FT_Module_Destructor::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Destructor.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Module_Destructor.java
BSD-3-Clause
public FT_Var_Axis(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_Var_Axis} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p>
FT_Var_Axis::FT_Var_Axis
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
BSD-3-Clause
public static FT_Var_Axis create(long address) { return new FT_Var_Axis(address, null); }
Creates a {@code FT_Var_Axis} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Var_Axis(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code name} field. @NativeType("FT_String *") public ByteBuffer name() { return nname(address()); } /** @return the null-terminated string pointed to by the {@code name} field. @NativeType("FT_String *") public String nameString() { return nnameString(address()); } /** @return the value of the {@code minimum} field. @NativeType("FT_Fixed") public long minimum() { return nminimum(address()); } /** @return the value of the {@code def} field. @NativeType("FT_Fixed") public long def() { return ndef(address()); } /** @return the value of the {@code maximum} field. @NativeType("FT_Fixed") public long maximum() { return nmaximum(address()); } /** @return the value of the {@code tag} field. @NativeType("FT_ULong") public long tag() { return ntag(address()); } /** @return the value of the {@code strid} field. @NativeType("FT_UInt") public int strid() { return nstrid(address()); } // ----------------------------------- /** Returns a new {@code FT_Var_Axis} instance for the specified memory address.
FT_Var_Axis::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
BSD-3-Clause
public static @Nullable FT_Var_Axis createSafe(long address) { return address == NULL ? null : new FT_Var_Axis(address, null); }
Creates a {@code FT_Var_Axis} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be visible to the struct instance and vice versa. <p>The created instance holds a strong reference to the container object.</p> public FT_Var_Axis(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link ByteBuffer} view of the null-terminated string pointed to by the {@code name} field. @NativeType("FT_String *") public ByteBuffer name() { return nname(address()); } /** @return the null-terminated string pointed to by the {@code name} field. @NativeType("FT_String *") public String nameString() { return nnameString(address()); } /** @return the value of the {@code minimum} field. @NativeType("FT_Fixed") public long minimum() { return nminimum(address()); } /** @return the value of the {@code def} field. @NativeType("FT_Fixed") public long def() { return ndef(address()); } /** @return the value of the {@code maximum} field. @NativeType("FT_Fixed") public long maximum() { return nmaximum(address()); } /** @return the value of the {@code tag} field. @NativeType("FT_ULong") public long tag() { return ntag(address()); } /** @return the value of the {@code strid} field. @NativeType("FT_UInt") public int strid() { return nstrid(address()); } // ----------------------------------- /** Returns a new {@code FT_Var_Axis} instance for the specified memory address. public static FT_Var_Axis create(long address) { return new FT_Var_Axis(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_Var_Axis::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
BSD-3-Clause
public static FT_Var_Axis.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_Var_Axis.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_Var_Axis::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
BSD-3-Clause
public static FT_Var_Axis.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_Var_Axis.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Var_Axis.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_Var_Axis::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
BSD-3-Clause
public static ByteBuffer nname(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Var_Axis.NAME)); }
Create a {@link FT_Var_Axis.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Var_Axis.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Var_Axis.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #name}.
FT_Var_Axis::nname
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
BSD-3-Clause
public static String nnameString(long struct) { return memUTF8(memGetAddress(struct + FT_Var_Axis.NAME)); }
Create a {@link FT_Var_Axis.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Var_Axis.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Var_Axis.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #name}. public static ByteBuffer nname(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Var_Axis.NAME)); } /** Unsafe version of {@link #nameString}.
FT_Var_Axis::nnameString
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
BSD-3-Clause
public static long nminimum(long struct) { return memGetCLong(struct + FT_Var_Axis.MINIMUM); }
Create a {@link FT_Var_Axis.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Var_Axis.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Var_Axis.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #name}. public static ByteBuffer nname(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Var_Axis.NAME)); } /** Unsafe version of {@link #nameString}. public static String nnameString(long struct) { return memUTF8(memGetAddress(struct + FT_Var_Axis.NAME)); } /** Unsafe version of {@link #minimum}.
FT_Var_Axis::nminimum
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
BSD-3-Clause
public static long ndef(long struct) { return memGetCLong(struct + FT_Var_Axis.DEF); }
Create a {@link FT_Var_Axis.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Var_Axis.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Var_Axis.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #name}. public static ByteBuffer nname(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Var_Axis.NAME)); } /** Unsafe version of {@link #nameString}. public static String nnameString(long struct) { return memUTF8(memGetAddress(struct + FT_Var_Axis.NAME)); } /** Unsafe version of {@link #minimum}. public static long nminimum(long struct) { return memGetCLong(struct + FT_Var_Axis.MINIMUM); } /** Unsafe version of {@link #def}.
FT_Var_Axis::ndef
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
BSD-3-Clause
public static long nmaximum(long struct) { return memGetCLong(struct + FT_Var_Axis.MAXIMUM); }
Create a {@link FT_Var_Axis.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Var_Axis.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Var_Axis.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #name}. public static ByteBuffer nname(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Var_Axis.NAME)); } /** Unsafe version of {@link #nameString}. public static String nnameString(long struct) { return memUTF8(memGetAddress(struct + FT_Var_Axis.NAME)); } /** Unsafe version of {@link #minimum}. public static long nminimum(long struct) { return memGetCLong(struct + FT_Var_Axis.MINIMUM); } /** Unsafe version of {@link #def}. public static long ndef(long struct) { return memGetCLong(struct + FT_Var_Axis.DEF); } /** Unsafe version of {@link #maximum}.
FT_Var_Axis::nmaximum
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
BSD-3-Clause
public static long ntag(long struct) { return memGetCLong(struct + FT_Var_Axis.TAG); }
Create a {@link FT_Var_Axis.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Var_Axis.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Var_Axis.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #name}. public static ByteBuffer nname(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Var_Axis.NAME)); } /** Unsafe version of {@link #nameString}. public static String nnameString(long struct) { return memUTF8(memGetAddress(struct + FT_Var_Axis.NAME)); } /** Unsafe version of {@link #minimum}. public static long nminimum(long struct) { return memGetCLong(struct + FT_Var_Axis.MINIMUM); } /** Unsafe version of {@link #def}. public static long ndef(long struct) { return memGetCLong(struct + FT_Var_Axis.DEF); } /** Unsafe version of {@link #maximum}. public static long nmaximum(long struct) { return memGetCLong(struct + FT_Var_Axis.MAXIMUM); } /** Unsafe version of {@link #tag}.
FT_Var_Axis::ntag
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
BSD-3-Clause
public static int nstrid(long struct) { return memGetInt(struct + FT_Var_Axis.STRID); }
Create a {@link FT_Var_Axis.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Var_Axis.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. public static FT_Var_Axis.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #name}. public static ByteBuffer nname(long struct) { return memByteBufferNT1(memGetAddress(struct + FT_Var_Axis.NAME)); } /** Unsafe version of {@link #nameString}. public static String nnameString(long struct) { return memUTF8(memGetAddress(struct + FT_Var_Axis.NAME)); } /** Unsafe version of {@link #minimum}. public static long nminimum(long struct) { return memGetCLong(struct + FT_Var_Axis.MINIMUM); } /** Unsafe version of {@link #def}. public static long ndef(long struct) { return memGetCLong(struct + FT_Var_Axis.DEF); } /** Unsafe version of {@link #maximum}. public static long nmaximum(long struct) { return memGetCLong(struct + FT_Var_Axis.MAXIMUM); } /** Unsafe version of {@link #tag}. public static long ntag(long struct) { return memGetCLong(struct + FT_Var_Axis.TAG); } /** Unsafe version of {@link #strid}.
FT_Var_Axis::nstrid
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Var_Axis.java
BSD-3-Clause
public FT_PaintLinearGradient(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_PaintLinearGradient} 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_PaintLinearGradient::FT_PaintLinearGradient
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public FT_ColorLine colorline() { return ncolorline(address()); }
Creates a {@code FT_PaintLinearGradient} 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_PaintLinearGradient(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field.
FT_PaintLinearGradient::colorline
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public FT_Vector p0() { return np0(address()); }
Creates a {@code FT_PaintLinearGradient} 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_PaintLinearGradient(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field. public FT_ColorLine colorline() { return ncolorline(address()); } /** @return a {@link FT_Vector} view of the {@code p0} field.
FT_PaintLinearGradient::p0
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public FT_Vector p1() { return np1(address()); }
Creates a {@code FT_PaintLinearGradient} 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_PaintLinearGradient(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field. public FT_ColorLine colorline() { return ncolorline(address()); } /** @return a {@link FT_Vector} view of the {@code p0} field. public FT_Vector p0() { return np0(address()); } /** @return a {@link FT_Vector} view of the {@code p1} field.
FT_PaintLinearGradient::p1
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public FT_Vector p2() { return np2(address()); }
Creates a {@code FT_PaintLinearGradient} 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_PaintLinearGradient(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field. public FT_ColorLine colorline() { return ncolorline(address()); } /** @return a {@link FT_Vector} view of the {@code p0} field. public FT_Vector p0() { return np0(address()); } /** @return a {@link FT_Vector} view of the {@code p1} field. public FT_Vector p1() { return np1(address()); } /** @return a {@link FT_Vector} view of the {@code p2} field.
FT_PaintLinearGradient::p2
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public static FT_PaintLinearGradient create(long address) { return new FT_PaintLinearGradient(address, null); }
Creates a {@code FT_PaintLinearGradient} 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_PaintLinearGradient(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field. public FT_ColorLine colorline() { return ncolorline(address()); } /** @return a {@link FT_Vector} view of the {@code p0} field. public FT_Vector p0() { return np0(address()); } /** @return a {@link FT_Vector} view of the {@code p1} field. public FT_Vector p1() { return np1(address()); } /** @return a {@link FT_Vector} view of the {@code p2} field. public FT_Vector p2() { return np2(address()); } // ----------------------------------- /** Returns a new {@code FT_PaintLinearGradient} instance for the specified memory address.
FT_PaintLinearGradient::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public static @Nullable FT_PaintLinearGradient createSafe(long address) { return address == NULL ? null : new FT_PaintLinearGradient(address, null); }
Creates a {@code FT_PaintLinearGradient} 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_PaintLinearGradient(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field. public FT_ColorLine colorline() { return ncolorline(address()); } /** @return a {@link FT_Vector} view of the {@code p0} field. public FT_Vector p0() { return np0(address()); } /** @return a {@link FT_Vector} view of the {@code p1} field. public FT_Vector p1() { return np1(address()); } /** @return a {@link FT_Vector} view of the {@code p2} field. public FT_Vector p2() { return np2(address()); } // ----------------------------------- /** Returns a new {@code FT_PaintLinearGradient} instance for the specified memory address. public static FT_PaintLinearGradient create(long address) { return new FT_PaintLinearGradient(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_PaintLinearGradient::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public static FT_PaintLinearGradient.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_PaintLinearGradient.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_PaintLinearGradient::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public static FT_PaintLinearGradient.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_PaintLinearGradient.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintLinearGradient.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_PaintLinearGradient::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public static FT_ColorLine ncolorline(long struct) { return FT_ColorLine.create(struct + FT_PaintLinearGradient.COLORLINE); }
Create a {@link FT_PaintLinearGradient.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintLinearGradient.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_PaintLinearGradient.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #colorline}.
FT_PaintLinearGradient::ncolorline
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public static FT_Vector np0(long struct) { return FT_Vector.create(struct + FT_PaintLinearGradient.P0); }
Create a {@link FT_PaintLinearGradient.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintLinearGradient.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_PaintLinearGradient.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #colorline}. public static FT_ColorLine ncolorline(long struct) { return FT_ColorLine.create(struct + FT_PaintLinearGradient.COLORLINE); } /** Unsafe version of {@link #p0}.
FT_PaintLinearGradient::np0
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public static FT_Vector np1(long struct) { return FT_Vector.create(struct + FT_PaintLinearGradient.P1); }
Create a {@link FT_PaintLinearGradient.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintLinearGradient.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_PaintLinearGradient.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #colorline}. public static FT_ColorLine ncolorline(long struct) { return FT_ColorLine.create(struct + FT_PaintLinearGradient.COLORLINE); } /** Unsafe version of {@link #p0}. public static FT_Vector np0(long struct) { return FT_Vector.create(struct + FT_PaintLinearGradient.P0); } /** Unsafe version of {@link #p1}.
FT_PaintLinearGradient::np1
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public static FT_Vector np2(long struct) { return FT_Vector.create(struct + FT_PaintLinearGradient.P2); }
Create a {@link FT_PaintLinearGradient.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintLinearGradient.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_PaintLinearGradient.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #colorline}. public static FT_ColorLine ncolorline(long struct) { return FT_ColorLine.create(struct + FT_PaintLinearGradient.COLORLINE); } /** Unsafe version of {@link #p0}. public static FT_Vector np0(long struct) { return FT_Vector.create(struct + FT_PaintLinearGradient.P0); } /** Unsafe version of {@link #p1}. public static FT_Vector np1(long struct) { return FT_Vector.create(struct + FT_PaintLinearGradient.P1); } /** Unsafe version of {@link #p2}.
FT_PaintLinearGradient::np2
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public FT_ColorLine colorline() { return FT_PaintLinearGradient.ncolorline(address()); }
Creates a new {@code FT_PaintLinearGradient.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_PaintLinearGradient#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_PaintLinearGradient getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field.
Buffer::colorline
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public FT_Vector p0() { return FT_PaintLinearGradient.np0(address()); }
Creates a new {@code FT_PaintLinearGradient.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_PaintLinearGradient#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_PaintLinearGradient getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field. public FT_ColorLine colorline() { return FT_PaintLinearGradient.ncolorline(address()); } /** @return a {@link FT_Vector} view of the {@code p0} field.
Buffer::p0
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public FT_Vector p1() { return FT_PaintLinearGradient.np1(address()); }
Creates a new {@code FT_PaintLinearGradient.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_PaintLinearGradient#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_PaintLinearGradient getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field. public FT_ColorLine colorline() { return FT_PaintLinearGradient.ncolorline(address()); } /** @return a {@link FT_Vector} view of the {@code p0} field. public FT_Vector p0() { return FT_PaintLinearGradient.np0(address()); } /** @return a {@link FT_Vector} view of the {@code p1} field.
Buffer::p1
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public FT_Vector p2() { return FT_PaintLinearGradient.np2(address()); }
Creates a new {@code FT_PaintLinearGradient.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_PaintLinearGradient#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_PaintLinearGradient getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field. public FT_ColorLine colorline() { return FT_PaintLinearGradient.ncolorline(address()); } /** @return a {@link FT_Vector} view of the {@code p0} field. public FT_Vector p0() { return FT_PaintLinearGradient.np0(address()); } /** @return a {@link FT_Vector} view of the {@code p1} field. public FT_Vector p1() { return FT_PaintLinearGradient.np1(address()); } /** @return a {@link FT_Vector} view of the {@code p2} field.
Buffer::p2
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintLinearGradient.java
BSD-3-Clause
public FT_PaintRadialGradient(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_PaintRadialGradient} 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_PaintRadialGradient::FT_PaintRadialGradient
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
BSD-3-Clause
public FT_Vector c0() { return nc0(address()); }
Creates a {@code FT_PaintRadialGradient} 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_PaintRadialGradient(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field. public FT_ColorLine colorline() { return ncolorline(address()); } /** @return a {@link FT_Vector} view of the {@code c0} field.
FT_PaintRadialGradient::c0
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
BSD-3-Clause
public FT_Vector c1() { return nc1(address()); }
Creates a {@code FT_PaintRadialGradient} 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_PaintRadialGradient(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field. public FT_ColorLine colorline() { return ncolorline(address()); } /** @return a {@link FT_Vector} view of the {@code c0} field. public FT_Vector c0() { return nc0(address()); } /** @return the value of the {@code r0} field. @NativeType("FT_Pos") public long r0() { return nr0(address()); } /** @return a {@link FT_Vector} view of the {@code c1} field.
FT_PaintRadialGradient::c1
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
BSD-3-Clause
public static FT_PaintRadialGradient create(long address) { return new FT_PaintRadialGradient(address, null); }
Creates a {@code FT_PaintRadialGradient} 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_PaintRadialGradient(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field. public FT_ColorLine colorline() { return ncolorline(address()); } /** @return a {@link FT_Vector} view of the {@code c0} field. public FT_Vector c0() { return nc0(address()); } /** @return the value of the {@code r0} field. @NativeType("FT_Pos") public long r0() { return nr0(address()); } /** @return a {@link FT_Vector} view of the {@code c1} field. public FT_Vector c1() { return nc1(address()); } /** @return the value of the {@code r1} field. @NativeType("FT_Pos") public long r1() { return nr1(address()); } // ----------------------------------- /** Returns a new {@code FT_PaintRadialGradient} instance for the specified memory address.
FT_PaintRadialGradient::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
BSD-3-Clause
public static @Nullable FT_PaintRadialGradient createSafe(long address) { return address == NULL ? null : new FT_PaintRadialGradient(address, null); }
Creates a {@code FT_PaintRadialGradient} 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_PaintRadialGradient(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field. public FT_ColorLine colorline() { return ncolorline(address()); } /** @return a {@link FT_Vector} view of the {@code c0} field. public FT_Vector c0() { return nc0(address()); } /** @return the value of the {@code r0} field. @NativeType("FT_Pos") public long r0() { return nr0(address()); } /** @return a {@link FT_Vector} view of the {@code c1} field. public FT_Vector c1() { return nc1(address()); } /** @return the value of the {@code r1} field. @NativeType("FT_Pos") public long r1() { return nr1(address()); } // ----------------------------------- /** Returns a new {@code FT_PaintRadialGradient} instance for the specified memory address. public static FT_PaintRadialGradient create(long address) { return new FT_PaintRadialGradient(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_PaintRadialGradient::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
BSD-3-Clause
public static FT_PaintRadialGradient.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_PaintRadialGradient.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_PaintRadialGradient::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
BSD-3-Clause
public static FT_PaintRadialGradient.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_PaintRadialGradient.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintRadialGradient.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_PaintRadialGradient::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
BSD-3-Clause
public static FT_ColorLine ncolorline(long struct) { return FT_ColorLine.create(struct + FT_PaintRadialGradient.COLORLINE); }
Create a {@link FT_PaintRadialGradient.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintRadialGradient.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_PaintRadialGradient.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #colorline}.
FT_PaintRadialGradient::ncolorline
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
BSD-3-Clause
public static FT_Vector nc0(long struct) { return FT_Vector.create(struct + FT_PaintRadialGradient.C0); }
Create a {@link FT_PaintRadialGradient.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintRadialGradient.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_PaintRadialGradient.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #colorline}. public static FT_ColorLine ncolorline(long struct) { return FT_ColorLine.create(struct + FT_PaintRadialGradient.COLORLINE); } /** Unsafe version of {@link #c0}.
FT_PaintRadialGradient::nc0
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
BSD-3-Clause
public static long nr0(long struct) { return memGetCLong(struct + FT_PaintRadialGradient.R0); }
Create a {@link FT_PaintRadialGradient.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintRadialGradient.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_PaintRadialGradient.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #colorline}. public static FT_ColorLine ncolorline(long struct) { return FT_ColorLine.create(struct + FT_PaintRadialGradient.COLORLINE); } /** Unsafe version of {@link #c0}. public static FT_Vector nc0(long struct) { return FT_Vector.create(struct + FT_PaintRadialGradient.C0); } /** Unsafe version of {@link #r0}.
FT_PaintRadialGradient::nr0
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
BSD-3-Clause
public static FT_Vector nc1(long struct) { return FT_Vector.create(struct + FT_PaintRadialGradient.C1); }
Create a {@link FT_PaintRadialGradient.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintRadialGradient.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_PaintRadialGradient.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #colorline}. public static FT_ColorLine ncolorline(long struct) { return FT_ColorLine.create(struct + FT_PaintRadialGradient.COLORLINE); } /** Unsafe version of {@link #c0}. public static FT_Vector nc0(long struct) { return FT_Vector.create(struct + FT_PaintRadialGradient.C0); } /** Unsafe version of {@link #r0}. public static long nr0(long struct) { return memGetCLong(struct + FT_PaintRadialGradient.R0); } /** Unsafe version of {@link #c1}.
FT_PaintRadialGradient::nc1
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
BSD-3-Clause
public static long nr1(long struct) { return memGetCLong(struct + FT_PaintRadialGradient.R1); }
Create a {@link FT_PaintRadialGradient.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_PaintRadialGradient.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_PaintRadialGradient.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #colorline}. public static FT_ColorLine ncolorline(long struct) { return FT_ColorLine.create(struct + FT_PaintRadialGradient.COLORLINE); } /** Unsafe version of {@link #c0}. public static FT_Vector nc0(long struct) { return FT_Vector.create(struct + FT_PaintRadialGradient.C0); } /** Unsafe version of {@link #r0}. public static long nr0(long struct) { return memGetCLong(struct + FT_PaintRadialGradient.R0); } /** Unsafe version of {@link #c1}. public static FT_Vector nc1(long struct) { return FT_Vector.create(struct + FT_PaintRadialGradient.C1); } /** Unsafe version of {@link #r1}.
FT_PaintRadialGradient::nr1
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
BSD-3-Clause
public FT_ColorLine colorline() { return FT_PaintRadialGradient.ncolorline(address()); }
Creates a new {@code FT_PaintRadialGradient.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_PaintRadialGradient#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_PaintRadialGradient getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field.
Buffer::colorline
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
BSD-3-Clause
public FT_Vector c0() { return FT_PaintRadialGradient.nc0(address()); }
Creates a new {@code FT_PaintRadialGradient.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_PaintRadialGradient#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_PaintRadialGradient getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field. public FT_ColorLine colorline() { return FT_PaintRadialGradient.ncolorline(address()); } /** @return a {@link FT_Vector} view of the {@code c0} field.
Buffer::c0
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
BSD-3-Clause
public FT_Vector c1() { return FT_PaintRadialGradient.nc1(address()); }
Creates a new {@code FT_PaintRadialGradient.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_PaintRadialGradient#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_PaintRadialGradient getElementFactory() { return ELEMENT_FACTORY; } /** @return a {@link FT_ColorLine} view of the {@code colorline} field. public FT_ColorLine colorline() { return FT_PaintRadialGradient.ncolorline(address()); } /** @return a {@link FT_Vector} view of the {@code c0} field. public FT_Vector c0() { return FT_PaintRadialGradient.nc0(address()); } /** @return the value of the {@code r0} field. @NativeType("FT_Pos") public long r0() { return FT_PaintRadialGradient.nr0(address()); } /** @return a {@link FT_Vector} view of the {@code c1} field.
Buffer::c1
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_PaintRadialGradient.java
BSD-3-Clause
public FT_Span(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_Span} 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_Span::FT_Span
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
BSD-3-Clause
public static FT_Span create(long address) { return new FT_Span(address, null); }
Creates a {@code FT_Span} 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_Span(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code x} field. public short x() { return nx(address()); } /** @return the value of the {@code len} field. @NativeType("unsigned short") public short len() { return nlen(address()); } /** @return the value of the {@code coverage} field. @NativeType("unsigned char") public byte coverage() { return ncoverage(address()); } // ----------------------------------- /** Returns a new {@code FT_Span} instance for the specified memory address.
FT_Span::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
BSD-3-Clause
public static @Nullable FT_Span createSafe(long address) { return address == NULL ? null : new FT_Span(address, null); }
Creates a {@code FT_Span} 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_Span(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return the value of the {@code x} field. public short x() { return nx(address()); } /** @return the value of the {@code len} field. @NativeType("unsigned short") public short len() { return nlen(address()); } /** @return the value of the {@code coverage} field. @NativeType("unsigned char") public byte coverage() { return ncoverage(address()); } // ----------------------------------- /** Returns a new {@code FT_Span} instance for the specified memory address. public static FT_Span create(long address) { return new FT_Span(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}.
FT_Span::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
BSD-3-Clause
public static FT_Span.Buffer create(long address, int capacity) { return new Buffer(address, capacity); }
Create a {@link FT_Span.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity
FT_Span::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
BSD-3-Clause
public static FT_Span.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); }
Create a {@link FT_Span.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Span.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_Span::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
BSD-3-Clause
public static short nx(long struct) { return memGetShort(struct + FT_Span.X); }
Create a {@link FT_Span.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Span.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_Span.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #x}.
FT_Span::nx
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
BSD-3-Clause
public static short nlen(long struct) { return memGetShort(struct + FT_Span.LEN); }
Create a {@link FT_Span.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Span.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_Span.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #x}. public static short nx(long struct) { return memGetShort(struct + FT_Span.X); } /** Unsafe version of {@link #len}.
FT_Span::nlen
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
BSD-3-Clause
public static byte ncoverage(long struct) { return memGetByte(struct + FT_Span.COVERAGE); }
Create a {@link FT_Span.Buffer} instance at the specified memory. @param address the memory address @param capacity the buffer capacity public static FT_Span.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_Span.@Nullable Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } // ----------------------------------- /** Unsafe version of {@link #x}. public static short nx(long struct) { return memGetShort(struct + FT_Span.X); } /** Unsafe version of {@link #len}. public static short nlen(long struct) { return memGetShort(struct + FT_Span.LEN); } /** Unsafe version of {@link #coverage}.
FT_Span::ncoverage
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
BSD-3-Clause
public short x() { return FT_Span.nx(address()); }
Creates a new {@code FT_Span.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_Span#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_Span getElementFactory() { return ELEMENT_FACTORY; } /** @return the value of the {@code x} field.
Buffer::x
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Span.java
BSD-3-Clause
public static FT_List_Iterator create(long functionPointer) { FT_List_IteratorI instance = Callback.get(functionPointer); return instance instanceof FT_List_Iterator ? (FT_List_Iterator)instance : new Container(functionPointer, instance); }
Creates a {@code FT_List_Iterator} instance from the specified function pointer. @return the new {@code FT_List_Iterator}
FT_List_Iterator::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_List_Iterator.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_List_Iterator.java
BSD-3-Clause
public static @Nullable FT_List_Iterator createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); }
Creates a {@code FT_List_Iterator} instance from the specified function pointer. @return the new {@code FT_List_Iterator} public static FT_List_Iterator create(long functionPointer) { FT_List_IteratorI instance = Callback.get(functionPointer); return instance instanceof FT_List_Iterator ? (FT_List_Iterator)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}.
FT_List_Iterator::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_List_Iterator.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_List_Iterator.java
BSD-3-Clause
public static FT_List_Iterator create(FT_List_IteratorI instance) { return instance instanceof FT_List_Iterator ? (FT_List_Iterator)instance : new Container(instance.address(), instance); }
Creates a {@code FT_List_Iterator} instance from the specified function pointer. @return the new {@code FT_List_Iterator} public static FT_List_Iterator create(long functionPointer) { FT_List_IteratorI instance = Callback.get(functionPointer); return instance instanceof FT_List_Iterator ? (FT_List_Iterator)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}. public static @Nullable FT_List_Iterator createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); } /** Creates a {@code FT_List_Iterator} instance that delegates to the specified {@code FT_List_IteratorI} instance.
FT_List_Iterator::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_List_Iterator.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_List_Iterator.java
BSD-3-Clause
public static FT_Raster_ResetFunc create(long functionPointer) { FT_Raster_ResetFuncI instance = Callback.get(functionPointer); return instance instanceof FT_Raster_ResetFunc ? (FT_Raster_ResetFunc)instance : new Container(functionPointer, instance); }
Creates a {@code FT_Raster_ResetFunc} instance from the specified function pointer. @return the new {@code FT_Raster_ResetFunc}
FT_Raster_ResetFunc::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Raster_ResetFunc.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Raster_ResetFunc.java
BSD-3-Clause
public static @Nullable FT_Raster_ResetFunc createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); }
Creates a {@code FT_Raster_ResetFunc} instance from the specified function pointer. @return the new {@code FT_Raster_ResetFunc} public static FT_Raster_ResetFunc create(long functionPointer) { FT_Raster_ResetFuncI instance = Callback.get(functionPointer); return instance instanceof FT_Raster_ResetFunc ? (FT_Raster_ResetFunc)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}.
FT_Raster_ResetFunc::createSafe
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Raster_ResetFunc.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Raster_ResetFunc.java
BSD-3-Clause
public static FT_Raster_ResetFunc create(FT_Raster_ResetFuncI instance) { return instance instanceof FT_Raster_ResetFunc ? (FT_Raster_ResetFunc)instance : new Container(instance.address(), instance); }
Creates a {@code FT_Raster_ResetFunc} instance from the specified function pointer. @return the new {@code FT_Raster_ResetFunc} public static FT_Raster_ResetFunc create(long functionPointer) { FT_Raster_ResetFuncI instance = Callback.get(functionPointer); return instance instanceof FT_Raster_ResetFunc ? (FT_Raster_ResetFunc)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}. public static @Nullable FT_Raster_ResetFunc createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); } /** Creates a {@code FT_Raster_ResetFunc} instance that delegates to the specified {@code FT_Raster_ResetFuncI} instance.
FT_Raster_ResetFunc::create
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Raster_ResetFunc.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_Raster_ResetFunc.java
BSD-3-Clause
public FT_ClipBox(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); }
Creates a {@code FT_ClipBox} 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_ClipBox::FT_ClipBox
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java
BSD-3-Clause
public FT_Vector bottom_left() { return nbottom_left(address()); }
Creates a {@code FT_ClipBox} 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_ClipBox(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_Vector} view of the {@code bottom_left} field.
FT_ClipBox::bottom_left
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java
BSD-3-Clause
public FT_Vector top_left() { return ntop_left(address()); }
Creates a {@code FT_ClipBox} 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_ClipBox(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_Vector} view of the {@code bottom_left} field. public FT_Vector bottom_left() { return nbottom_left(address()); } /** @return a {@link FT_Vector} view of the {@code top_left} field.
FT_ClipBox::top_left
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java
BSD-3-Clause
public FT_Vector top_right() { return ntop_right(address()); }
Creates a {@code FT_ClipBox} 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_ClipBox(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_Vector} view of the {@code bottom_left} field. public FT_Vector bottom_left() { return nbottom_left(address()); } /** @return a {@link FT_Vector} view of the {@code top_left} field. public FT_Vector top_left() { return ntop_left(address()); } /** @return a {@link FT_Vector} view of the {@code top_right} field.
FT_ClipBox::top_right
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java
BSD-3-Clause
public FT_Vector bottom_right() { return nbottom_right(address()); }
Creates a {@code FT_ClipBox} 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_ClipBox(ByteBuffer container) { super(memAddress(container), __checkContainer(container, SIZEOF)); } @Override public int sizeof() { return SIZEOF; } /** @return a {@link FT_Vector} view of the {@code bottom_left} field. public FT_Vector bottom_left() { return nbottom_left(address()); } /** @return a {@link FT_Vector} view of the {@code top_left} field. public FT_Vector top_left() { return ntop_left(address()); } /** @return a {@link FT_Vector} view of the {@code top_right} field. public FT_Vector top_right() { return ntop_right(address()); } /** @return a {@link FT_Vector} view of the {@code bottom_right} field.
FT_ClipBox::bottom_right
java
LWJGL/lwjgl3
modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java
https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/freetype/src/generated/java/org/lwjgl/util/freetype/FT_ClipBox.java
BSD-3-Clause