org.apache.batik.svggen.font.table
public class GlyfCompositeComp extends Object
Field Summary | |
---|---|
static short | ARGS_ARE_XY_VALUES |
static short | ARG_1_AND_2_ARE_WORDS |
static short | MORE_COMPONENTS |
static short | ROUND_XY_TO_GRID |
static short | USE_MY_METRICS |
static short | WE_HAVE_AN_X_AND_Y_SCALE |
static short | WE_HAVE_A_SCALE |
static short | WE_HAVE_A_TWO_BY_TWO |
static short | WE_HAVE_INSTRUCTIONS |
Constructor Summary | |
---|---|
protected | GlyfCompositeComp(ByteArrayInputStream bais) |
Method Summary | |
---|---|
short | getArgument1() |
short | getArgument2() |
int | getFirstContour() |
int | getFirstIndex() |
short | getFlags() |
int | getGlyphIndex() |
double | getScale01() |
double | getScale10() |
double | getXScale() |
int | getXTranslate() |
double | getYScale() |
int | getYTranslate() |
int | scaleX(int x, int y)
Transforms an x-coordinate of a point for this component. |
int | scaleY(int x, int y)
Transforms a y-coordinate of a point for this component. |
void | setFirstContour(int idx) |
void | setFirstIndex(int idx) |
Parameters: x The x-coordinate of the point to transform y The y-coordinate of the point to transform
Returns: The transformed x-coordinate
Parameters: x The x-coordinate of the point to transform y The y-coordinate of the point to transform
Returns: The transformed y-coordinate