Class TT_OS2.Buffer
- Enclosing class:
TT_OS2
An array of
TT_OS2 structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface 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 StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class 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 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
- Returns:
- the value of the
versionfield.
-
xAvgCharWidth
- Returns:
- the value of the
xAvgCharWidthfield.
-
usWeightClass
- Returns:
- the value of the
usWeightClassfield.
-
usWidthClass
- Returns:
- the value of the
usWidthClassfield.
-
fsType
- Returns:
- the value of the
fsTypefield.
-
ySubscriptXSize
- Returns:
- the value of the
ySubscriptXSizefield.
-
ySubscriptYSize
- Returns:
- the value of the
ySubscriptYSizefield.
-
ySubscriptXOffset
- Returns:
- the value of the
ySubscriptXOffsetfield.
-
ySubscriptYOffset
- Returns:
- the value of the
ySubscriptYOffsetfield.
-
ySuperscriptXSize
- Returns:
- the value of the
ySuperscriptXSizefield.
-
ySuperscriptYSize
- Returns:
- the value of the
ySuperscriptYSizefield.
-
ySuperscriptXOffset
- Returns:
- the value of the
ySuperscriptXOffsetfield.
-
ySuperscriptYOffset
- Returns:
- the value of the
ySuperscriptYOffsetfield.
-
yStrikeoutSize
- Returns:
- the value of the
yStrikeoutSizefield.
-
yStrikeoutPosition
- Returns:
- the value of the
yStrikeoutPositionfield.
-
sFamilyClass
- Returns:
- the value of the
sFamilyClassfield.
-
panose
- Returns:
- a
ByteBufferview of thepanosefield.
-
panose
- Returns:
- the value at the specified index of the
panosefield.
-
ulUnicodeRange1
- Returns:
- the value of the
ulUnicodeRange1field.
-
ulUnicodeRange2
- Returns:
- the value of the
ulUnicodeRange2field.
-
ulUnicodeRange3
- Returns:
- the value of the
ulUnicodeRange3field.
-
ulUnicodeRange4
- Returns:
- the value of the
ulUnicodeRange4field.
-
achVendID
- Returns:
- a
ByteBufferview of theachVendIDfield.
-
achVendID
- Returns:
- the value at the specified index of the
achVendIDfield.
-
fsSelection
- Returns:
- the value of the
fsSelectionfield.
-
usFirstCharIndex
- Returns:
- the value of the
usFirstCharIndexfield.
-
usLastCharIndex
- Returns:
- the value of the
usLastCharIndexfield.
-
sTypoAscender
- Returns:
- the value of the
sTypoAscenderfield.
-
sTypoDescender
- Returns:
- the value of the
sTypoDescenderfield.
-
sTypoLineGap
- Returns:
- the value of the
sTypoLineGapfield.
-
usWinAscent
- Returns:
- the value of the
usWinAscentfield.
-
usWinDescent
- Returns:
- the value of the
usWinDescentfield.
-
ulCodePageRange1
- Returns:
- the value of the
ulCodePageRange1field.
-
ulCodePageRange2
- Returns:
- the value of the
ulCodePageRange2field.
-
sxHeight
- Returns:
- the value of the
sxHeightfield.
-
sCapHeight
- Returns:
- the value of the
sCapHeightfield.
-
usDefaultChar
- Returns:
- the value of the
usDefaultCharfield.
-
usBreakChar
- Returns:
- the value of the
usBreakCharfield.
-
usMaxContext
- Returns:
- the value of the
usMaxContextfield.
-
usLowerOpticalPointSize
- Returns:
- the value of the
usLowerOpticalPointSizefield.
-
usUpperOpticalPointSize
- Returns:
- the value of the
usUpperOpticalPointSizefield.
-