Home
last modified time | relevance | path

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

/third_party/skia/docs/examples/
Dshader_alphaimage.cpp10 sk_sp<SkShader> linear_gradient() { in linear_gradient() function
20 p.setShader(linear_gradient()); in draw()
Dalphaimage_shader_colorfilter.cpp10 sk_sp<SkShader> linear_gradient() { in linear_gradient() function
25 p.setShader(linear_gradient()); in draw()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttcolr.c506 &apaint->u.linear_gradient.colorline ) ) in read_paint()
513 apaint->u.linear_gradient.p0.x = INT_TO_FIXED( FT_NEXT_SHORT( p ) ); in read_paint()
514 apaint->u.linear_gradient.p0.y = INT_TO_FIXED( FT_NEXT_SHORT( p ) ); in read_paint()
515 apaint->u.linear_gradient.p1.x = INT_TO_FIXED( FT_NEXT_SHORT( p ) ); in read_paint()
516 apaint->u.linear_gradient.p1.y = INT_TO_FIXED( FT_NEXT_SHORT( p ) ); in read_paint()
517 apaint->u.linear_gradient.p2.x = INT_TO_FIXED( FT_NEXT_SHORT( p ) ); in read_paint()
518 apaint->u.linear_gradient.p2.y = INT_TO_FIXED( FT_NEXT_SHORT( p ) ); in read_paint()
/third_party/skia/src/ports/
DSkFontHost_FreeType_common.cpp575 FT_PaintLinearGradient& linear_gradient = colrv1_paint.u.linear_gradient; in colrv1_configure_skpaint() local
576 SkPoint line_positions[2] = {SkPoint::Make(SkFixedToScalar(linear_gradient.p0.x), in colrv1_configure_skpaint()
577 -SkFixedToScalar(linear_gradient.p0.y)), in colrv1_configure_skpaint()
578 SkPoint::Make(SkFixedToScalar(linear_gradient.p1.x), in colrv1_configure_skpaint()
579 -SkFixedToScalar(linear_gradient.p1.y))}; in colrv1_configure_skpaint()
582 SkPoint p2 = SkPoint::Make(SkFixedToScalar(linear_gradient.p2.x), in colrv1_configure_skpaint()
583 -SkFixedToScalar(linear_gradient.p2.y)); in colrv1_configure_skpaint()
599 if (!fetch_color_stops(linear_gradient.colorline.color_stop_iterator, stops, colors) || in colrv1_configure_skpaint()
634 ToSkTileMode(linear_gradient.colorline.extend))); in colrv1_configure_skpaint()
/third_party/skia/third_party/externals/freetype/include/freetype/
Dftcolor.h1355 FT_PaintLinearGradient linear_gradient; member
/third_party/flutter/skia/experimental/pvg/
Ddraw_msg.proto177 LinearGradient linear_gradient = 3; field
/third_party/skia/experimental/pvg/
Ddraw_msg.proto177 LinearGradient linear_gradient = 3; field
/third_party/pixman/pixman/
Dpixman-private.h41 typedef struct linear_gradient linear_gradient_t;
138 struct linear_gradient struct