Searched refs:concavePath (Results 1 – 2 of 2) sorted by relevance
74 SkPath concavePath; in create_concave_path() local75 concavePath.moveTo(kMin, kMin); in create_concave_path()76 concavePath.lineTo(kMid, 105.0f); in create_concave_path()77 concavePath.lineTo(kMax, kMin); in create_concave_path()78 concavePath.lineTo(295.0f, kMid); in create_concave_path()79 concavePath.lineTo(kMax, kMax); in create_concave_path()80 concavePath.lineTo(kMid, 295.0f); in create_concave_path()81 concavePath.lineTo(kMin, kMax); in create_concave_path()82 concavePath.lineTo(105.0f, kMid); in create_concave_path()83 concavePath.close(); in create_concave_path()[all …]
85 SkPath concavePath; in create_star() local92 concavePath.moveTo(points[0]); in create_star()94 concavePath.lineTo(points[(2 * i) % kNumPoints]); in create_star()96 concavePath.setFillType(SkPath::kEvenOdd_FillType); in create_star()97 SkASSERT(!concavePath.isConvex()); in create_star()98 concavePath.close(); in create_star()99 return concavePath; in create_star()