Package org.freedesktop.harfbuzz
Class OtMathGlyphVariant
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.freedesktop.harfbuzz.OtMathGlyphVariant
-
Constructor Summary
ConstructorDescriptionAllocate a new OtMathGlyphVariant.OtMathGlyphVariant
(Arena arena) Allocate a new OtMathGlyphVariant.OtMathGlyphVariant
(MemorySegment address) Create a OtMathGlyphVariant proxy instance for the provided memory address.OtMathGlyphVariant
(Codepoint glyph, Position advance) Allocate a new OtMathGlyphVariant with the fields set to the provided values.OtMathGlyphVariant
(Codepoint glyph, Position advance, Arena arena) Allocate a new OtMathGlyphVariant with the fields set to the provided values. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.static Type
getType()
Get the GType of the OtMathGlyphVariant classRead the value of the fieldadvance
.Read the value of the fieldglyph
.void
writeAdvance
(Position advance) Write a value in the fieldadvance
.void
writeGlyph
(Codepoint glyph) Write a value in the fieldglyph
.Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
OtMathGlyphVariant
Create a OtMathGlyphVariant proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
OtMathGlyphVariant
Allocate a new OtMathGlyphVariant.- Parameters:
arena
- to control the memory allocation scope
-
OtMathGlyphVariant
public OtMathGlyphVariant()Allocate a new OtMathGlyphVariant. The memory is allocated withArena.ofAuto()
. -
OtMathGlyphVariant
-
OtMathGlyphVariant
Allocate a new OtMathGlyphVariant with the fields set to the provided values. The memory is allocated withArena.ofAuto()
.- Parameters:
glyph
- value for the fieldglyph
advance
- value for the fieldadvance
-
-
Method Details
-
getType
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readGlyph
Read the value of the fieldglyph
.- Returns:
- The value of the field
glyph
-
writeGlyph
Write a value in the fieldglyph
.- Parameters:
glyph
- The new value for the fieldglyph
-
readAdvance
Read the value of the fieldadvance
.- Returns:
- The value of the field
advance
-
writeAdvance
Write a value in the fieldadvance
.- Parameters:
advance
- The new value for the fieldadvance
-