Searched refs:kLightR (Results 1 – 4 of 4) sorted by relevance
/external/skqp/gm/ |
D | shadowutils.cpp | 68 static constexpr SkScalar kLightR = 100.f; in draw_paths() local 103 draw_shadow(canvas, path, kHeight, SK_ColorRED, lightPos, kLightR, in draw_paths() 105 draw_shadow(canvas, path, kHeight, SK_ColorBLUE, lightPos, kLightR, in draw_paths() 111 kLightR, ambientColor, spotColor, flags); in draw_paths() 160 draw_shadow(canvas, path, kHeight, SK_ColorRED, lightPos, kLightR, in draw_paths() 162 draw_shadow(canvas, path, kHeight, SK_ColorBLUE, lightPos, kLightR, in draw_paths() 168 kLightR, ambientColor, spotColor, kNone_ShadowFlag); in draw_paths() 199 canvas->drawCircle(lightPos.fX, lightPos.fY, kLightR / 10.f, paint); in draw_paths()
|
/external/skia/gm/ |
D | shadowutils.cpp | 68 static constexpr SkScalar kLightR = 100.f; in draw_paths() local 103 draw_shadow(canvas, path, kHeight, SK_ColorRED, lightPos, kLightR, in draw_paths() 105 draw_shadow(canvas, path, kHeight, SK_ColorBLUE, lightPos, kLightR, in draw_paths() 111 kLightR, ambientColor, spotColor, flags); in draw_paths() 160 draw_shadow(canvas, path, kHeight, SK_ColorRED, lightPos, kLightR, in draw_paths() 162 draw_shadow(canvas, path, kHeight, SK_ColorBLUE, lightPos, kLightR, in draw_paths() 168 kLightR, ambientColor, spotColor, kNone_ShadowFlag); in draw_paths() 199 canvas->drawCircle(lightPos.fX, lightPos.fY, kLightR / 10.f, paint); in draw_paths()
|
/external/skia/samplecode/ |
D | SampleShadowUtils.cpp | 170 static constexpr SkScalar kLightR = 100.f; in onDrawContent() local 209 lightPos, kLightR, kSpotAlpha, flags); in onDrawContent() 235 kLightR, kSpotAlpha, kNone_ShadowFlag); in onDrawContent() 252 canvas->drawCircle(lightPos.fX, lightPos.fY, kLightR / 10.f, paint); in onDrawContent()
|
/external/skqp/samplecode/ |
D | SampleShadowUtils.cpp | 170 static constexpr SkScalar kLightR = 100.f; in onDrawContent() local 209 lightPos, kLightR, kSpotAlpha, flags); in onDrawContent() 235 kLightR, kSpotAlpha, kNone_ShadowFlag); in onDrawContent() 252 canvas->drawCircle(lightPos.fX, lightPos.fY, kLightR / 10.f, paint); in onDrawContent()
|