Home
last modified time | relevance | path

Searched refs:gradient (Results 1 – 25 of 208) sorted by relevance

123456789

/third_party/node/deps/npm/docs/src/images/
Dorange-cube.svg1gradient);stroke:url(#linear-gradient-2);}.cls-2{fill:url(#linear-gradient-3);stroke:url(#linear-g…
Dbackground-rectangles.svg1gradient);}.cls-2{fill:url(#linear-gradient-2);}.cls-3{fill:url(#linear-gradient-3);}.cls-4{fill:u…
Dhamburger.svg1gradient);}.cls-2{fill:url(#linear-gradient-2);}.cls-3{fill:url(#linear-gradient-3);}</style><line…
Dterminal-icon.svg1gradient);}.cls-5{fill:url(#linear-gradient-2);}.cls-6{fill:url(#linear-gradient-3);}.cls-7{fill:u…
Dtest-icon.svg1gradient);}.cls-2{opacity:0.5;}.cls-3{fill:#fff;}.cls-4{fill:#223839;}.cls-5{opacity:0.4;}.cls-6{f…
Dhamburger-close.svg1gradient);}.cls-2{fill:url(#linear-gradient-2);}</style><linearGradient id="linear-gradient" x1="-…
Dpink-gradient-cube.svg1gradient);}</style><linearGradient id="linear-gradient" x1="1.52" y1="26" x2="54.48" y2="26" gradi…
Dpurple-gradient-cube.svg1gradient);}</style><linearGradient id="linear-gradient" x1="0.96" y1="26.5" x2="51.04" y2="26.5" g…
/third_party/flutter/skia/src/gpu/gradients/generated/
DGrTextureGradientColorizer.h19 static std::unique_ptr<GrFragmentProcessor> Make(sk_sp<GrTextureProxy> gradient) { in Make() argument
20 return std::unique_ptr<GrFragmentProcessor>(new GrTextureGradientColorizer(gradient)); in Make()
25 TextureSampler gradient; variable
28 GrTextureGradientColorizer(sk_sp<GrTextureProxy> gradient) in GrTextureGradientColorizer() argument
30 , gradient(std::move(gradient), GrSamplerState::ClampBilerp()) { in GrTextureGradientColorizer()
DGrTextureGradientColorizer.cpp45 if (gradient != that.gradient) return false; in onIsEqual()
50 , gradient(src.gradient) { in GrTextureGradientColorizer()
58 return IthTextureSampler(index, gradient); in onTextureSampler()
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dbox_decoration.dart17 import 'gradient.dart';
30 /// [color], which fills the box. Above that is the [gradient], which also fills
81 /// * If [gradient] is null, this decoration does not paint gradients.
91 this.gradient,
96 backgroundBlendMode == null || color != null || gradient != null,
98 'gradient, but no color or gradient was provided.'
109 Gradient gradient,
119 gradient: gradient ?? this.gradient,
137 /// This is ignored if [gradient] is non-null.
142 /// An image to paint above the background [color] or [gradient].
[all …]
Dshape_decoration.dart17 import 'gradient.dart';
24 /// optionally filling it with a color or a gradient, optionally painting an
65 /// * If [gradient] is null, this decoration does not paint gradients.
69 /// The [color] and [gradient] properties are mutually exclusive, one (or
76 this.gradient,
79 }) : assert(!(color != null && gradient != null)),
119 gradient: source.gradient,
129 /// If a [gradient] is specified, [color] must be null.
132 /// A gradient to use when filling the shape.
134 /// The gradient is under the [image].
[all …]
Dgradient.dart20 /// Calculate the color at position [t] of the gradient defined by [colors] and [stops].
60 /// A 2D gradient.
71 /// Initialize the gradient's colors and stops.
84 /// The colors the gradient should obtain at each of the stops.
89 /// gradient!).
92 /// A list of values from 0.0 to 1.0 that denote fractions along the gradient.
122 /// Creates a [Shader] for this gradient to fill the given rect.
124 /// If the gradient's configuration is text-direction-dependent, for example
129 /// Returns a new gradient with its properties scaled by the given factor.
131 /// A factor of 0.0 (or less) should result in a variant of the gradient that
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DSetupProcessor.cpp109 state.gradient[interpolant][component].attribute = Unused; in update()
110 state.gradient[interpolant][component].flat = false; in update()
111 state.gradient[interpolant][component].wrap = false; in update()
152 state.gradient[interpolant][component].attribute = input; in update()
153 state.gradient[interpolant][component].flat = flat; in update()
171 state.gradient[interpolant][component].attribute = T0 + semantic.index; in update()
172 state.gradient[interpolant][component].flat = semantic.flat || (point && !sprite); in update()
175 state.gradient[interpolant][component].attribute = C0 + semantic.index; in update()
176 state.gradient[interpolant][component].flat = semantic.flat || flatShading; in update()
/third_party/skia/tests/
DShaderImageFilterTest.cpp36 sk_sp<SkShader> gradient = SkGradientShader::MakeRadial( in test_unscaled() local
42 paint.setImageFilter(SkImageFilters::Shader(gradient, &ir)); in test_unscaled()
49 paint.setShader(gradient); in test_unscaled()
84 sk_sp<SkShader> gradient = SkGradientShader::MakeRadial( in test_scaled() local
90 paint.setImageFilter(SkImageFilters::Shader(gradient, &ir)); in test_scaled()
98 paint.setShader(gradient); in test_scaled()
/third_party/pixman/pixman/
Dpixman-image.c39 gradient_t *gradient = &image->gradient; in gradient_property_changed() local
40 int n = gradient->n_stops; in gradient_property_changed()
41 pixman_gradient_stop_t *stops = gradient->stops; in gradient_property_changed()
42 pixman_gradient_stop_t *begin = &(gradient->stops[-1]); in gradient_property_changed()
43 pixman_gradient_stop_t *end = &(gradient->stops[n]); in gradient_property_changed()
45 switch (gradient->common.repeat) in gradient_property_changed()
79 _pixman_init_gradient (gradient_t * gradient, in _pixman_init_gradient() argument
95 gradient->stops = in _pixman_init_gradient()
97 if (!gradient->stops) in _pixman_init_gradient()
100 gradient->stops += 1; in _pixman_init_gradient()
[all …]
DMakefile.sources8 pixman-conical-gradient.c \
19 pixman-gradient-walker.c \
22 pixman-linear-gradient.c \
25 pixman-radial-gradient.c \
/third_party/flutter/flutter/packages/flutter/test/painting/
Ddecoration_test.dart289 … const Gradient gradient = LinearGradient(colors: <Color>[ Color(0x00000000), Color(0xFFFFFFFF) ]);
293 const BoxDecoration(gradient: gradient),
296 …const BoxDecoration(gradient: LinearGradient(colors: <Color>[ Color(0x00000000), Color(0x00FFFFFF)…
301 const BoxDecoration(gradient: gradient),
309 const BoxDecoration(gradient: gradient),
312 …const BoxDecoration(gradient: LinearGradient(colors: <Color>[ Color(0x00000000), Color(0x40FFFFFF)…
317 const BoxDecoration(gradient: gradient),
320 …const BoxDecoration(gradient: LinearGradient(colors: <Color>[ Color(0x00000000), Color(0xBFFFFFFF)…
325 const BoxDecoration(gradient: gradient),
328 const BoxDecoration(gradient: gradient),
[all …]
/third_party/flutter/skia/src/gpu/gradients/
DGrTextureGradientColorizer.fp9 in uniform sampler2D gradient;
11 @samplerParams(gradient) {
17 sk_OutColor = sample(gradient, coord);
DGrLinearGradientLayout.fp15 // We add a tiny delta to t. When gradient stops are set up so that a hard stop in a vertically
16 // or horizontally oriented gradient falls exactly at a column or row of pixel centers we can
21 // If/when we add filtering of the gradient this can be removed.
33 // The linear gradient never rejects a pixel so it doesn't change opacity
39 static std::unique_ptr<GrFragmentProcessor> Make(const SkLinearGradient& gradient,
/third_party/pixman/demos/
DMakefile.am24 gradient-test \
26 linear-gradient \
40 gradient_test_SOURCES = gradient-test.c $(GTK_UTILS)
49 linear_gradient_SOURCES = linear-gradient.c $(GTK_UTILS)
Dcomposite-test.c96 pixman_image_t *gradient, *parrot; in main() local
124 gradient = pixman_image_create_linear_gradient (&p1, &p2, stops, G_N_ELEMENTS (stops)); in main()
127 pixman_image_set_repeat (gradient, PIXMAN_REPEAT_PAD); in main()
148 pixman_image_composite (PIXMAN_OP_SRC, gradient, NULL, dest_img, in main()
165 pixman_image_unref (gradient); in main()
/third_party/skia/site/docs/user/
Dcoordinates.md27 paint. Here, we define a linear gradient shader that goes from green (when
36 Now, let's try to draw the gradient-filled square at `(100, 50)`:
43 producing a gradient as `x` goes from `0` to `50`. We have slid the rectangle
44 across the gradient defined by the `SkShader`. Shaders do not move with the
51 To get the desired effect, we could create a new gradient shader, with the
71 To help illustrate the difference, here's our gradient-filled box. It's first
74 the box, and the gradient inside it:
81 Now, the box remains un-rotated, but the gradient rotates inside the box:
/third_party/skia/src/gpu/gradients/
DREADME.md11 domain of the color interpolator. This is how a linear or radial gradient
12 distinguishes itself. When designing a new gradient shape, this is the
22 colorizer child, but these border colors may be defined by the gradient color
37 Layouts can report "invalid gradient location" by outputting a negative value
38 into the `sk_OutColor.g` component. (Currently, the two-point conical gradient
40 black and does not invoke the colorizer at all. When the gradient location is valid,
46 colorize a gradient; in this case, a `GrTextureEffect` will be used as the colorizer.
54 At an abstract level, gradient shaders are compatible with coverage as alpha
68 opacity of a pixel outside of how the gradient would otherwise color it.
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dtile_mode.dart7 /// Defines what happens at the edge of the gradient.
9 /// A gradient is defined along a finite inner area. In the case of a linear
10 /// gradient, it's between the parallel lines that are orthogonal to the line
14 /// This enum is used to define how the gradient should paint the regions
21 /// relative coordinates and can create a [Shader] representing the gradient
30 /// The gradient will paint the all the regions outside the inner area with

123456789