Searched refs:setgrad (Results 1 – 1 of 1) sorted by relevance
13 static SkShader* setgrad(const SkRect& r, SkColor c0, SkColor c1) { in setgrad() function26 p.setShader(setgrad(r, 0xFF00FF00, 0x0000FF00))->unref(); in test_alphagradients()31 p.setShader(setgrad(r, 0xFF00FF00, 0x00000000))->unref(); in test_alphagradients()36 p.setShader(setgrad(r, 0xFF00FF00, 0x00FF0000))->unref(); in test_alphagradients()