Class GlyfCompositeComp
java.lang.Object
org.apache.batik.svggen.font.table.GlyfCompositeComp
- Version:
- $Id: GlyfCompositeComp.java 1831630 2018-05-15 12:56:55Z ssteiner $
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final short
static final short
private short
private short
private int
private int
private short
private int
static final short
private int
private int
static final short
private double
private double
static final short
static final short
static final short
static final short
static final short
private double
private int
private double
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshort
short
int
int
short
getFlags()
int
double
double
double
int
double
int
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)
-
Field Details
-
ARG_1_AND_2_ARE_WORDS
public static final short ARG_1_AND_2_ARE_WORDS- See Also:
-
ARGS_ARE_XY_VALUES
public static final short ARGS_ARE_XY_VALUES- See Also:
-
ROUND_XY_TO_GRID
public static final short ROUND_XY_TO_GRID- See Also:
-
WE_HAVE_A_SCALE
public static final short WE_HAVE_A_SCALE- See Also:
-
MORE_COMPONENTS
public static final short MORE_COMPONENTS- See Also:
-
WE_HAVE_AN_X_AND_Y_SCALE
public static final short WE_HAVE_AN_X_AND_Y_SCALE- See Also:
-
WE_HAVE_A_TWO_BY_TWO
public static final short WE_HAVE_A_TWO_BY_TWO- See Also:
-
WE_HAVE_INSTRUCTIONS
public static final short WE_HAVE_INSTRUCTIONS- See Also:
-
USE_MY_METRICS
public static final short USE_MY_METRICS- See Also:
-
firstIndex
private int firstIndex -
firstContour
private int firstContour -
argument1
private short argument1 -
argument2
private short argument2 -
flags
private short flags -
glyphIndex
private int glyphIndex -
xscale
private double xscale -
yscale
private double yscale -
scale01
private double scale01 -
scale10
private double scale10 -
xtranslate
private int xtranslate -
ytranslate
private int ytranslate -
point1
private int point1 -
point2
private int point2
-
-
Constructor Details
-
GlyfCompositeComp
-
-
Method Details
-
setFirstIndex
public void setFirstIndex(int idx) -
getFirstIndex
public int getFirstIndex() -
setFirstContour
public void setFirstContour(int idx) -
getFirstContour
public int getFirstContour() -
getArgument1
public short getArgument1() -
getArgument2
public short getArgument2() -
getFlags
public short getFlags() -
getGlyphIndex
public int getGlyphIndex() -
getScale01
public double getScale01() -
getScale10
public double getScale10() -
getXScale
public double getXScale() -
getYScale
public double getYScale() -
getXTranslate
public int getXTranslate() -
getYTranslate
public int getYTranslate() -
scaleX
public int scaleX(int x, int y) Transforms an x-coordinate of a point for this component.- Parameters:
x
- The x-coordinate of the point to transformy
- The y-coordinate of the point to transform- Returns:
- The transformed x-coordinate
-
scaleY
public int scaleY(int x, int y) Transforms a y-coordinate of a point for this component.- Parameters:
x
- The x-coordinate of the point to transformy
- The y-coordinate of the point to transform- Returns:
- The transformed y-coordinate
-