Class FT_Prop_GlyphToScriptMap
- All Implemented Interfaces:
Pointer
struct FT_Prop_GlyphToScriptMap {
FT_Face face;
FT_UShort * map;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Struct
Struct.StructValidationNested classes/interfaces inherited from interface 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.Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionFT_Prop_GlyphToScriptMap(ByteBuffer container) Creates aFT_Prop_GlyphToScriptMapinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic FT_Prop_GlyphToScriptMapcreate(long address) Returns a newFT_Prop_GlyphToScriptMapinstance for the specified memory address.create(long address, int capacity) Create aFT_Prop_GlyphToScriptMap.Bufferinstance at the specified memory.static @Nullable FT_Prop_GlyphToScriptMapcreateSafe(long address) static @Nullable FT_Prop_GlyphToScriptMap.BuffercreateSafe(long address, int capacity) face()@Nullable ShortBuffermap(int capacity) static FT_Facenface(long struct) Unsafe version offace().static @Nullable ShortBuffernmap(long struct, int capacity) Unsafe version ofmap.intsizeof()Returnssizeof(struct).Methods inherited from class 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. -
MAP
public static final int MAPThe struct member offsets.
-
-
Constructor Details
-
FT_Prop_GlyphToScriptMap
Creates aFT_Prop_GlyphToScriptMapinstance 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_Prop_GlyphToScriptMap>
-
face
-
map
- Returns:
- a
ShortBufferview of the data pointed to by themapfield.
-
create
Returns a newFT_Prop_GlyphToScriptMapinstance for the specified memory address. -
createSafe
-
create
Create aFT_Prop_GlyphToScriptMap.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
nface
-
nmap
Unsafe version ofmap.
-