Home | History | Annotate | Download | only in samplecode

Lines Matching defs:cx

16                         SkScalar cx, SkScalar cy) {
17 canvas->translate(cx, cy);
19 canvas->translate(-cx, -cy);
46 SkScalar cx = 240;
64 rotateAbout(canvas, fAngle * scale * sign, cx, cy);
65 canvas->drawCircle(cx, cy, rad, paint);
72 rotateAbout(canvas, fAngle * scale * sign, cx + DX, cy);
73 canvas->drawCircle(cx + DX, cy, 10, paint);
77 rotateAbout(canvas, fAngle * scale * sign, cx + DX, cy + DX);
78 canvas->drawCircle(cx + DX, cy + DX, 10, paint);
116 SkScalar cx = radius;
120 float d = sqrtf((x - cx)*(x - cx) + (y - cy)*(y - cy));