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