Package org.lwjgl.util.freetype
Class FT_PaintComposite
- All Implemented Interfaces:
Pointer
struct FT_PaintComposite {
{@link FT_OpaquePaint FT_OpaquePaintRec} source_paint;
FT_Composite_Mode composite_mode;
{@link FT_OpaquePaint FT_OpaquePaintRec} backdrop_paint;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionFT_PaintComposite
(ByteBuffer container) Creates aFT_PaintComposite
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionint
static FT_PaintComposite
create
(long address) Returns a newFT_PaintComposite
instance for the specified memory address.static FT_PaintComposite.Buffer
create
(long address, int capacity) Create aFT_PaintComposite.Buffer
instance at the specified memory.static @Nullable FT_PaintComposite
createSafe
(long address) static @Nullable FT_PaintComposite.Buffer
createSafe
(long address, int capacity) static FT_OpaquePaint
nbackdrop_paint
(long struct) Unsafe version ofbackdrop_paint()
.static int
ncomposite_mode
(long struct) Unsafe version ofcomposite_mode()
.static FT_OpaquePaint
nsource_paint
(long struct) Unsafe version ofsource_paint()
.int
sizeof()
Returnssizeof(struct)
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
SOURCE_PAINT
public static final int SOURCE_PAINTThe struct member offsets. -
COMPOSITE_MODE
public static final int COMPOSITE_MODEThe struct member offsets. -
BACKDROP_PAINT
public static final int BACKDROP_PAINTThe struct member offsets.
-
-
Constructor Details
-
FT_PaintComposite
Creates aFT_PaintComposite
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<FT_PaintComposite>
-
source_paint
- Returns:
- a
FT_OpaquePaint
view of thesource_paint
field.
-
composite_mode
public int composite_mode()- Returns:
- the value of the
composite_mode
field.
-
backdrop_paint
- Returns:
- a
FT_OpaquePaint
view of thebackdrop_paint
field.
-
create
Returns a newFT_PaintComposite
instance for the specified memory address. -
createSafe
-
create
Create aFT_PaintComposite.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
nsource_paint
Unsafe version ofsource_paint()
. -
ncomposite_mode
public static int ncomposite_mode(long struct) Unsafe version ofcomposite_mode()
. -
nbackdrop_paint
Unsafe version ofbackdrop_paint()
.
-