Home | History | Annotate | Download | only in core

Lines Matching defs:mag

83     float mag = SkPoint::Length(pt->fX, pt->fY);
84 if (mag > kNearlyZero) {
85 float scale = 1 / mag;
88 return mag;
94 float mag = sk_float_sqrt(x * x + y * y);
95 if (mag > kNearlyZero) {
96 length /= mag;
319 float mag = sqrtf(fx*fx + fy*fy);
320 fx /= mag;
321 fy /= mag;