gzz.view
Class PlainVanishing
java.lang.Object
|
+--gzz.view.PlainVanishing
- public class PlainVanishing
- extends java.lang.Object
A plain (no-constraint) version of vanishing view, useful as a building
block for imagespan views.
This class uses the VanishingClient interface to enquire about its context.
If you want to add anything to this class, PLEASE check with Tuomas first.
He is very angry about having had to clean this beautiful, simple implementation
once.
Method Summary |
protected void |
connect(int index,
int rdepth)
|
protected static void |
p(java.lang.String s)
|
protected static void |
pa(java.lang.String s)
|
protected void |
paint(int index,
float x,
float y,
float d,
float rdepth,
float fract,
float xalign,
float yalign,
float pdx,
float pdy,
float rot)
Go through the raster produced in render recursively
and paint. |
void |
render(VanishingClient client,
ViewContext context,
float px,
float py)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rcsid
public static final java.lang.String rcsid
- See Also:
- Constant Field Values
dbg
public static boolean dbg
shrink
public float[] shrink
initmul
public float initmul
xgapmult
public float xgapmult
ygapmult
public float ygapmult
raster
public BFRaster raster
PlainVanishing
public PlainVanishing()
p
protected static void p(java.lang.String s)
pa
protected static void pa(java.lang.String s)
render
public void render(VanishingClient client,
ViewContext context,
float px,
float py)
paint
protected void paint(int index,
float x,
float y,
float d,
float rdepth,
float fract,
float xalign,
float yalign,
float pdx,
float pdy,
float rot)
- Go through the raster produced in render recursively
and paint.
The recursive passthrough is the most convenient for vanishing-type
views.
connect
protected void connect(int index,
int rdepth)