public class HWaveLens extends BLinearLens
aT, bTMMTc, MMTfCONSTANT, LR1, LR2, SPEED_DEPENDENT_LINEARh, lensHeight, lensWidth, lx, ly, magnifiedGraphics, mbh, mbi, mbw, MM, MM_FLOOR, mSwitchThreshold, owningView, sh, sw, w| Constructor and Description |
|---|
HWaveLens()
create a lens with a maximum magnification factor of 2.0
|
HWaveLens(float mm,
float n)
create a lens with a given maximum magnification factor
|
HWaveLens(float mm,
float tc,
float tf,
int outerRadius,
int innerRadius,
float n)
create a lens with a given maximum magnification factor, inner and outer radii
|
HWaveLens(float mm,
float tc,
float tf,
int outerRadius,
int innerRadius,
float n,
int x,
int y)
create a lens with a given maximum magnification factor, inner and outer radii
|
| Modifier and Type | Method and Description |
|---|---|
float |
getN() |
void |
gf(float x,
float y,
float[] g)
gain factor function
|
void |
gfT(float x,
float y,
float[] g) |
void |
setN(float n) |
setInnerRadius, setMaximumMagnification, setMaximumMagnification, setMMandRadii, setMMandRadii, setOuterRadius, setRadii, setRadiigetContextTranslucencyValue, getFocusTranslucencyValue, setContextTranslucencyValue, setFocusTranslucencyValuedrawBoundary, getActualRingRadius, getInnerRadius, getInnerRadiusColor, getOuterRadius, getOuterRadiusColor, getRadius, getVisibleRegionInFocus, moveLensBy, setAbsolutePosition, setFocusControlled, setFocusControlled, setInnerRadiusColor, setLensBuffer, setOuterRadiusColordispose, getActualMaximumMagnification, getBufferThreshold, getMagnificationGraphics, getMaximumMagnification, getOwningView, getVisibleRegion, getXfocusOffset, getYfocusOffset, isInitialized, resetMagnificationBuffer, setBufferThreshold, setMagRasterDimensions, setMagRasterDimensions, setXfocusOffset, setYfocusOffset, transformpublic HWaveLens()
public HWaveLens(float mm,
float n)
mm - magnification factor, mm in [0,+inf[public HWaveLens(float mm,
float tc,
float tf,
int outerRadius,
int innerRadius,
float n)
mm - magnification factor, mm in [0,+inf[tc - translucency value (at junction between transition and context), tc in [0,1.0]tf - translucency value (at junction between transition and focus), tf in [0,1.0]outerRadius - outer radius (beyond which no magnification is applied - outward)innerRadius - inner radius (beyond which maximum magnification is applied - inward)public HWaveLens(float mm,
float tc,
float tf,
int outerRadius,
int innerRadius,
float n,
int x,
int y)
mm - magnification factor, mm in [0,+inf[tc - translucency value (at junction between transition and context), tc in [0,1.0]tf - translucency value (at junction between transition and focus), tf in [0,1.0]outerRadius - outer radius (beyond which no magnification is applied - outward)innerRadius - inner radius (beyond which maximum magnification is applied - inward)x - horizontal coordinate of the lens' center (as an offset w.r.t the view's center coordinates)y - vertical coordinate of the lens' center (as an offset w.r.t the view's center coordinates)public void setN(float n)
public float getN()
public void gf(float x,
float y,
float[] g)
Lensgf in class BlendingLenspublic void gfT(float x,
float y,
float[] g)
gfT in class BLinearLensCopyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2015 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.