Searched refs:endcap_radius (Results 1 – 1 of 1) sorted by relevance
/third_party/skia/docs/examples/ |
D | ChromeMDRefreshTabs.cpp | 14 const float endcap_radius = endcap_width / 2; in GetInteriorPath() local 25 right_path.arcTo(endcap_radius, endcap_radius, 90, SkPath::kSmall_ArcSize, in GetInteriorPath() 26 SkPathDirection::kCW, right - endcap_radius, bottom - endcap_radius); in GetInteriorPath() 30 right_path.lineTo(right - endcap_radius, endcap_radius); in GetInteriorPath() 35 right_path.arcTo(endcap_radius, endcap_radius, 90, SkPath::kSmall_ArcSize, in GetInteriorPath() 49 left_path.arcTo(endcap_radius, endcap_radius, 90, SkPath::kSmall_ArcSize, in GetInteriorPath() 50 SkPathDirection::kCCW, endcap_radius, endcap_radius); in GetInteriorPath() 54 left_path.lineTo(endcap_radius, bottom - endcap_radius); in GetInteriorPath() 58 left_path.arcTo(endcap_radius, endcap_radius, 90, SkPath::kSmall_ArcSize, in GetInteriorPath()
|