public class LInfBLinearLens extends BLinearLens
aT, bT
MMTc, MMTf
CONSTANT, LR1, LR2, SPEED_DEPENDENT_LINEAR
h, lensHeight, lensWidth, lx, ly, magnifiedGraphics, mbh, mbi, mbw, MM, MM_FLOOR, mSwitchThreshold, owningView, sh, sw, w
Constructor and Description |
---|
LInfBLinearLens()
create a lens with a maximum magnification factor of 2.0
|
LInfBLinearLens(float mm)
create a lens with a given maximum magnification factor
|
LInfBLinearLens(float mm,
float tc,
float tf,
int outerRadius,
int innerRadius)
create a lens with a given maximum magnification factor, inner and outer radii
|
LInfBLinearLens(float mm,
float tc,
float tf,
int outerRadius,
int innerRadius,
int x,
int y)
create a lens with a given maximum magnification factor, inner and outer radii
|
Modifier and Type | Method and Description |
---|---|
void |
gf(float x,
float y,
float[] g)
gain factor function
|
void |
gfT(float x,
float y,
float[] g) |
setInnerRadius, setMaximumMagnification, setMaximumMagnification, setMMandRadii, setMMandRadii, setOuterRadius, setRadii, setRadii
getContextTranslucencyValue, getFocusTranslucencyValue, setContextTranslucencyValue, setFocusTranslucencyValue
drawBoundary, getActualRingRadius, getInnerRadius, getInnerRadiusColor, getOuterRadius, getOuterRadiusColor, getRadius, getVisibleRegionInFocus, moveLensBy, setAbsolutePosition, setFocusControlled, setFocusControlled, setInnerRadiusColor, setLensBuffer, setOuterRadiusColor
dispose, getActualMaximumMagnification, getBufferThreshold, getMagnificationGraphics, getMaximumMagnification, getOwningView, getVisibleRegion, getXfocusOffset, getYfocusOffset, isInitialized, resetMagnificationBuffer, setBufferThreshold, setMagRasterDimensions, setMagRasterDimensions, setXfocusOffset, setYfocusOffset, transform
public LInfBLinearLens()
public LInfBLinearLens(float mm)
mm
- magnification factor, mm in [0,+inf[public LInfBLinearLens(float mm, float tc, float tf, int outerRadius, int innerRadius)
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 LInfBLinearLens(float mm, float tc, float tf, int outerRadius, int innerRadius, 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 gf(float x, float y, float[] g)
Lens
gf
in class BlendingLens
public void gfT(float x, float y, float[] g)
gfT
in class BLinearLens
Copyright © 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.