Searched refs:linear_gradient (Results 1 – 8 of 8) sorted by relevance
10 sk_sp<SkShader> linear_gradient() { in linear_gradient() function20 p.setShader(linear_gradient()); in draw()
10 sk_sp<SkShader> linear_gradient() { in linear_gradient() function25 p.setShader(linear_gradient()); in draw()
506 &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()
575 FT_PaintLinearGradient& linear_gradient = colrv1_paint.u.linear_gradient; in colrv1_configure_skpaint() local576 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()
1355 FT_PaintLinearGradient linear_gradient; member
177 LinearGradient linear_gradient = 3; field
41 typedef struct linear_gradient linear_gradient_t;138 struct linear_gradient struct