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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.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.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe 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_Affine23instance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic FT_Affine23create(long address) Returns a newFT_Affine23instance for the specified memory address.static FT_Affine23.Buffercreate(long address, int capacity) Create aFT_Affine23.Bufferinstance at the specified memory.static @Nullable FT_Affine23createSafe(long address) static @Nullable FT_Affine23.BuffercreateSafe(long address, int capacity) longdx()longdy()static longndx(long struct) Unsafe version ofdx().static longndy(long struct) Unsafe version ofdy().static longnxx(long struct) Unsafe version ofxx().static longnxy(long struct) Unsafe version ofxy().static longnyx(long struct) Unsafe version ofyx().static longnyy(long struct) Unsafe version ofyy().intsizeof()Returnssizeof(struct).longxx()longxy()longyx()longyy()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_Affine23instance 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_Affine23>
-
xx
public long xx()- Returns:
- the value of the
xxfield.
-
xy
public long xy()- Returns:
- the value of the
xyfield.
-
dx
public long dx()- Returns:
- the value of the
dxfield.
-
yx
public long yx()- Returns:
- the value of the
yxfield.
-
yy
public long yy()- Returns:
- the value of the
yyfield.
-
dy
public long dy()- Returns:
- the value of the
dyfield.
-
create
Returns a newFT_Affine23instance for the specified memory address. -
createSafe
-
create
Create aFT_Affine23.Bufferinstance 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().
-