Searched refs:gen_pt (Results 1 – 1 of 1) sorted by relevance
36 static SkPoint gen_pt(float angle, const SkVector& scale) { in gen_pt() function54 tmp.moveTo(gen_pt(angle, outerRad)); in make_gear()57 tmp.lineTo(gen_pt(angle+kAnglePerTooth, outerRad)); in make_gear()58 tmp.lineTo(gen_pt(angle+(1.5f*kAnglePerTooth), innerRad)); in make_gear()59 tmp.lineTo(gen_pt(angle+(2.5f*kAnglePerTooth), innerRad)); in make_gear()60 tmp.lineTo(gen_pt(angle+(3.0f*kAnglePerTooth), outerRad)); in make_gear()