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.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbyteachVendID(int index) shortshortfsType()panose()bytepanose(int index) shortshortshortshortshortshortsxHeight()longlonglonglonglonglongshortshortshortshortshortshortshortshortshortshortshortshortversion()shortshortshortshortshortshortshortshortshortshortshortMethods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods 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, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
-
Constructor Details
-
Buffer
Creates a newTT_OS2.Bufferinstance 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
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.
-