Top Description Inners Fields Constructors Methods
org.lwjgl.util.freetype

public Class CID_FaceDict

extends Struct<CID_FaceDict>
Class Inheritance
Annotations
@NativeType:struct CID_FaceDictRec
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

A structure used to represent data in a CID top-level dictionary.

Layout


struct CID_FaceDictRec {
    PS_PrivateRec private_dict;
    FT_UInt len_buildchar;
    FT_Fixed forcebold_threshold;
    FT_Pos stroke_width;
    FT_Fixed expansion_factor;
    FT_Byte paint_type;
    FT_Byte font_type;
    FT_Matrix font_matrix;
    FT_Vector font_offset;
    FT_UInt num_subrs;
    FT_ULong subrmap_offset;
    FT_UInt sd_bytes;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
CID_FaceDict.Buffer

An array of CID_FaceDict structs.

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
EXPANSION_FACTOR

The struct member offsets.

public static final int
FONT_MATRIX

The struct member offsets.

public static final int
FONT_OFFSET

The struct member offsets.

public static final int
FONT_TYPE

The struct member offsets.

public static final int
FORCEBOLD_THRESHOLD

The struct member offsets.

public static final int
LEN_BUILDCHAR

The struct member offsets.

public static final int
NUM_SUBRS

The struct member offsets.

public static final int
PAINT_TYPE

The struct member offsets.

public static final int
PRIVATE_DICT

The struct member offsets.

public static final int
SD_BYTES

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STROKE_WIDTH

The struct member offsets.

public static final int
SUBRMAP_OFFSET

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
CID_FaceDict(long address, ByteBuffer container)

public
CID_FaceDict(ByteBuffer container)

Creates a CID_FaceDict instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
protected CID_FaceDict
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static CID_FaceDict
create(long address)

Returns a new CID_FaceDict instance for the specified memory address.

public static CID_FaceDict.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a CID_FaceDict.Buffer instance at the specified memory.

public static CID_FaceDict
createSafe(long address)

Like create, but returns null if address is NULL.

public static CID_FaceDict.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public long

Returns:

the value of the expansion_factor field.
expansion_factor
()

public FT_Matrix

Returns:

a FT_Matrix view of the font_matrix field.
font_matrix
()

public FT_Vector

Returns:

a FT_Vector view of the font_offset field.
font_offset
()

public byte

Returns:

the value of the font_type field.
font_type
()

public long

Returns:

the value of the forcebold_threshold field.
forcebold_threshold
()

public int

Returns:

the value of the len_buildchar field.
len_buildchar
()

public static long
nexpansion_factor(long struct)

Unsafe version of expansion_factor.

public static FT_Matrix
nfont_matrix(long struct)

Unsafe version of font_matrix.

public static FT_Vector
nfont_offset(long struct)

Unsafe version of font_offset.

public static byte
nfont_type(long struct)

Unsafe version of font_type.

public static long
nforcebold_threshold(long struct)

Unsafe version of forcebold_threshold.

public static int
nlen_buildchar(long struct)

Unsafe version of len_buildchar.

public static int
nnum_subrs(long struct)

Unsafe version of num_subrs.

public static byte
npaint_type(long struct)

Unsafe version of paint_type.

public static PS_Private
nprivate_dict(long struct)

Unsafe version of private_dict.

public static int
nsd_bytes(long struct)

Unsafe version of sd_bytes.

public static long
nstroke_width(long struct)

Unsafe version of stroke_width.

public static long
nsubrmap_offset(long struct)

Unsafe version of subrmap_offset.

public int

Returns:

the value of the num_subrs field.
num_subrs
()

public byte

Returns:

the value of the paint_type field.
paint_type
()

public PS_Private

Returns:

a PS_Private view of the private_dict field.
private_dict
()

public int

Returns:

the value of the sd_bytes field.
sd_bytes
()

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public long

Returns:

the value of the stroke_width field.
stroke_width
()

public long

Returns:

the value of the subrmap_offset field.
subrmap_offset
()

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

EXPANSION_FACTORback to summary
public static final int EXPANSION_FACTOR

The struct member offsets.

FONT_MATRIXback to summary
public static final int FONT_MATRIX

The struct member offsets.

FONT_OFFSETback to summary
public static final int FONT_OFFSET

The struct member offsets.

FONT_TYPEback to summary
public static final int FONT_TYPE

The struct member offsets.

FORCEBOLD_THRESHOLDback to summary
public static final int FORCEBOLD_THRESHOLD

The struct member offsets.

LEN_BUILDCHARback to summary
public static final int LEN_BUILDCHAR

The struct member offsets.

NUM_SUBRSback to summary
public static final int NUM_SUBRS

The struct member offsets.

PAINT_TYPEback to summary
public static final int PAINT_TYPE

The struct member offsets.

PRIVATE_DICTback to summary
public static final int PRIVATE_DICT

The struct member offsets.

SD_BYTESback to summary
public static final int SD_BYTES

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

STROKE_WIDTHback to summary
public static final int STROKE_WIDTH

The struct member offsets.

SUBRMAP_OFFSETback to summary
public static final int SUBRMAP_OFFSET

The struct member offsets.

Constructor Detail

CID_FaceDictback to summary
protected CID_FaceDict(long address, ByteBuffer container)
CID_FaceDictback to summary
public CID_FaceDict(ByteBuffer container)

Creates a CID_FaceDict instance at the current position of the specified ByteBuffer 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 Detail

createback to summary
protected CID_FaceDict create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static CID_FaceDict create(long address)

Returns a new CID_FaceDict instance for the specified memory address.

createback to summary
public static CID_FaceDict.Buffer create(long address, int capacity)

Create a CID_FaceDict.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static CID_FaceDict createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static CID_FaceDict.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
expansion_factorback to summary
public long expansion_factor()
Returns:long

the value of the expansion_factor field.

Annotations
@NativeType:FT_Fixed
font_matrixback to summary
public FT_Matrix font_matrix()
Returns:FT_Matrix

a FT_Matrix view of the font_matrix field.

font_offsetback to summary
public FT_Vector font_offset()
Returns:FT_Vector

a FT_Vector view of the font_offset field.

font_typeback to summary
public byte font_type()
Returns:byte

the value of the font_type field.

Annotations
@NativeType:FT_Byte
forcebold_thresholdback to summary
public long forcebold_threshold()
Returns:long

the value of the forcebold_threshold field.

Annotations
@NativeType:FT_Fixed
len_buildcharback to summary
public int len_buildchar()
Returns:int

the value of the len_buildchar field.

Annotations
@NativeType:FT_UInt
nexpansion_factorback to summary
public static long nexpansion_factor(long struct)

Unsafe version of expansion_factor.

nfont_matrixback to summary
public static FT_Matrix nfont_matrix(long struct)

Unsafe version of font_matrix.

nfont_offsetback to summary
public static FT_Vector nfont_offset(long struct)

Unsafe version of font_offset.

nfont_typeback to summary
public static byte nfont_type(long struct)

Unsafe version of font_type.

nforcebold_thresholdback to summary
public static long nforcebold_threshold(long struct)

Unsafe version of forcebold_threshold.

nlen_buildcharback to summary
public static int nlen_buildchar(long struct)

Unsafe version of len_buildchar.

nnum_subrsback to summary
public static int nnum_subrs(long struct)

Unsafe version of num_subrs.

npaint_typeback to summary
public static byte npaint_type(long struct)

Unsafe version of paint_type.

nprivate_dictback to summary
public static PS_Private nprivate_dict(long struct)

Unsafe version of private_dict.

nsd_bytesback to summary
public static int nsd_bytes(long struct)

Unsafe version of sd_bytes.

nstroke_widthback to summary
public static long nstroke_width(long struct)

Unsafe version of stroke_width.

nsubrmap_offsetback to summary
public static long nsubrmap_offset(long struct)

Unsafe version of subrmap_offset.

num_subrsback to summary
public int num_subrs()
Returns:int

the value of the num_subrs field.

Annotations
@NativeType:FT_UInt
paint_typeback to summary
public byte paint_type()
Returns:byte

the value of the paint_type field.

Annotations
@NativeType:FT_Byte
private_dictback to summary
public PS_Private private_dict()
Returns:PS_Private

a PS_Private view of the private_dict field.

Annotations
@NativeType:PS_PrivateRec
sd_bytesback to summary
public int sd_bytes()
Returns:int

the value of the sd_bytes field.

Annotations
@NativeType:FT_UInt
sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
stroke_widthback to summary
public long stroke_width()
Returns:long

the value of the stroke_width field.

Annotations
@NativeType:FT_Pos
subrmap_offsetback to summary
public long subrmap_offset()
Returns:long

the value of the subrmap_offset field.

Annotations
@NativeType:FT_ULong
org.lwjgl.util.freetype back to summary

public Class CID_FaceDict.Buffer

extends StructBuffer<CID_FaceDict, CID_FaceDict.Buffer>
Class Inheritance

An array of CID_FaceDict structs.

Field Summary

Modifier and TypeField and Description
private static final CID_FaceDict

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new CID_FaceDict.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

the value of the expansion_factor field.
expansion_factor
()

public FT_Matrix

Returns:

a FT_Matrix view of the font_matrix field.
font_matrix
()

public FT_Vector

Returns:

a FT_Vector view of the font_offset field.
font_offset
()

public byte

Returns:

the value of the font_type field.
font_type
()

public long

Returns:

the value of the forcebold_threshold field.
forcebold_threshold
()

protected CID_FaceDict
public int

Returns:

the value of the len_buildchar field.
len_buildchar
()

public int

Returns:

the value of the num_subrs field.
num_subrs
()

public byte

Returns:

the value of the paint_type field.
paint_type
()

public PS_Private

Returns:

a PS_Private view of the private_dict field.
private_dict
()

public int

Returns:

the value of the sd_bytes field.
sd_bytes
()

protected CID_FaceDict.Buffer
public long

Returns:

the value of the stroke_width field.
stroke_width
()

public long

Returns:

the value of the subrmap_offset field.
subrmap_offset
()

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final CID_FaceDict ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new CID_FaceDict.Buffer instance backed by the specified container.

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 CID_FaceDict#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

expansion_factorback to summary
public long expansion_factor()
Returns:long

the value of the expansion_factor field.

Annotations
@NativeType:FT_Fixed
font_matrixback to summary
public FT_Matrix font_matrix()
Returns:FT_Matrix

a FT_Matrix view of the font_matrix field.

font_offsetback to summary
public FT_Vector font_offset()
Returns:FT_Vector

a FT_Vector view of the font_offset field.

font_typeback to summary
public byte font_type()
Returns:byte

the value of the font_type field.

Annotations
@NativeType:FT_Byte
forcebold_thresholdback to summary
public long forcebold_threshold()
Returns:long

the value of the forcebold_threshold field.

Annotations
@NativeType:FT_Fixed
getElementFactoryback to summary
protected CID_FaceDict getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
len_buildcharback to summary
public int len_buildchar()
Returns:int

the value of the len_buildchar field.

Annotations
@NativeType:FT_UInt
num_subrsback to summary
public int num_subrs()
Returns:int

the value of the num_subrs field.

Annotations
@NativeType:FT_UInt
paint_typeback to summary
public byte paint_type()
Returns:byte

the value of the paint_type field.

Annotations
@NativeType:FT_Byte
private_dictback to summary
public PS_Private private_dict()
Returns:PS_Private

a PS_Private view of the private_dict field.

Annotations
@NativeType:PS_PrivateRec
sd_bytesback to summary
public int sd_bytes()
Returns:int

the value of the sd_bytes field.

Annotations
@NativeType:FT_UInt
selfback to summary
protected CID_FaceDict.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
stroke_widthback to summary
public long stroke_width()
Returns:long

the value of the stroke_width field.

Annotations
@NativeType:FT_Pos
subrmap_offsetback to summary
public long subrmap_offset()
Returns:long

the value of the subrmap_offset field.

Annotations
@NativeType:FT_ULong