org.apache.batik.svggen.font.table

Class GlyfCompositeComp

public class GlyfCompositeComp extends Object

Field Summary
static shortARGS_ARE_XY_VALUES
static shortARG_1_AND_2_ARE_WORDS
static shortMORE_COMPONENTS
static shortROUND_XY_TO_GRID
static shortUSE_MY_METRICS
static shortWE_HAVE_AN_X_AND_Y_SCALE
static shortWE_HAVE_A_SCALE
static shortWE_HAVE_A_TWO_BY_TWO
static shortWE_HAVE_INSTRUCTIONS
Constructor Summary
protected GlyfCompositeComp(ByteArrayInputStream bais)
Method Summary
shortgetArgument1()
shortgetArgument2()
intgetFirstContour()
intgetFirstIndex()
shortgetFlags()
intgetGlyphIndex()
doublegetScale01()
doublegetScale10()
doublegetXScale()
intgetXTranslate()
doublegetYScale()
intgetYTranslate()
intscaleX(int x, int y)
Transforms an x-coordinate of a point for this component.
intscaleY(int x, int y)
Transforms a y-coordinate of a point for this component.
voidsetFirstContour(int idx)
voidsetFirstIndex(int idx)

Field Detail

ARGS_ARE_XY_VALUES

public static final short ARGS_ARE_XY_VALUES

ARG_1_AND_2_ARE_WORDS

public static final short ARG_1_AND_2_ARE_WORDS

MORE_COMPONENTS

public static final short MORE_COMPONENTS

ROUND_XY_TO_GRID

public static final short ROUND_XY_TO_GRID

USE_MY_METRICS

public static final short USE_MY_METRICS

WE_HAVE_AN_X_AND_Y_SCALE

public static final short WE_HAVE_AN_X_AND_Y_SCALE

WE_HAVE_A_SCALE

public static final short WE_HAVE_A_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

Constructor Detail

GlyfCompositeComp

protected GlyfCompositeComp(ByteArrayInputStream bais)

Method Detail

getArgument1

public short getArgument1()

getArgument2

public short getArgument2()

getFirstContour

public int getFirstContour()

getFirstIndex

public int getFirstIndex()

getFlags

public short getFlags()

getGlyphIndex

public int getGlyphIndex()

getScale01

public double getScale01()

getScale10

public double getScale10()

getXScale

public double getXScale()

getXTranslate

public int getXTranslate()

getYScale

public double getYScale()

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 transform y 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 transform y The y-coordinate of the point to transform

Returns: The transformed y-coordinate

setFirstContour

public void setFirstContour(int idx)

setFirstIndex

public void setFirstIndex(int idx)
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.