Package org.lwjgl.util.freetype
Class FT_CharMap
- All Implemented Interfaces:
Pointer
struct FT_CharMapRec {
{@link FT_Face FT_Face} face;
FT_Encoding encoding;
FT_UShort platform_id;
FT_UShort encoding_id;
}
-
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 member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionFT_CharMap
(ByteBuffer container) Creates aFT_CharMap
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic FT_CharMap
create
(long address) Returns a newFT_CharMap
instance for the specified memory address.static FT_CharMap.Buffer
create
(long address, int capacity) Create aFT_CharMap.Buffer
instance at the specified memory.static @Nullable FT_CharMap
createSafe
(long address) static @Nullable FT_CharMap.Buffer
createSafe
(long address, int capacity) int
encoding()
short
face()
static int
nencoding
(long struct) Unsafe version ofencoding()
.static short
nencoding_id
(long struct) Unsafe version ofencoding_id()
.static FT_Face
nface
(long struct) Unsafe version offace()
.static short
nplatform_id
(long struct) Unsafe version ofplatform_id()
.short
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. -
FACE
public static final int FACEThe struct member offsets. -
ENCODING
public static final int ENCODINGThe struct member offsets. -
PLATFORM_ID
public static final int PLATFORM_IDThe struct member offsets. -
ENCODING_ID
public static final int ENCODING_IDThe struct member offsets.
-
-
Constructor Details
-
FT_CharMap
Creates aFT_CharMap
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_CharMap>
-
face
- Returns:
- a
FT_Face
view of the struct pointed to by theface
field.
-
encoding
public int encoding()- Returns:
- the value of the
encoding
field.
-
platform_id
public short platform_id()- Returns:
- the value of the
platform_id
field.
-
encoding_id
public short encoding_id()- Returns:
- the value of the
encoding_id
field.
-
create
Returns a newFT_CharMap
instance for the specified memory address. -
createSafe
-
create
Create aFT_CharMap.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
nface
Unsafe version offace()
. -
nencoding
public static int nencoding(long struct) Unsafe version ofencoding()
. -
nplatform_id
public static short nplatform_id(long struct) Unsafe version ofplatform_id()
. -
nencoding_id
public static short nencoding_id(long struct) Unsafe version ofencoding_id()
.
-