Home
last modified time | relevance | path

Searched refs:sk_shader_t (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/src/c/
Dsk_effects.cpp41 void sk_shader_ref(sk_shader_t* cshader) { in sk_shader_ref()
45 void sk_shader_unref(sk_shader_t* cshader) { in sk_shader_unref()
49 sk_shader_t* sk_shader_new_linear_gradient(const sk_point_t pts[2], in sk_shader_new_linear_gradient()
65 return (sk_shader_t*)SkGradientShader::MakeLinear(reinterpret_cast<const SkPoint*>(pts), in sk_shader_new_linear_gradient()
75 sk_shader_t* sk_shader_new_radial_gradient(const sk_point_t* ccenter, in sk_shader_new_radial_gradient()
93 return (sk_shader_t*)SkGradientShader::MakeRadial(center, (SkScalar)radius, in sk_shader_new_radial_gradient()
99 sk_shader_t* sk_shader_new_sweep_gradient(const sk_point_t* ccenter, in sk_shader_new_sweep_gradient()
110 return (sk_shader_t*)SkGradientShader::MakeSweep((SkScalar)(ccenter->x), in sk_shader_new_sweep_gradient()
117 sk_shader_t* sk_shader_new_two_point_conical_gradient(const sk_point_t* start, in sk_shader_new_two_point_conical_gradient()
138 return (sk_shader_t*)SkGradientShader::MakeTwoPointConical(skstart, (SkScalar)startRadius, in sk_shader_new_two_point_conical_gradient()
Dsk_types_priv.h37 static inline SkShader* AsShader(sk_shader_t* cshader) { in AsShader()
Dsk_paint.cpp68 void sk_paint_set_shader(sk_paint_t* cpaint, sk_shader_t* cshader) { in sk_paint_set_shader()
/third_party/skia/include/c/
Dsk_shader.h18 SK_API void sk_shader_ref(sk_shader_t*);
19 SK_API void sk_shader_unref(sk_shader_t*);
45 SK_API sk_shader_t* sk_shader_new_linear_gradient(const sk_point_t points[2],
74 SK_API sk_shader_t* sk_shader_new_radial_gradient(const sk_point_t* center,
99 SK_API sk_shader_t* sk_shader_new_sweep_gradient(const sk_point_t* center,
130 SK_API sk_shader_t* sk_shader_new_two_point_conical_gradient(
Dsk_types.h212 typedef struct sk_shader_t sk_shader_t; typedef
Dsk_paint.h130 SK_API void sk_paint_set_shader(sk_paint_t*, sk_shader_t*);
/third_party/skia/gm/
Dcgm.c28 static sk_shader_t* make_shader() { in make_shader()
46 sk_shader_t* shader = make_shader(); in do_draw()
/third_party/skia/tests/
DCTest.cpp33 sk_shader_t* shader; in shader_test()