Searched refs:from_polar_deg (Results 1 – 1 of 1) sorted by relevance
/third_party/skia/docs/examples/ |
D | picture_shader.cpp | 14 SkPoint from_polar_deg(float r, float d) { in from_polar_deg() function 40 draw_centered("R", f, SK_ColorRED, from_polar_deg(0.3f * scale, 90), c); in draw_wheel() 41 draw_centered("G", f, SK_ColorGREEN, from_polar_deg(0.3f * scale, 210), c); in draw_wheel() 42 draw_centered("B", f, SK_ColorBLUE, from_polar_deg(0.3f * scale, 330), c); in draw_wheel() 43 draw_centered("C", f, SK_ColorCYAN, from_polar_deg(0.3f * scale, 270), c); in draw_wheel() 44 draw_centered("M", f, SK_ColorMAGENTA, from_polar_deg(0.3f * scale, 30), c); in draw_wheel() 45 draw_centered("Y", f, SK_ColorYELLOW, from_polar_deg(0.3f * scale, 150), c); in draw_wheel()
|