| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private int[] | |
| public static final byte | ON_CURVE
if set, the point is on the curve. |
| public static final byte | REPEAT
if set, the next byte specifies the number of additional times this set of flags is to be repeated. |
| public static final byte | X_DUAL
This flag as two meanings, depending on how the x-short vector flags is set. |
| public static final byte | X_SHORT_VECTOR
if set, the x-coordinate is 1 byte long. |
| public static final byte | Y_DUAL
This flag as two meanings, depending on how the y-short vector flags is set. |
| public static final byte | Y_SHORT_VECTOR
if set, the y-coordinate is 1 byte long. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | getContourCount()
Implements org. Returns the number of contours. |
| public int[] | Returns: an array containing the hinting instructions.Returns the hinting instructions. |
| pack-priv void | readInstructions(TTFDataStream
the stream to be read bais, int the number of instructions to be read count)Read the hinting instructions. |
| public void | resolve()
Implements org. Resolve all parts of an composite glyph. |
| contourCount | back to summary |
|---|---|
| private final int contourCount | |
| instructions | back to summary |
|---|---|
| private int[] instructions | |
| ON_CURVE | back to summary |
|---|---|
| public static final byte ON_CURVE if set, the point is on the curve. | |
| REPEAT | back to summary |
|---|---|
| public static final byte REPEAT if set, the next byte specifies the number of additional times this set of flags is to be repeated. | |
| X_DUAL | back to summary |
|---|---|
| public static final byte X_DUAL This flag as two meanings, depending on how the x-short vector flags is set. If the x-short vector is set, this bit describes the sign of the value, with 1 equaling positive and 0 positive. If the x-short vector is not set and this bit is also not set, the current x-coordinate is a signed 16-bit delta vector. | |
| X_SHORT_VECTOR | back to summary |
|---|---|
| public static final byte X_SHORT_VECTOR if set, the x-coordinate is 1 byte long. | |
| Y_DUAL | back to summary |
|---|---|
| public static final byte Y_DUAL This flag as two meanings, depending on how the y-short vector flags is set. If the y-short vector is set, this bit describes the sign of the value, with 1 equaling positive and 0 positive. If the y-short vector is not set and this bit is also not set, the current y-coordinate is a signed 16-bit delta vector. | |
| Y_SHORT_VECTOR | back to summary |
|---|---|
| public static final byte Y_SHORT_VECTOR if set, the y-coordinate is 1 byte long. | |
| GlyfDescript | back to summary |
|---|---|
| pack-priv GlyfDescript(short numberOfContours) Constructor.
| |
| getContourCount | back to summary |
|---|---|
| public int getContourCount() Implements org. Doc from org. Returns the number of contours.
| |
| getInstructions | back to summary |
|---|---|
| public int[] getInstructions() Returns the hinting instructions.
| |
| readInstructions | back to summary |
|---|---|
| pack-priv void readInstructions(TTFDataStream bais, int count) throws IOException Read the hinting instructions.
| |
| resolve | back to summary |
|---|---|
| public void resolve() Implements org. Doc from org. Resolve all parts of an composite glyph.
| |