org.xwt
Class VectorGraphics.Affine

java.lang.Object
  extended byorg.xwt.VectorGraphics.Affine
Enclosing class:
VectorGraphics

public static final class VectorGraphics.Affine
extends java.lang.Object

an affine transform; all operations are destructive


Field Summary
 float a
           
 float b
           
 float c
           
 float d
           
 float e
           
 float f
           
 
Method Summary
 VectorGraphics.Affine copy()
           
 boolean equals(java.lang.Object o)
           
 boolean equalsIgnoringTranslation(VectorGraphics.Affine x)
           
static VectorGraphics.Affine flip(boolean horiz, boolean vert)
           
static VectorGraphics.Affine identity()
           
 void invert()
           
 float multiply_px(float x, float y)
           
 float multiply_py(float x, float y)
           
 VectorGraphics.Affine multiply(VectorGraphics.Affine A)
          this = this * a
static VectorGraphics.Affine rotate(float degrees)
           
static VectorGraphics.Affine scale(float sx, float sy)
           
static VectorGraphics.Affine shear(float degrees)
           
 java.lang.String toString()
           
static VectorGraphics.Affine translate(float tx, float ty)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

a

public float a

b

public float b

c

public float c

d

public float d

e

public float e

f

public float f
Method Detail

toString

public java.lang.String toString()

copy

public VectorGraphics.Affine copy()

identity

public static VectorGraphics.Affine identity()

scale

public static VectorGraphics.Affine scale(float sx,
                                          float sy)

shear

public static VectorGraphics.Affine shear(float degrees)

translate

public static VectorGraphics.Affine translate(float tx,
                                              float ty)

flip

public static VectorGraphics.Affine flip(boolean horiz,
                                         boolean vert)

multiply_px

public float multiply_px(float x,
                         float y)

multiply_py

public float multiply_py(float x,
                         float y)

equalsIgnoringTranslation

public boolean equalsIgnoringTranslation(VectorGraphics.Affine x)

equals

public boolean equals(java.lang.Object o)

rotate

public static VectorGraphics.Affine rotate(float degrees)

multiply

public VectorGraphics.Affine multiply(VectorGraphics.Affine A)
this = this * a


invert

public void invert()