Package org.lwjgl.util.freetype
Class TT_OS2.Buffer
- Enclosing class:
TT_OS2
An array of
TT_OS2
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newTT_OS2.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbyte
achVendID
(int index) short
short
fsType()
panose()
byte
panose
(int index) short
short
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.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
-
Constructor Details
-
Buffer
Creates a newTT_OS2.Buffer
instance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
TT_OS2.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
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.
-