Lines Matching defs:my

164                                float omx, float omy, float mx, float my,
168 if ((omx == 0 && omy == 0) || (mx == 0 && my == 0)) {
173 float domy = omy - my;
183 my = -my;
185 drawRoundJoin(x, y, omx, omy, mx, my, rev);
190 float mx, float my,
193 // The sign of the dot product of mx,my and omx,omy is equal to the
195 // (ext is the angle between omx,omy and mx,my).
196 double cosext = omx * mx + omy * my;
199 // and mx,my.
204 drawBezApproxForArc(cx, cy, omx, omy, mx, my, rev);
209 // perpendicular bisector of the chord (omx,omy)->(mx,my) and the
211 // (omx+mx, omy+my)/2 so that it has length=lineWidth2 (and thus lies
213 // between omx,omy and mx,my is close to 180 degrees. So we compute a
214 // normal of (omx,omy)-(mx,my). This will be the direction of the
221 float nx = my - omy, ny = omx - mx;
226 // if (isCW(omx, omy, mx, my) != isCW(mmx, mmy, mx, my)) then we've
234 drawBezApproxForArc(cx, cy, mmx, mmy, mx, my, rev);
239 // the input arc defined by omx,omy and mx,my must span <= 90 degrees.
242 final float mx, final float my,
245 float cosext2 = (omx * mx + omy * my) / (2 * lineWidth2 * lineWidth2);
254 if (rev) { // rev is equivalent to isCW(omx, omy, mx, my)
263 final float y4 = cy + my;
264 final float x3 = x4 + cv * my;
270 private void drawRoundCap(float cx, float cy, float mx, float my) {
277 emitCurveTo(cx+mx, cy+my,
278 cx+mx-C*my, cy+my+C*mx,
279 cx-my+C*mx, cy+mx+C*my,
280 cx-my, cy+mx,
282 emitCurveTo(cx-my, cy+mx,
283 cx-my-C*mx, cy+mx-C*my,
284 cx-mx-C*my, cy-my+C*mx,
285 cx-mx, cy-my,
313 float omx, float omy, float mx, float my,
316 if ((mx == omx && my == omy) ||
327 my = -my;
331 (dx + x0) + mx, (dy + y0) + my, x0 + mx, y0 + my,
365 float my = offset[0][1];
367 drawJoin(cdx, cdy, cx0, cy0, dx, dy, cmx, cmy, mx, my);
369 emitLineTo(cx0 + mx, cy0 + my);
370 emitLineTo(x1 + mx, y1 + my);
372 emitLineTo(cx0 - mx, cy0 - my, true);
373 emitLineTo(x1 - mx, y1 - my, true);
376 this.cmy = my;
499 float mx, float my)
502 emitMoveTo(x0 + mx, y0 + my);
506 this.smy = my;
510 drawMiter(pdx, pdy, x0, y0, dx, dy, omx, omy, mx, my, cw);
514 mx, my, cw,
836 final float my = offset[0][1];
837 drawJoin(cdx, cdy, cx0, cy0, dxs, dys, cmx, cmy, mx, my);
997 final float my = offset[0][1];
998 drawJoin(cdx, cdy, cx0, cy0, dxs, dys, cmx, cmy, mx, my);
1069 final float my = offset[0][1];
1070 drawJoin(cdx, cdy, cx0, cy0, dxs, dys, cmx, cmy, mx, my);