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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe 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_PaintCompositeinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionintstatic FT_PaintCompositecreate(long address) Returns a newFT_PaintCompositeinstance for the specified memory address.static FT_PaintComposite.Buffercreate(long address, int capacity) Create aFT_PaintComposite.Bufferinstance at the specified memory.static @Nullable FT_PaintCompositecreateSafe(long address) static @Nullable FT_PaintComposite.BuffercreateSafe(long address, int capacity) static FT_OpaquePaintnbackdrop_paint(long struct) Unsafe version ofbackdrop_paint().static intncomposite_mode(long struct) Unsafe version ofcomposite_mode().static FT_OpaquePaintnsource_paint(long struct) Unsafe version ofsource_paint().intsizeof()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_PaintCompositeinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<FT_PaintComposite>
-
source_paint
- Returns:
- a
FT_OpaquePaintview of thesource_paintfield.
-
composite_mode
public int composite_mode()- Returns:
- the value of the
composite_modefield.
-
backdrop_paint
- Returns:
- a
FT_OpaquePaintview of thebackdrop_paintfield.
-
create
Returns a newFT_PaintCompositeinstance for the specified memory address. -
createSafe
-
create
Create aFT_PaintComposite.Bufferinstance 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().
-