Lines Matching refs:coords
211 public int currentSegment(float[] coords) {
217 coords[0] = (float) (x + Math.cos(angle) * w);
218 coords[1] = (float) (y + Math.sin(angle) * h);
220 affine.transform(coords, 0, coords, 0, 1);
228 coords[0] = (float) x;
229 coords[1] = (float) y;
231 affine.transform(coords, 0, coords, 0, 1);
238 coords[0] = (float) (x + (relx - cv * rely) * w);
239 coords[1] = (float) (y + (rely + cv * relx) * h);
243 coords[2] = (float) (x + (relx + cv * rely) * w);
244 coords[3] = (float) (y + (rely - cv * relx) * h);
245 coords[4] = (float) (x + relx * w);
246 coords[5] = (float) (y + rely * h);
248 affine.transform(coords, 0, coords, 0, 3);
271 public int currentSegment(double[] coords) {
277 coords[0] = x + Math.cos(angle) * w;
278 coords[1] = y + Math.sin(angle) * h;
280 affine.transform(coords, 0, coords, 0, 1);
288 coords[0] = x;
289 coords[1] = y;
291 affine.transform(coords, 0, coords, 0, 1);
298 coords[0] = x + (relx - cv * rely) * w;
299 coords[1] = y + (rely + cv * relx) * h;
303 coords[2] = x + (relx + cv * rely) * w;
304 coords[3] = y + (rely - cv * relx) * h;
305 coords[4] = x + relx * w;
306 coords[5] = y + rely * h;
308 affine.transform(coords, 0, coords, 0, 3);