5static constexpr char SKSL_MINIFIED_GradientShader[] =
6"half4 main(float2 a){float b=1.-a.y*.006666667;if(a.x<100.)return half4(float4"
7"(0.,.5,.75,1.)*b);else return half4(half3(0.,.5,.75),half(b));}";
19 p.setShader(myShader);
constexpr SkColor SK_ColorGRAY
REG_FIDDLE(SkSL_MinifiedSkSL, 200, 200, false, 0)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
void drawPaint(const SkPaint &paint)
static Result MakeForShader(SkString sksl, const Options &)