Top Description Inners Fields Constructors Methods
org.lwjgl.util.freetype

public Class TT_Postscript

extends Struct<TT_Postscript>
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

A structure to model a TrueType 'post' table.

Layout


struct TT_Postscript {
    FT_Fixed FormatType;
    FT_Fixed italicAngle;
    FT_Short underlinePosition;
    FT_Short underlineThickness;
    FT_ULong isFixedPitch;
    FT_ULong minMemType42;
    FT_ULong maxMemType42;
    FT_ULong minMemType1;
    FT_ULong maxMemType1;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
TT_Postscript.Buffer

An array of TT_Postscript structs.

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
FORMATTYPE

The struct member offsets.

public static final int
ISFIXEDPITCH

The struct member offsets.

public static final int
ITALICANGLE

The struct member offsets.

public static final int
MAXMEMTYPE1

The struct member offsets.

public static final int
MAXMEMTYPE42

The struct member offsets.

public static final int
MINMEMTYPE1

The struct member offsets.

public static final int
MINMEMTYPE42

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
UNDERLINEPOSITION

The struct member offsets.

public static final int
UNDERLINETHICKNESS

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
TT_Postscript(long address, ByteBuffer container)

public
TT_Postscript(ByteBuffer container)

Creates a TT_Postscript instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
protected TT_Postscript
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static TT_Postscript
create(long address)

Returns a new TT_Postscript instance for the specified memory address.

public static TT_Postscript.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a TT_Postscript.Buffer instance at the specified memory.

public static TT_Postscript
createSafe(long address)

Like create, but returns null if address is NULL.

public static TT_Postscript.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public long

Returns:

the value of the FormatType field.
FormatType
()

public long

Returns:

the value of the isFixedPitch field.
isFixedPitch
()

public long

Returns:

the value of the italicAngle field.
italicAngle
()

public long

Returns:

the value of the maxMemType1 field.
maxMemType1
()

public long

Returns:

the value of the maxMemType42 field.
maxMemType42
()

public long

Returns:

the value of the minMemType1 field.
minMemType1
()

public long

Returns:

the value of the minMemType42 field.
minMemType42
()

public static long
nFormatType(long struct)

Unsafe version of FormatType.

public static long
nisFixedPitch(long struct)

Unsafe version of isFixedPitch.

public static long
nitalicAngle(long struct)

Unsafe version of italicAngle.

public static long
nmaxMemType1(long struct)

Unsafe version of maxMemType1.

public static long
nmaxMemType42(long struct)

Unsafe version of maxMemType42.

public static long
nminMemType1(long struct)

Unsafe version of minMemType1.

public static long
nminMemType42(long struct)

Unsafe version of minMemType42.

public static short
nunderlinePosition(long struct)

Unsafe version of underlinePosition.

public static short
nunderlineThickness(long struct)

Unsafe version of underlineThickness.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public short

Returns:

the value of the underlinePosition field.
underlinePosition
()

public short

Returns:

the value of the underlineThickness field.
underlineThickness
()

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

FORMATTYPEback to summary
public static final int FORMATTYPE

The struct member offsets.

ISFIXEDPITCHback to summary
public static final int ISFIXEDPITCH

The struct member offsets.

ITALICANGLEback to summary
public static final int ITALICANGLE

The struct member offsets.

MAXMEMTYPE1back to summary
public static final int MAXMEMTYPE1

The struct member offsets.

MAXMEMTYPE42back to summary
public static final int MAXMEMTYPE42

The struct member offsets.

MINMEMTYPE1back to summary
public static final int MINMEMTYPE1

The struct member offsets.

MINMEMTYPE42back to summary
public static final int MINMEMTYPE42

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

UNDERLINEPOSITIONback to summary
public static final int UNDERLINEPOSITION

The struct member offsets.

UNDERLINETHICKNESSback to summary
public static final int UNDERLINETHICKNESS

The struct member offsets.

Constructor Detail

TT_Postscriptback to summary
protected TT_Postscript(long address, ByteBuffer container)
TT_Postscriptback to summary
public TT_Postscript(ByteBuffer container)

Creates a TT_Postscript instance at the current position of the specified ByteBuffer 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 Detail

createback to summary
protected TT_Postscript create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static TT_Postscript create(long address)

Returns a new TT_Postscript instance for the specified memory address.

createback to summary
public static TT_Postscript.Buffer create(long address, int capacity)

Create a TT_Postscript.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static TT_Postscript createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static TT_Postscript.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
FormatTypeback to summary
public long FormatType()
Returns:long

the value of the FormatType field.

Annotations
@NativeType:FT_Fixed
isFixedPitchback to summary
public long isFixedPitch()
Returns:long

the value of the isFixedPitch field.

Annotations
@NativeType:FT_ULong
italicAngleback to summary
public long italicAngle()
Returns:long

the value of the italicAngle field.

Annotations
@NativeType:FT_Fixed
maxMemType1back to summary
public long maxMemType1()
Returns:long

the value of the maxMemType1 field.

Annotations
@NativeType:FT_ULong
maxMemType42back to summary
public long maxMemType42()
Returns:long

the value of the maxMemType42 field.

Annotations
@NativeType:FT_ULong
minMemType1back to summary
public long minMemType1()
Returns:long

the value of the minMemType1 field.

Annotations
@NativeType:FT_ULong
minMemType42back to summary
public long minMemType42()
Returns:long

the value of the minMemType42 field.

Annotations
@NativeType:FT_ULong
nFormatTypeback to summary
public static long nFormatType(long struct)

Unsafe version of FormatType.

nisFixedPitchback to summary
public static long nisFixedPitch(long struct)

Unsafe version of isFixedPitch.

nitalicAngleback to summary
public static long nitalicAngle(long struct)

Unsafe version of italicAngle.

nmaxMemType1back to summary
public static long nmaxMemType1(long struct)

Unsafe version of maxMemType1.

nmaxMemType42back to summary
public static long nmaxMemType42(long struct)

Unsafe version of maxMemType42.

nminMemType1back to summary
public static long nminMemType1(long struct)

Unsafe version of minMemType1.

nminMemType42back to summary
public static long nminMemType42(long struct)

Unsafe version of minMemType42.

nunderlinePositionback to summary
public static short nunderlinePosition(long struct)

Unsafe version of underlinePosition.

nunderlineThicknessback to summary
public static short nunderlineThickness(long struct)

Unsafe version of underlineThickness.

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
underlinePositionback to summary
public short underlinePosition()
Returns:short

the value of the underlinePosition field.

Annotations
@NativeType:FT_Short
underlineThicknessback to summary
public short underlineThickness()
Returns:short

the value of the underlineThickness field.

Annotations
@NativeType:FT_Short
org.lwjgl.util.freetype back to summary

public Class TT_Postscript.Buffer

extends StructBuffer<TT_Postscript, TT_Postscript.Buffer>
Class Inheritance

An array of TT_Postscript structs.

Field Summary

Modifier and TypeField and Description
private static final TT_Postscript

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new TT_Postscript.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

the value of the FormatType field.
FormatType
()

protected TT_Postscript
public long

Returns:

the value of the isFixedPitch field.
isFixedPitch
()

public long

Returns:

the value of the italicAngle field.
italicAngle
()

public long

Returns:

the value of the maxMemType1 field.
maxMemType1
()

public long

Returns:

the value of the maxMemType42 field.
maxMemType42
()

public long

Returns:

the value of the minMemType1 field.
minMemType1
()

public long

Returns:

the value of the minMemType42 field.
minMemType42
()

protected TT_Postscript.Buffer
public short

Returns:

the value of the underlinePosition field.
underlinePosition
()

public short

Returns:

the value of the underlineThickness field.
underlineThickness
()

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final TT_Postscript ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new TT_Postscript.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_Postscript#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

FormatTypeback to summary
public long FormatType()
Returns:long

the value of the FormatType field.

Annotations
@NativeType:FT_Fixed
getElementFactoryback to summary
protected TT_Postscript getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
isFixedPitchback to summary
public long isFixedPitch()
Returns:long

the value of the isFixedPitch field.

Annotations
@NativeType:FT_ULong
italicAngleback to summary
public long italicAngle()
Returns:long

the value of the italicAngle field.

Annotations
@NativeType:FT_Fixed
maxMemType1back to summary
public long maxMemType1()
Returns:long

the value of the maxMemType1 field.

Annotations
@NativeType:FT_ULong
maxMemType42back to summary
public long maxMemType42()
Returns:long

the value of the maxMemType42 field.

Annotations
@NativeType:FT_ULong
minMemType1back to summary
public long minMemType1()
Returns:long

the value of the minMemType1 field.

Annotations
@NativeType:FT_ULong
minMemType42back to summary
public long minMemType42()
Returns:long

the value of the minMemType42 field.

Annotations
@NativeType:FT_ULong
selfback to summary
protected TT_Postscript.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
underlinePositionback to summary
public short underlinePosition()
Returns:short

the value of the underlinePosition field.

Annotations
@NativeType:FT_Short
underlineThicknessback to summary
public short underlineThickness()
Returns:short

the value of the underlineThickness field.

Annotations
@NativeType:FT_Short