COLR v1 PaintComposite paint table. Used for compositing two paints in a COLR v1 directed acyclic
graph.
struct FT_PaintComposite {
FT_OpaquePaintRec source_paint;
FT_Composite_Mode composite_mode;
FT_OpaquePaintRec backdrop_paint;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | FT_PaintComposite.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BACKDROP_PAINT
The struct member offsets. |
| public static final int | COMPOSITE_MODE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SOURCE_PAINT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | FT_PaintComposite(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public FT_OpaquePaint | |
| public int | |
| protected FT_PaintComposite | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static FT_PaintComposite | |
| public static FT_PaintComposite. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static FT_PaintComposite | |
| public static FT_PaintComposite. | |
| public static FT_OpaquePaint | |
| public static int | |
| public static FT_OpaquePaint | |
| public int | |
| public FT_OpaquePaint |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BACKDROP_PAINT | back to summary |
|---|---|
| public static final int BACKDROP_PAINT The struct member offsets. | |
| COMPOSITE_MODE | back to summary |
|---|---|
| public static final int COMPOSITE_MODE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SOURCE_PAINT | back to summary |
|---|---|
| public static final int SOURCE_PAINT The struct member offsets. | |
| FT_PaintComposite | back to summary |
|---|---|
| protected FT_PaintComposite(long address, ByteBuffer container) | |
| FT_PaintComposite | back to summary |
|---|---|
| public FT_PaintComposite(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| backdrop_paint | back to summary |
|---|---|
public FT_OpaquePaint backdrop_paint()
| |
| composite_mode | back to summary |
|---|---|
public int composite_mode()
| |
| create | back to summary |
|---|---|
| protected FT_PaintComposite create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static FT_PaintComposite create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static FT_PaintComposite. Create a
| |
| createSafe | back to summary |
|---|---|
| public static FT_PaintComposite createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static FT_PaintComposite. Like
| |
| nbackdrop_paint | back to summary |
|---|---|
| public static FT_OpaquePaint nbackdrop_paint(long struct) Unsafe version of | |
| ncomposite_mode | back to summary |
|---|---|
| public static int ncomposite_mode(long struct) Unsafe version of | |
| nsource_paint | back to summary |
|---|---|
| public static FT_OpaquePaint nsource_paint(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| source_paint | back to summary |
|---|---|
public FT_OpaquePaint source_paint()
| |
FT_PaintComposite structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final FT_PaintComposite |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public FT_OpaquePaint | |
| public int | |
| protected FT_PaintComposite | |
| protected FT_PaintComposite. | |
| public FT_OpaquePaint |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final FT_PaintComposite ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| backdrop_paint | back to summary |
|---|---|
public FT_OpaquePaint backdrop_paint()
| |
| composite_mode | back to summary |
|---|---|
public int composite_mode()
| |
| getElementFactory | back to summary |
|---|---|
| protected FT_PaintComposite getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected FT_PaintComposite. Implements abstract org.
| |
| source_paint | back to summary |
|---|---|
public FT_OpaquePaint source_paint()
| |