Package org.lwjgl.util.freetype
Class FT_Affine23
- All Implemented Interfaces:
Pointer
struct FT_Affine23 {
FT_Fixed xx;
FT_Fixed xy;
FT_Fixed dx;
FT_Fixed yx;
FT_Fixed yy;
FT_Fixed dy;
}
-
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 size 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.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionFT_Affine23
(ByteBuffer container) Creates aFT_Affine23
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic FT_Affine23
create
(long address) Returns a newFT_Affine23
instance for the specified memory address.static FT_Affine23.Buffer
create
(long address, int capacity) Create aFT_Affine23.Buffer
instance at the specified memory.static @Nullable FT_Affine23
createSafe
(long address) static @Nullable FT_Affine23.Buffer
createSafe
(long address, int capacity) long
dx()
long
dy()
static long
ndx
(long struct) Unsafe version ofdx()
.static long
ndy
(long struct) Unsafe version ofdy()
.static long
nxx
(long struct) Unsafe version ofxx()
.static long
nxy
(long struct) Unsafe version ofxy()
.static long
nyx
(long struct) Unsafe version ofyx()
.static long
nyy
(long struct) Unsafe version ofyy()
.int
sizeof()
Returnssizeof(struct)
.long
xx()
long
xy()
long
yx()
long
yy()
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. -
XX
public static final int XXThe struct member offsets. -
XY
public static final int XYThe struct member offsets. -
DX
public static final int DXThe struct member offsets. -
YX
public static final int YXThe struct member offsets. -
YY
public static final int YYThe struct member offsets. -
DY
public static final int DYThe struct member offsets.
-
-
Constructor Details
-
FT_Affine23
Creates aFT_Affine23
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_Affine23>
-
xx
public long xx()- Returns:
- the value of the
xx
field.
-
xy
public long xy()- Returns:
- the value of the
xy
field.
-
dx
public long dx()- Returns:
- the value of the
dx
field.
-
yx
public long yx()- Returns:
- the value of the
yx
field.
-
yy
public long yy()- Returns:
- the value of the
yy
field.
-
dy
public long dy()- Returns:
- the value of the
dy
field.
-
create
Returns a newFT_Affine23
instance for the specified memory address. -
createSafe
-
create
Create aFT_Affine23.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
nxx
public static long nxx(long struct) Unsafe version ofxx()
. -
nxy
public static long nxy(long struct) Unsafe version ofxy()
. -
ndx
public static long ndx(long struct) Unsafe version ofdx()
. -
nyx
public static long nyx(long struct) Unsafe version ofyx()
. -
nyy
public static long nyy(long struct) Unsafe version ofyy()
. -
ndy
public static long ndy(long struct) Unsafe version ofdy()
.
-