jp.cssj.sakae.opentype.truetype
クラス GlyfCompositeComp

java.lang.Object
  拡張jp.cssj.sakae.opentype.truetype.GlyfCompositeComp

public class GlyfCompositeComp
extends java.lang.Object

バージョン:
$Id: GlyfCompositeComp.java,v 1.2 2007-05-06 04:27:01 miyabe Exp $
作成者:
David Schweinsberg

フィールドの概要
static short ARG_1_AND_2_ARE_WORDS
           
static short ARGS_ARE_XY_VALUES
           
static short MORE_COMPONENTS
           
static short ROUND_XY_TO_GRID
           
static short USE_MY_METRICS
           
static short WE_HAVE_A_SCALE
           
static short WE_HAVE_A_TWO_BY_TWO
           
static short WE_HAVE_AN_X_AND_Y_SCALE
           
static short WE_HAVE_INSTRUCTIONS
           
 
コンストラクタの概要
protected GlyfCompositeComp(int firstIndex, int firstContour, java.io.RandomAccessFile raf)
           
 
メソッドの概要
 short getArgument1()
           
 short getArgument2()
           
 int getFirstContour()
           
 int getFirstIndex()
           
 short getFlags()
           
 short 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.
 
クラス 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.RandomAccessFile raf)
                     throws java.io.IOException
メソッドの詳細

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.

パラメータ:
x - The x-coordinate of the point to transform
y - The y-coordinate of the point to transform
戻り値:
The transformed x-coordinate

scaleY

public int scaleY(int x,
                  int y)
Transforms a y-coordinate of a point for this component.

パラメータ:
x - The x-coordinate of the point to transform
y - The y-coordinate of the point to transform
戻り値:
The transformed y-coordinate


(c)2009 GNN & Co.,Ltd.