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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct member offsets.static final intThe struct alignment 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.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.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.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
ConstructorsConstructorDescriptionTT_OS2(ByteBuffer container) Creates aTT_OS2instance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbyteachVendID(int index) static TT_OS2create(long address) Returns a newTT_OS2instance for the specified memory address.static TT_OS2.Buffercreate(long address, int capacity) Create aTT_OS2.Bufferinstance at the specified memory.static @Nullable TT_OS2createSafe(long address) static @Nullable TT_OS2.BuffercreateSafe(long address, int capacity) shortshortfsType()static ByteBuffernachVendID(long struct) Unsafe version ofachVendID().static bytenachVendID(long struct, int index) Unsafe version ofachVendID.static shortnfsSelection(long struct) Unsafe version offsSelection().static shortnfsType(long struct) Unsafe version offsType().static ByteBuffernpanose(long struct) Unsafe version ofpanose().static bytenpanose(long struct, int index) Unsafe version ofpanose.static shortnsCapHeight(long struct) Unsafe version ofsCapHeight().static shortnsFamilyClass(long struct) Unsafe version ofsFamilyClass().static shortnsTypoAscender(long struct) Unsafe version ofsTypoAscender().static shortnsTypoDescender(long struct) Unsafe version ofsTypoDescender().static shortnsTypoLineGap(long struct) Unsafe version ofsTypoLineGap().static shortnsxHeight(long struct) Unsafe version ofsxHeight().static longnulCodePageRange1(long struct) Unsafe version ofulCodePageRange1().static longnulCodePageRange2(long struct) Unsafe version ofulCodePageRange2().static longnulUnicodeRange1(long struct) Unsafe version ofulUnicodeRange1().static longnulUnicodeRange2(long struct) Unsafe version ofulUnicodeRange2().static longnulUnicodeRange3(long struct) Unsafe version ofulUnicodeRange3().static longnulUnicodeRange4(long struct) Unsafe version ofulUnicodeRange4().static shortnusBreakChar(long struct) Unsafe version ofusBreakChar().static shortnusDefaultChar(long struct) Unsafe version ofusDefaultChar().static shortnusFirstCharIndex(long struct) Unsafe version ofusFirstCharIndex().static shortnusLastCharIndex(long struct) Unsafe version ofusLastCharIndex().static shortnusLowerOpticalPointSize(long struct) Unsafe version ofusLowerOpticalPointSize().static shortnusMaxContext(long struct) Unsafe version ofusMaxContext().static shortnusUpperOpticalPointSize(long struct) Unsafe version ofusUpperOpticalPointSize().static shortnusWeightClass(long struct) Unsafe version ofusWeightClass().static shortnusWidthClass(long struct) Unsafe version ofusWidthClass().static shortnusWinAscent(long struct) Unsafe version ofusWinAscent().static shortnusWinDescent(long struct) Unsafe version ofusWinDescent().static shortnversion(long struct) Unsafe version ofversion().static shortnxAvgCharWidth(long struct) Unsafe version ofxAvgCharWidth().static shortnyStrikeoutPosition(long struct) Unsafe version ofyStrikeoutPosition().static shortnyStrikeoutSize(long struct) Unsafe version ofyStrikeoutSize().static shortnySubscriptXOffset(long struct) Unsafe version ofySubscriptXOffset().static shortnySubscriptXSize(long struct) Unsafe version ofySubscriptXSize().static shortnySubscriptYOffset(long struct) Unsafe version ofySubscriptYOffset().static shortnySubscriptYSize(long struct) Unsafe version ofySubscriptYSize().static shortnySuperscriptXOffset(long struct) Unsafe version ofySuperscriptXOffset().static shortnySuperscriptXSize(long struct) Unsafe version ofySuperscriptXSize().static shortnySuperscriptYOffset(long struct) Unsafe version ofySuperscriptYOffset().static shortnySuperscriptYSize(long struct) Unsafe version ofySuperscriptYSize().panose()bytepanose(int index) shortshortintsizeof()Returnssizeof(struct).shortshortshortshortsxHeight()longlonglonglonglonglongshortshortshortshortshortshortshortshortshortshortshortshortversion()shortshortshortshortshortshortshortshortshortshortshortMethods 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_OS2instance 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). -
version
public short version()- Returns:
- the value of the
versionfield.
-
xAvgCharWidth
public short xAvgCharWidth()- Returns:
- the value of the
xAvgCharWidthfield.
-
usWeightClass
public short usWeightClass()- Returns:
- the value of the
usWeightClassfield.
-
usWidthClass
public short usWidthClass()- Returns:
- the value of the
usWidthClassfield.
-
fsType
public short fsType()- Returns:
- the value of the
fsTypefield.
-
ySubscriptXSize
public short ySubscriptXSize()- Returns:
- the value of the
ySubscriptXSizefield.
-
ySubscriptYSize
public short ySubscriptYSize()- Returns:
- the value of the
ySubscriptYSizefield.
-
ySubscriptXOffset
public short ySubscriptXOffset()- Returns:
- the value of the
ySubscriptXOffsetfield.
-
ySubscriptYOffset
public short ySubscriptYOffset()- Returns:
- the value of the
ySubscriptYOffsetfield.
-
ySuperscriptXSize
public short ySuperscriptXSize()- Returns:
- the value of the
ySuperscriptXSizefield.
-
ySuperscriptYSize
public short ySuperscriptYSize()- Returns:
- the value of the
ySuperscriptYSizefield.
-
ySuperscriptXOffset
public short ySuperscriptXOffset()- Returns:
- the value of the
ySuperscriptXOffsetfield.
-
ySuperscriptYOffset
public short ySuperscriptYOffset()- Returns:
- the value of the
ySuperscriptYOffsetfield.
-
yStrikeoutSize
public short yStrikeoutSize()- Returns:
- the value of the
yStrikeoutSizefield.
-
yStrikeoutPosition
public short yStrikeoutPosition()- Returns:
- the value of the
yStrikeoutPositionfield.
-
sFamilyClass
public short sFamilyClass()- Returns:
- the value of the
sFamilyClassfield.
-
panose
- Returns:
- a
ByteBufferview of thepanosefield.
-
panose
public byte panose(int index) - Returns:
- the value at the specified index of the
panosefield.
-
ulUnicodeRange1
public long ulUnicodeRange1()- Returns:
- the value of the
ulUnicodeRange1field.
-
ulUnicodeRange2
public long ulUnicodeRange2()- Returns:
- the value of the
ulUnicodeRange2field.
-
ulUnicodeRange3
public long ulUnicodeRange3()- Returns:
- the value of the
ulUnicodeRange3field.
-
ulUnicodeRange4
public long ulUnicodeRange4()- Returns:
- the value of the
ulUnicodeRange4field.
-
achVendID
- Returns:
- a
ByteBufferview of theachVendIDfield.
-
achVendID
public byte achVendID(int index) - Returns:
- the value at the specified index of the
achVendIDfield.
-
fsSelection
public short fsSelection()- Returns:
- the value of the
fsSelectionfield.
-
usFirstCharIndex
public short usFirstCharIndex()- Returns:
- the value of the
usFirstCharIndexfield.
-
usLastCharIndex
public short usLastCharIndex()- Returns:
- the value of the
usLastCharIndexfield.
-
sTypoAscender
public short sTypoAscender()- Returns:
- the value of the
sTypoAscenderfield.
-
sTypoDescender
public short sTypoDescender()- Returns:
- the value of the
sTypoDescenderfield.
-
sTypoLineGap
public short sTypoLineGap()- Returns:
- the value of the
sTypoLineGapfield.
-
usWinAscent
public short usWinAscent()- Returns:
- the value of the
usWinAscentfield.
-
usWinDescent
public short usWinDescent()- Returns:
- the value of the
usWinDescentfield.
-
ulCodePageRange1
public long ulCodePageRange1()- Returns:
- the value of the
ulCodePageRange1field.
-
ulCodePageRange2
public long ulCodePageRange2()- Returns:
- the value of the
ulCodePageRange2field.
-
sxHeight
public short sxHeight()- Returns:
- the value of the
sxHeightfield.
-
sCapHeight
public short sCapHeight()- Returns:
- the value of the
sCapHeightfield.
-
usDefaultChar
public short usDefaultChar()- Returns:
- the value of the
usDefaultCharfield.
-
usBreakChar
public short usBreakChar()- Returns:
- the value of the
usBreakCharfield.
-
usMaxContext
public short usMaxContext()- Returns:
- the value of the
usMaxContextfield.
-
usLowerOpticalPointSize
public short usLowerOpticalPointSize()- Returns:
- the value of the
usLowerOpticalPointSizefield.
-
usUpperOpticalPointSize
public short usUpperOpticalPointSize()- Returns:
- the value of the
usUpperOpticalPointSizefield.
-
create
Returns a newTT_OS2instance for the specified memory address. -
createSafe
-
create
Create aTT_OS2.Bufferinstance 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().
-