83 |
void setInfo(int cs, float xoffs, float yoffs, |
void setInfo(int cs, float xoffs, float yoffs, |
84 |
float xscale, float yscale, |
float xscale, float yscale, |
85 |
OrthoRenderInfo info) { |
OrthoRenderInfo info) { |
86 |
wh[0] = 0; wh[1] = 0; wh[2] = 1; wh[3] = 1; |
setInterpInfo(cs, this, cs, 0, xoffs, yoffs, xscale, yscale, info); |
|
sys.transformRect(cs, wh); |
|
|
info.setCoords(sys.depth[cs], |
|
|
xscale * sys.x[cs] + xoffs, yscale * sys.y[cs] + yoffs, |
|
|
xscale * sys.w[cs], yscale * sys.h[cs], |
|
|
0, 0, xscale * wh[2], yscale * wh[3]); |
|
87 |
} |
} |
88 |
|
|
89 |
public boolean contains(int cs, float px, float py, float[] internalcoords) { |
public boolean contains(int cs, float px, float py, float[] internalcoords) { |