org.apache.batik.svggen.font.table
Class GlyfCompositeComp
java.lang.Object
|
+--org.apache.batik.svggen.font.table.GlyfCompositeComp
- public class GlyfCompositeComp
- extends java.lang.Object
Constructor Summary |
protected |
GlyfCompositeComp(int firstIndex,
int firstContour,
java.io.ByteArrayInputStream bais)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARG_1_AND_2_ARE_WORDS
public static final short ARG_1_AND_2_ARE_WORDS
ARGS_ARE_XY_VALUES
public static final short ARGS_ARE_XY_VALUES
ROUND_XY_TO_GRID
public static final short ROUND_XY_TO_GRID
WE_HAVE_A_SCALE
public static final short WE_HAVE_A_SCALE
MORE_COMPONENTS
public static final short MORE_COMPONENTS
WE_HAVE_AN_X_AND_Y_SCALE
public static final short WE_HAVE_AN_X_AND_Y_SCALE
WE_HAVE_A_TWO_BY_TWO
public static final short WE_HAVE_A_TWO_BY_TWO
WE_HAVE_INSTRUCTIONS
public static final short WE_HAVE_INSTRUCTIONS
USE_MY_METRICS
public static final short USE_MY_METRICS
GlyfCompositeComp
protected GlyfCompositeComp(int firstIndex,
int firstContour,
java.io.ByteArrayInputStream bais)
getFirstIndex
public int getFirstIndex()
getFirstContour
public int getFirstContour()
getArgument1
public short getArgument1()
getArgument2
public short getArgument2()
getFlags
public short getFlags()
getGlyphIndex
public short 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
Copyright © 2002 Apache Software Foundation. All Rights Reserved.