Package org.lwjgl.util.freetype
Class TT_OS2
- All Implemented Interfaces:
Pointer
struct TT_OS2 {
FT_UShort version;
FT_Short xAvgCharWidth;
FT_UShort usWeightClass;
FT_UShort usWidthClass;
FT_UShort fsType;
FT_Short ySubscriptXSize;
FT_Short ySubscriptYSize;
FT_Short ySubscriptXOffset;
FT_Short ySubscriptYOffset;
FT_Short ySuperscriptXSize;
FT_Short ySuperscriptYSize;
FT_Short ySuperscriptXOffset;
FT_Short ySuperscriptYOffset;
FT_Short yStrikeoutSize;
FT_Short yStrikeoutPosition;
FT_Short sFamilyClass;
FT_Byte panose[10];
FT_ULong ulUnicodeRange1;
FT_ULong ulUnicodeRange2;
FT_ULong ulUnicodeRange3;
FT_ULong ulUnicodeRange4;
FT_Char achVendID[4];
FT_UShort fsSelection;
FT_UShort usFirstCharIndex;
FT_UShort usLastCharIndex;
FT_Short sTypoAscender;
FT_Short sTypoDescender;
FT_Short sTypoLineGap;
FT_UShort usWinAscent;
FT_UShort usWinDescent;
FT_ULong ulCodePageRange1;
FT_ULong ulCodePageRange2;
FT_Short sxHeight;
FT_Short sCapHeight;
FT_UShort usDefaultChar;
FT_UShort usBreakChar;
FT_UShort usMaxContext;
FT_UShort usLowerOpticalPointSize;
FT_UShort usUpperOpticalPointSize;
}
-
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 member offsets.static 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 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.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 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 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 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 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 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 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 member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionTT_OS2
(ByteBuffer container) Creates aTT_OS2
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionbyte
achVendID
(int index) static TT_OS2
create
(long address) Returns a newTT_OS2
instance for the specified memory address.static TT_OS2.Buffer
create
(long address, int capacity) Create aTT_OS2.Buffer
instance at the specified memory.static @Nullable TT_OS2
createSafe
(long address) static @Nullable TT_OS2.Buffer
createSafe
(long address, int capacity) short
short
fsType()
static ByteBuffer
nachVendID
(long struct) Unsafe version ofachVendID()
.static byte
nachVendID
(long struct, int index) Unsafe version ofachVendID
.static short
nfsSelection
(long struct) Unsafe version offsSelection()
.static short
nfsType
(long struct) Unsafe version offsType()
.static ByteBuffer
npanose
(long struct) Unsafe version ofpanose()
.static byte
npanose
(long struct, int index) Unsafe version ofpanose
.static short
nsCapHeight
(long struct) Unsafe version ofsCapHeight()
.static short
nsFamilyClass
(long struct) Unsafe version ofsFamilyClass()
.static short
nsTypoAscender
(long struct) Unsafe version ofsTypoAscender()
.static short
nsTypoDescender
(long struct) Unsafe version ofsTypoDescender()
.static short
nsTypoLineGap
(long struct) Unsafe version ofsTypoLineGap()
.static short
nsxHeight
(long struct) Unsafe version ofsxHeight()
.static long
nulCodePageRange1
(long struct) Unsafe version ofulCodePageRange1()
.static long
nulCodePageRange2
(long struct) Unsafe version ofulCodePageRange2()
.static long
nulUnicodeRange1
(long struct) Unsafe version ofulUnicodeRange1()
.static long
nulUnicodeRange2
(long struct) Unsafe version ofulUnicodeRange2()
.static long
nulUnicodeRange3
(long struct) Unsafe version ofulUnicodeRange3()
.static long
nulUnicodeRange4
(long struct) Unsafe version ofulUnicodeRange4()
.static short
nusBreakChar
(long struct) Unsafe version ofusBreakChar()
.static short
nusDefaultChar
(long struct) Unsafe version ofusDefaultChar()
.static short
nusFirstCharIndex
(long struct) Unsafe version ofusFirstCharIndex()
.static short
nusLastCharIndex
(long struct) Unsafe version ofusLastCharIndex()
.static short
nusLowerOpticalPointSize
(long struct) Unsafe version ofusLowerOpticalPointSize()
.static short
nusMaxContext
(long struct) Unsafe version ofusMaxContext()
.static short
nusUpperOpticalPointSize
(long struct) Unsafe version ofusUpperOpticalPointSize()
.static short
nusWeightClass
(long struct) Unsafe version ofusWeightClass()
.static short
nusWidthClass
(long struct) Unsafe version ofusWidthClass()
.static short
nusWinAscent
(long struct) Unsafe version ofusWinAscent()
.static short
nusWinDescent
(long struct) Unsafe version ofusWinDescent()
.static short
nversion
(long struct) Unsafe version ofversion()
.static short
nxAvgCharWidth
(long struct) Unsafe version ofxAvgCharWidth()
.static short
nyStrikeoutPosition
(long struct) Unsafe version ofyStrikeoutPosition()
.static short
nyStrikeoutSize
(long struct) Unsafe version ofyStrikeoutSize()
.static short
nySubscriptXOffset
(long struct) Unsafe version ofySubscriptXOffset()
.static short
nySubscriptXSize
(long struct) Unsafe version ofySubscriptXSize()
.static short
nySubscriptYOffset
(long struct) Unsafe version ofySubscriptYOffset()
.static short
nySubscriptYSize
(long struct) Unsafe version ofySubscriptYSize()
.static short
nySuperscriptXOffset
(long struct) Unsafe version ofySuperscriptXOffset()
.static short
nySuperscriptXSize
(long struct) Unsafe version ofySuperscriptXSize()
.static short
nySuperscriptYOffset
(long struct) Unsafe version ofySuperscriptYOffset()
.static short
nySuperscriptYSize
(long struct) Unsafe version ofySuperscriptYSize()
.panose()
byte
panose
(int index) short
short
int
sizeof()
Returnssizeof(struct)
.short
short
short
short
sxHeight()
long
long
long
long
long
long
short
short
short
short
short
short
short
short
short
short
short
short
version()
short
short
short
short
short
short
short
short
short
short
short
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. -
VERSION
public static final int VERSIONThe struct member offsets. -
XAVGCHARWIDTH
public static final int XAVGCHARWIDTHThe struct member offsets. -
USWEIGHTCLASS
public static final int USWEIGHTCLASSThe struct member offsets. -
USWIDTHCLASS
public static final int USWIDTHCLASSThe struct member offsets. -
FSTYPE
public static final int FSTYPEThe struct member offsets. -
YSUBSCRIPTXSIZE
public static final int YSUBSCRIPTXSIZEThe struct member offsets. -
YSUBSCRIPTYSIZE
public static final int YSUBSCRIPTYSIZEThe struct member offsets. -
YSUBSCRIPTXOFFSET
public static final int YSUBSCRIPTXOFFSETThe struct member offsets. -
YSUBSCRIPTYOFFSET
public static final int YSUBSCRIPTYOFFSETThe struct member offsets. -
YSUPERSCRIPTXSIZE
public static final int YSUPERSCRIPTXSIZEThe struct member offsets. -
YSUPERSCRIPTYSIZE
public static final int YSUPERSCRIPTYSIZEThe struct member offsets. -
YSUPERSCRIPTXOFFSET
public static final int YSUPERSCRIPTXOFFSETThe struct member offsets. -
YSUPERSCRIPTYOFFSET
public static final int YSUPERSCRIPTYOFFSETThe struct member offsets. -
YSTRIKEOUTSIZE
public static final int YSTRIKEOUTSIZEThe struct member offsets. -
YSTRIKEOUTPOSITION
public static final int YSTRIKEOUTPOSITIONThe struct member offsets. -
SFAMILYCLASS
public static final int SFAMILYCLASSThe struct member offsets. -
PANOSE
public static final int PANOSEThe struct member offsets. -
ULUNICODERANGE1
public static final int ULUNICODERANGE1The struct member offsets. -
ULUNICODERANGE2
public static final int ULUNICODERANGE2The struct member offsets. -
ULUNICODERANGE3
public static final int ULUNICODERANGE3The struct member offsets. -
ULUNICODERANGE4
public static final int ULUNICODERANGE4The struct member offsets. -
ACHVENDID
public static final int ACHVENDIDThe struct member offsets. -
FSSELECTION
public static final int FSSELECTIONThe struct member offsets. -
USFIRSTCHARINDEX
public static final int USFIRSTCHARINDEXThe struct member offsets. -
USLASTCHARINDEX
public static final int USLASTCHARINDEXThe struct member offsets. -
STYPOASCENDER
public static final int STYPOASCENDERThe struct member offsets. -
STYPODESCENDER
public static final int STYPODESCENDERThe struct member offsets. -
STYPOLINEGAP
public static final int STYPOLINEGAPThe struct member offsets. -
USWINASCENT
public static final int USWINASCENTThe struct member offsets. -
USWINDESCENT
public static final int USWINDESCENTThe struct member offsets. -
ULCODEPAGERANGE1
public static final int ULCODEPAGERANGE1The struct member offsets. -
ULCODEPAGERANGE2
public static final int ULCODEPAGERANGE2The struct member offsets. -
SXHEIGHT
public static final int SXHEIGHTThe struct member offsets. -
SCAPHEIGHT
public static final int SCAPHEIGHTThe struct member offsets. -
USDEFAULTCHAR
public static final int USDEFAULTCHARThe struct member offsets. -
USBREAKCHAR
public static final int USBREAKCHARThe struct member offsets. -
USMAXCONTEXT
public static final int USMAXCONTEXTThe struct member offsets. -
USLOWEROPTICALPOINTSIZE
public static final int USLOWEROPTICALPOINTSIZEThe struct member offsets. -
USUPPEROPTICALPOINTSIZE
public static final int USUPPEROPTICALPOINTSIZEThe struct member offsets.
-
-
Constructor Details
-
TT_OS2
Creates aTT_OS2
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)
. -
version
public short version()- Returns:
- the value of the
version
field.
-
xAvgCharWidth
public short xAvgCharWidth()- Returns:
- the value of the
xAvgCharWidth
field.
-
usWeightClass
public short usWeightClass()- Returns:
- the value of the
usWeightClass
field.
-
usWidthClass
public short usWidthClass()- Returns:
- the value of the
usWidthClass
field.
-
fsType
public short fsType()- Returns:
- the value of the
fsType
field.
-
ySubscriptXSize
public short ySubscriptXSize()- Returns:
- the value of the
ySubscriptXSize
field.
-
ySubscriptYSize
public short ySubscriptYSize()- Returns:
- the value of the
ySubscriptYSize
field.
-
ySubscriptXOffset
public short ySubscriptXOffset()- Returns:
- the value of the
ySubscriptXOffset
field.
-
ySubscriptYOffset
public short ySubscriptYOffset()- Returns:
- the value of the
ySubscriptYOffset
field.
-
ySuperscriptXSize
public short ySuperscriptXSize()- Returns:
- the value of the
ySuperscriptXSize
field.
-
ySuperscriptYSize
public short ySuperscriptYSize()- Returns:
- the value of the
ySuperscriptYSize
field.
-
ySuperscriptXOffset
public short ySuperscriptXOffset()- Returns:
- the value of the
ySuperscriptXOffset
field.
-
ySuperscriptYOffset
public short ySuperscriptYOffset()- Returns:
- the value of the
ySuperscriptYOffset
field.
-
yStrikeoutSize
public short yStrikeoutSize()- Returns:
- the value of the
yStrikeoutSize
field.
-
yStrikeoutPosition
public short yStrikeoutPosition()- Returns:
- the value of the
yStrikeoutPosition
field.
-
sFamilyClass
public short sFamilyClass()- Returns:
- the value of the
sFamilyClass
field.
-
panose
- Returns:
- a
ByteBuffer
view of thepanose
field.
-
panose
public byte panose(int index) - Returns:
- the value at the specified index of the
panose
field.
-
ulUnicodeRange1
public long ulUnicodeRange1()- Returns:
- the value of the
ulUnicodeRange1
field.
-
ulUnicodeRange2
public long ulUnicodeRange2()- Returns:
- the value of the
ulUnicodeRange2
field.
-
ulUnicodeRange3
public long ulUnicodeRange3()- Returns:
- the value of the
ulUnicodeRange3
field.
-
ulUnicodeRange4
public long ulUnicodeRange4()- Returns:
- the value of the
ulUnicodeRange4
field.
-
achVendID
- Returns:
- a
ByteBuffer
view of theachVendID
field.
-
achVendID
public byte achVendID(int index) - Returns:
- the value at the specified index of the
achVendID
field.
-
fsSelection
public short fsSelection()- Returns:
- the value of the
fsSelection
field.
-
usFirstCharIndex
public short usFirstCharIndex()- Returns:
- the value of the
usFirstCharIndex
field.
-
usLastCharIndex
public short usLastCharIndex()- Returns:
- the value of the
usLastCharIndex
field.
-
sTypoAscender
public short sTypoAscender()- Returns:
- the value of the
sTypoAscender
field.
-
sTypoDescender
public short sTypoDescender()- Returns:
- the value of the
sTypoDescender
field.
-
sTypoLineGap
public short sTypoLineGap()- Returns:
- the value of the
sTypoLineGap
field.
-
usWinAscent
public short usWinAscent()- Returns:
- the value of the
usWinAscent
field.
-
usWinDescent
public short usWinDescent()- Returns:
- the value of the
usWinDescent
field.
-
ulCodePageRange1
public long ulCodePageRange1()- Returns:
- the value of the
ulCodePageRange1
field.
-
ulCodePageRange2
public long ulCodePageRange2()- Returns:
- the value of the
ulCodePageRange2
field.
-
sxHeight
public short sxHeight()- Returns:
- the value of the
sxHeight
field.
-
sCapHeight
public short sCapHeight()- Returns:
- the value of the
sCapHeight
field.
-
usDefaultChar
public short usDefaultChar()- Returns:
- the value of the
usDefaultChar
field.
-
usBreakChar
public short usBreakChar()- Returns:
- the value of the
usBreakChar
field.
-
usMaxContext
public short usMaxContext()- Returns:
- the value of the
usMaxContext
field.
-
usLowerOpticalPointSize
public short usLowerOpticalPointSize()- Returns:
- the value of the
usLowerOpticalPointSize
field.
-
usUpperOpticalPointSize
public short usUpperOpticalPointSize()- Returns:
- the value of the
usUpperOpticalPointSize
field.
-
create
Returns a newTT_OS2
instance for the specified memory address. -
createSafe
-
create
Create aTT_OS2.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
nversion
public static short nversion(long struct) Unsafe version ofversion()
. -
nxAvgCharWidth
public static short nxAvgCharWidth(long struct) Unsafe version ofxAvgCharWidth()
. -
nusWeightClass
public static short nusWeightClass(long struct) Unsafe version ofusWeightClass()
. -
nusWidthClass
public static short nusWidthClass(long struct) Unsafe version ofusWidthClass()
. -
nfsType
public static short nfsType(long struct) Unsafe version offsType()
. -
nySubscriptXSize
public static short nySubscriptXSize(long struct) Unsafe version ofySubscriptXSize()
. -
nySubscriptYSize
public static short nySubscriptYSize(long struct) Unsafe version ofySubscriptYSize()
. -
nySubscriptXOffset
public static short nySubscriptXOffset(long struct) Unsafe version ofySubscriptXOffset()
. -
nySubscriptYOffset
public static short nySubscriptYOffset(long struct) Unsafe version ofySubscriptYOffset()
. -
nySuperscriptXSize
public static short nySuperscriptXSize(long struct) Unsafe version ofySuperscriptXSize()
. -
nySuperscriptYSize
public static short nySuperscriptYSize(long struct) Unsafe version ofySuperscriptYSize()
. -
nySuperscriptXOffset
public static short nySuperscriptXOffset(long struct) Unsafe version ofySuperscriptXOffset()
. -
nySuperscriptYOffset
public static short nySuperscriptYOffset(long struct) Unsafe version ofySuperscriptYOffset()
. -
nyStrikeoutSize
public static short nyStrikeoutSize(long struct) Unsafe version ofyStrikeoutSize()
. -
nyStrikeoutPosition
public static short nyStrikeoutPosition(long struct) Unsafe version ofyStrikeoutPosition()
. -
nsFamilyClass
public static short nsFamilyClass(long struct) Unsafe version ofsFamilyClass()
. -
npanose
Unsafe version ofpanose()
. -
npanose
public static byte npanose(long struct, int index) Unsafe version ofpanose
. -
nulUnicodeRange1
public static long nulUnicodeRange1(long struct) Unsafe version ofulUnicodeRange1()
. -
nulUnicodeRange2
public static long nulUnicodeRange2(long struct) Unsafe version ofulUnicodeRange2()
. -
nulUnicodeRange3
public static long nulUnicodeRange3(long struct) Unsafe version ofulUnicodeRange3()
. -
nulUnicodeRange4
public static long nulUnicodeRange4(long struct) Unsafe version ofulUnicodeRange4()
. -
nachVendID
Unsafe version ofachVendID()
. -
nachVendID
public static byte nachVendID(long struct, int index) Unsafe version ofachVendID
. -
nfsSelection
public static short nfsSelection(long struct) Unsafe version offsSelection()
. -
nusFirstCharIndex
public static short nusFirstCharIndex(long struct) Unsafe version ofusFirstCharIndex()
. -
nusLastCharIndex
public static short nusLastCharIndex(long struct) Unsafe version ofusLastCharIndex()
. -
nsTypoAscender
public static short nsTypoAscender(long struct) Unsafe version ofsTypoAscender()
. -
nsTypoDescender
public static short nsTypoDescender(long struct) Unsafe version ofsTypoDescender()
. -
nsTypoLineGap
public static short nsTypoLineGap(long struct) Unsafe version ofsTypoLineGap()
. -
nusWinAscent
public static short nusWinAscent(long struct) Unsafe version ofusWinAscent()
. -
nusWinDescent
public static short nusWinDescent(long struct) Unsafe version ofusWinDescent()
. -
nulCodePageRange1
public static long nulCodePageRange1(long struct) Unsafe version ofulCodePageRange1()
. -
nulCodePageRange2
public static long nulCodePageRange2(long struct) Unsafe version ofulCodePageRange2()
. -
nsxHeight
public static short nsxHeight(long struct) Unsafe version ofsxHeight()
. -
nsCapHeight
public static short nsCapHeight(long struct) Unsafe version ofsCapHeight()
. -
nusDefaultChar
public static short nusDefaultChar(long struct) Unsafe version ofusDefaultChar()
. -
nusBreakChar
public static short nusBreakChar(long struct) Unsafe version ofusBreakChar()
. -
nusMaxContext
public static short nusMaxContext(long struct) Unsafe version ofusMaxContext()
. -
nusLowerOpticalPointSize
public static short nusLowerOpticalPointSize(long struct) Unsafe version ofusLowerOpticalPointSize()
. -
nusUpperOpticalPointSize
public static short nusUpperOpticalPointSize(long struct) Unsafe version ofusUpperOpticalPointSize()
.
-