Lines Matching refs:coords
114 public int currentSegment(float[] coords) {
123 coords[0] = (float) (x + ctrls[4] * w);
124 coords[1] = (float) (y + ctrls[5] * h);
126 affine.transform(coords, 0, coords, 0, 1);
131 coords[0] = (float) (x + ctrls[0] * w);
132 coords[1] = (float) (y + ctrls[1] * h);
133 coords[2] = (float) (x + ctrls[2] * w);
134 coords[3] = (float) (y + ctrls[3] * h);
135 coords[4] = (float) (x + ctrls[4] * w);
136 coords[5] = (float) (y + ctrls[5] * h);
138 affine.transform(coords, 0, coords, 0, 3);
161 public int currentSegment(double[] coords) {
170 coords[0] = x + ctrls[4] * w;
171 coords[1] = y + ctrls[5] * h;
173 affine.transform(coords, 0, coords, 0, 1);
178 coords[0] = x + ctrls[0] * w;
179 coords[1] = y + ctrls[1] * h;
180 coords[2] = x + ctrls[2] * w;
181 coords[3] = y + ctrls[3] * h;
182 coords[4] = x + ctrls[4] * w;
183 coords[5] = y + ctrls[5] * h;
185 affine.transform(coords, 0, coords, 0, 3);