| Modifier and Type | Field and Description |
|---|---|
| protected static final short | ARG_1_AND_2_ARE_WORDS
If set, the arguments are words; otherwise, they are bytes. |
| protected static final short | ARGS_ARE_XY_VALUES
If set, the arguments are xy values; otherwise they are points. |
| private final short | |
| private final short | |
| private int | |
| private int | |
| private final short | |
| private final int | |
| protected static final short | MORE_COMPONENTS
Indicates at least one more glyph after this one. |
| private int | |
| private int | |
| protected static final short | ROUND_XY_TO_GRID
If set, xy values are rounded to those of the closest grid lines. |
| private double | |
| private double | |
| protected static final short | USE_MY_METRICS
If set, this forces the aw and lsb (and rsb) for the composite to be equal to those from this original glyph. |
| protected static final short | WE_HAVE_A_SCALE
If set, there is a simple scale; otherwise, scale = 1.0. |
| protected static final short | WE_HAVE_A_TWO_BY_TWO
There is a 2 by2 transformation that will be used to scale the component. |
| protected static final short | WE_HAVE_AN_X_AND_Y_SCALE
The x direction will use a different scale from the y direction. |
| protected static final short | WE_HAVE_INSTRUCTIONS
Following the last component are instructions for the composite character. |
| private double | |
| private int | |
| private double | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public short | |
| public short | |
| public int | |
| public int | |
| public short | |
| public int | |
| public double | |
| public double | |
| public double | |
| public int | |
| public double | |
| public int | |
| public int | Returns: The transformed x-coordinateThe x-coordinate of the point to transform x, int The y-coordinate of the point to transform y)Transforms an x-coordinate of a point for this component. |
| public int | Returns: The transformed y-coordinateThe x-coordinate of the point to transform x, int The y-coordinate of the point to transform y)Transforms a y-coordinate of a point for this component. |
| protected void | |
| protected void |
| ARG_1_AND_2_ARE_WORDS | back to summary |
|---|---|
| protected static final short ARG_1_AND_2_ARE_WORDS If set, the arguments are words; otherwise, they are bytes. | |
| ARGS_ARE_XY_VALUES | back to summary |
|---|---|
| protected static final short ARGS_ARE_XY_VALUES If set, the arguments are xy values; otherwise they are points. | |
| argument1 | back to summary |
|---|---|
| private final short argument1 | |
| argument2 | back to summary |
|---|---|
| private final short argument2 | |
| firstContour | back to summary |
|---|---|
| private int firstContour | |
| firstIndex | back to summary |
|---|---|
| private int firstIndex | |
| flags | back to summary |
|---|---|
| private final short flags | |
| glyphIndex | back to summary |
|---|---|
| private final int glyphIndex | |
| MORE_COMPONENTS | back to summary |
|---|---|
| protected static final short MORE_COMPONENTS Indicates at least one more glyph after this one. | |
| point1 | back to summary |
|---|---|
| private int point1 | |
| point2 | back to summary |
|---|---|
| private int point2 | |
| ROUND_XY_TO_GRID | back to summary |
|---|---|
| protected static final short ROUND_XY_TO_GRID If set, xy values are rounded to those of the closest grid lines. | |
| scale01 | back to summary |
|---|---|
| private double scale01 | |
| scale10 | back to summary |
|---|---|
| private double scale10 | |
| USE_MY_METRICS | back to summary |
|---|---|
| protected static final short USE_MY_METRICS If set, this forces the aw and lsb (and rsb) for the composite to be equal to those from this original glyph. | |
| WE_HAVE_A_SCALE | back to summary |
|---|---|
| protected static final short WE_HAVE_A_SCALE If set, there is a simple scale; otherwise, scale = 1.0. | |
| WE_HAVE_A_TWO_BY_TWO | back to summary |
|---|---|
| protected static final short WE_HAVE_A_TWO_BY_TWO There is a 2 by2 transformation that will be used to scale the component. | |
| WE_HAVE_AN_X_AND_Y_SCALE | back to summary |
|---|---|
| protected static final short WE_HAVE_AN_X_AND_Y_SCALE The x direction will use a different scale from the y direction. | |
| WE_HAVE_INSTRUCTIONS | back to summary |
|---|---|
| protected static final short WE_HAVE_INSTRUCTIONS Following the last component are instructions for the composite character. | |
| xscale | back to summary |
|---|---|
| private double xscale | |
| xtranslate | back to summary |
|---|---|
| private int xtranslate | |
| yscale | back to summary |
|---|---|
| private double yscale | |
| ytranslate | back to summary |
|---|---|
| private int ytranslate | |
| GlyfCompositeComp | back to summary |
|---|---|
| pack-priv GlyfCompositeComp(TTFDataStream bais) throws IOException Constructor.
| |
| getArgument1 | back to summary |
|---|---|
| public short getArgument1() Returns argument 1.
| |
| getArgument2 | back to summary |
|---|---|
| public short getArgument2() Returns argument 2.
| |
| getFirstContour | back to summary |
|---|---|
| public int getFirstContour() Returns the index of the first contour.
| |
| getFirstIndex | back to summary |
|---|---|
| public int getFirstIndex() Returns the first index.
| |
| getFlags | back to summary |
|---|---|
| public short getFlags() Returns the flags of the glyph.
| |
| getGlyphIndex | back to summary |
|---|---|
| public int getGlyphIndex() Returns the index of the first contour.
| |
| getScale01 | back to summary |
|---|---|
| public double getScale01() Returns the scale-01 value.
| |
| getScale10 | back to summary |
|---|---|
| public double getScale10() Returns the scale-10 value.
| |
| getXScale | back to summary |
|---|---|
| public double getXScale() Returns the x-scaling value.
| |
| getXTranslate | back to summary |
|---|---|
| public int getXTranslate() Returns the x-translation value.
| |
| getYScale | back to summary |
|---|---|
| public double getYScale() Returns the y-scaling value.
| |
| getYTranslate | back to summary |
|---|---|
| public int getYTranslate() Returns the y-translation value.
| |
| scaleX | back to summary |
|---|---|
| public int scaleX(int x, int y) Transforms an x-coordinate of a point for this component.
| |
| scaleY | back to summary |
|---|---|
| public int scaleY(int x, int y) Transforms a y-coordinate of a point for this component.
| |
| setFirstContour | back to summary |
|---|---|
| protected void setFirstContour(int idx) Sets the index for the first contour.
| |
| setFirstIndex | back to summary |
|---|---|
| protected void setFirstIndex(int idx) Sets the first index.
| |