196 |
|
|
197 |
|
|
198 |
|
|
199 |
|
/** A fisheye coordinate system: non-linear magnification. |
200 |
|
* @param into The parent coordinate system, inside which this cs is |
201 |
|
* @param x,y,w,h The location and size of the center of magnification |
202 |
|
* @param mag The magnification at its largest, i.e. in the center of the rectangle |
203 |
|
* defined by x, y, w, h |
204 |
|
* @param min The magnification at its smallest, i.e. far away from the origin. |
205 |
|
*/ |
206 |
public int distort(int into, float x, float y, float w, float h, float mag, float min) { |
public int distort(int into, float x, float y, float w, float h, float mag, float min) { |
207 |
|
|
208 |
floats[nfloats + 0] = x; |
floats[nfloats + 0] = x; |