Home
last modified time | relevance | path

Searched refs:to_color (Results 1 – 25 of 97) sorted by relevance

1234

/dports/x11/kitty/kitty-0.23.1/kitty/options/
H A Dparse.py112 ans['color0'] = to_color(val)
115 ans['color1'] = to_color(val)
118 ans['color2'] = to_color(val)
121 ans['color3'] = to_color(val)
124 ans['color4'] = to_color(val)
127 ans['color5'] = to_color(val)
130 ans['color6'] = to_color(val)
133 ans['color7'] = to_color(val)
136 ans['color8'] = to_color(val)
139 ans['color9'] = to_color(val)
[all …]
/dports/x11/kitty/kitty-0.23.1/kittens/diff/options/
H A Dparse.py12 ans['added_bg'] = to_color(val)
18 ans['background'] = to_color(val)
24 ans['filler_bg'] = to_color(val)
27 ans['foreground'] = to_color(val)
36 ans['hunk_bg'] = to_color(val)
42 ans['margin_bg'] = to_color(val)
45 ans['margin_fg'] = to_color(val)
66 ans['search_bg'] = to_color(val)
69 ans['search_fg'] = to_color(val)
81 ans['title_bg'] = to_color(val)
[all …]
/dports/devel/rth/rth/jpgraph-1.8/jpgraph-1.18/src/
H A Djpgraph_gradient.php59 $this->GetColArray($from_color,$to_color,$steps,$colors,$this->numcolors);
70 $this->GetColArray($from_color,$to_color,$steps,$colors,$this->numcolors);
81 $this->GetColArray($from_color,$to_color,$steps,$colors,$this->numcolors);
183 $this->img->SetColor($to_color);
210 $this->img->SetColor($to_color);
283 function FilledFlatPolygon($pts,$from_color,$to_color) { argument
349 $to_color = $this->img->rgb->Color($to_color);
351 $rdelta=($to_color[0]-$from_color[0])/$numcols;
352 $gdelta=($to_color[1]-$from_color[1])/$numcols;
353 $bdelta=($to_color[2]-$from_color[2])/$numcols;
[all …]
/dports/deskutils/moregroupware/moregroupware/include/jpgraph1/
H A Djpgraph_gradient.php59 $this->GetColArray($from_color,$to_color,$steps,$colors,$this->numcolors);
70 $this->GetColArray($from_color,$to_color,$steps,$colors,$this->numcolors);
81 $this->GetColArray($from_color,$to_color,$steps,$colors,$this->numcolors);
183 $this->img->SetColor($to_color);
210 $this->img->SetColor($to_color);
284 function FilledFlatPolygon($pts,$from_color,$to_color) { argument
350 $to_color = $this->img->rgb->Color($to_color);
352 $rdelta=($to_color[0]-$from_color[0])/$numcols;
353 $gdelta=($to_color[1]-$from_color[1])/$numcols;
354 $bdelta=($to_color[2]-$from_color[2])/$numcols;
[all …]
/dports/deskutils/moregroupware/moregroupware/include/jpgraph2/
H A Djpgraph_gradient.php58 $this->GetColArray($from_color,$to_color,$steps,$colors,$this->numcolors);
69 $this->GetColArray($from_color,$to_color,$steps,$colors,$this->numcolors);
80 $this->GetColArray($from_color,$to_color,$steps,$colors,$this->numcolors);
182 $this->img->SetColor($to_color);
209 $this->img->SetColor($to_color);
283 function FilledFlatPolygon($pts,$from_color,$to_color) { argument
349 $to_color = $this->img->rgb->Color($to_color);
351 $rdelta=($to_color[0]-$from_color[0])/$numcols;
352 $gdelta=($to_color[1]-$from_color[1])/$numcols;
353 $bdelta=($to_color[2]-$from_color[2])/$numcols;
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/svg/
H A Dsvg_animated_color.cc64 Color to_color = style_color_.Resolve(fallback_color); in Add() local
65 style_color_ = StyleColor(ColorDistance::AddColors(from_color, to_color)); in Add()
85 Color to_color = to_style_color.Resolve(fallback_color); in CalculateAnimatedValue() local
92 percentage, repeat_count, from_color.Red(), to_color.Red(), in CalculateAnimatedValue()
97 percentage, repeat_count, from_color.Green(), to_color.Green(), in CalculateAnimatedValue()
102 percentage, repeat_count, from_color.Blue(), to_color.Blue(), in CalculateAnimatedValue()
107 percentage, repeat_count, from_color.Alpha(), to_color.Alpha(), in CalculateAnimatedValue()
121 Color to_color = in CalculateDistance() local
123 return ColorDistance::Distance(from_color, to_color); in CalculateDistance()
H A Dcolor_distance.cc34 float ColorDistance::Distance(const Color& from_color, const Color& to_color) { in Distance() argument
35 int red_diff = to_color.Red() - from_color.Red(); in Distance()
36 int green_diff = to_color.Green() - from_color.Green(); in Distance()
37 int blue_diff = to_color.Blue() - from_color.Blue(); in Distance()
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/amenadiel/jpgraph/src/plot/
H A DGradient.php45 public function FilledRectangle($xl, $yt, $xr, $yb, $from_color, $to_color, $style = 1) argument
52 $this->GetColArray($from_color, $to_color, $steps, $colors, $this->numcolors);
63 $this->GetColArray($from_color, $to_color, $steps, $colors, $this->numcolors);
180 $this->img->SetColor($to_color);
207 $this->img->SetColor($to_color);
331 public function FilledFlatPolygon($pts, $from_color, $to_color) argument
405 $to_color = $this->img->rgb->Color($to_color);
407 $rdelta = ($to_color[0] - $from_color[0]) / $numcols;
408 $gdelta = ($to_color[1] - $from_color[1]) / $numcols;
409 $bdelta = ($to_color[2] - $from_color[2]) / $numcols;
[all …]
/dports/sysutils/loganalyzer/loganalyzer-4.1.12/src/classes/jpgraph/
H A Djpgraph_gradient.php52 function FilledRectangle($xl,$yt,$xr,$yb,$from_color,$to_color,$style=1) { argument
58 $this->GetColArray($from_color,$to_color,$steps,$colors,$this->numcolors);
186 $this->img->SetColor($to_color);
213 $this->img->SetColor($to_color);
335 function FilledFlatPolygon($pts,$from_color,$to_color) { argument
399 function GetColArray($from_color,$to_color,$arr_size,&$colors,$numcols=100) { argument
406 $to_color = $this->img->rgb->Color($to_color);
408 $rdelta=($to_color[0]-$from_color[0])/$numcols;
409 $gdelta=($to_color[1]-$from_color[1])/$numcols;
410 $bdelta=($to_color[2]-$from_color[2])/$numcols;
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/svg/
H A Dsvg_animated_color.cc76 Color to_color = style_color_.Resolve(fallback_color, color_scheme); in Add() local
77 style_color_ = StyleColor(ColorDistance::AddColors(from_color, to_color)); in Add()
99 Color to_color = to_style_color.Resolve(fallback_color, color_scheme); in CalculateAnimatedValue() local
104 parameters, percentage, repeat_count, from_color.Red(), to_color.Red(), in CalculateAnimatedValue()
108 to_color.Green(), to_at_end_of_duration_color.Green()); in CalculateAnimatedValue()
110 parameters, percentage, repeat_count, from_color.Blue(), to_color.Blue(), in CalculateAnimatedValue()
114 to_color.Alpha(), to_at_end_of_duration_color.Alpha()); in CalculateAnimatedValue()
138 Color to_color = To<SVGColorProperty>(to_value)->style_color_.Resolve( in CalculateDistance() local
140 return ColorDistance::Distance(from_color, to_color); in CalculateDistance()
H A Dcolor_distance.cc34 float ColorDistance::Distance(const Color& from_color, const Color& to_color) { in Distance() argument
35 int red_diff = to_color.Red() - from_color.Red(); in Distance()
36 int green_diff = to_color.Green() - from_color.Green(); in Distance()
37 int blue_diff = to_color.Blue() - from_color.Blue(); in Distance()
/dports/graphics/p5-Imager/Imager-1.012/samples/
H A Dreplace_color.pl41 my $to_color = Imager::Color->new($to)
49 my $result = replace_color($img, $from_color, $to_color)
66 my ($img, $from_color, $to_color) = @_;
69 my ($to_red, $to_green, $to_blue) = $to_color->rgba;
H A Dinline_replace_color.pl42 my $to_color = Imager::Color->new($to)
51 inline_replace_color($img, $from_color, $to_color);
/dports/x11/kitty/kitty-0.23.1/kitty/
H A Dborder_vertex.glsl32 float to_color(uint c) {
40 …vec3 window_bg = vec3(to_color(rect_color >> 24), to_color(rect_color >> 16), to_color(rect_color …
/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/libretro/deps/libpng/contrib/tools/
H A Dcvtcolor.c52 int to_linear = 0, to_gray = 0, to_color = 0; in main() local
75 to_gray = 1, to_color = 0; in main()
78 to_gray = 0, to_color = 1; in main()
147 if (to_color) in main()
/dports/emulators/mgba/mgba-0.9.2/src/third-party/libpng/contrib/tools/
H A Dcvtcolor.c52 int to_linear = 0, to_gray = 0, to_color = 0; in main() local
75 to_gray = 1, to_color = 0; in main()
78 to_gray = 0, to_color = 1; in main()
147 if (to_color) in main()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/libs/libpng-src/contrib/tools/
H A Dcvtcolor.c52 int to_linear = 0, to_gray = 0, to_color = 0; in main() local
75 to_gray = 1, to_color = 0; in main()
78 to_gray = 0, to_color = 1; in main()
147 if (to_color) in main()
/dports/graphics/optipng/optipng-0.7.7/src/libpng/contrib/tools/
H A Dcvtcolor.c52 int to_linear = 0, to_gray = 0, to_color = 0; in main() local
75 to_gray = 1, to_color = 0; in main()
78 to_gray = 0, to_color = 1; in main()
147 if (to_color) in main()
/dports/multimedia/opentoonz/opentoonz-1.5.0/thirdparty/libpng-1.6.21/contrib/tools/
H A Dcvtcolor.c52 int to_linear = 0, to_gray = 0, to_color = 0; in main() local
75 to_gray = 1, to_color = 0; in main()
78 to_gray = 0, to_color = 1; in main()
147 if (to_color) in main()
/dports/games/libretro-mgba/mgba-6186d45/src/third-party/libpng/contrib/tools/
H A Dcvtcolor.c52 int to_linear = 0, to_gray = 0, to_color = 0; in main() local
75 to_gray = 1, to_color = 0; in main()
78 to_gray = 0, to_color = 1; in main()
147 if (to_color) in main()
/dports/graphics/png/libpng-1.6.37/contrib/tools/
H A Dcvtcolor.c52 int to_linear = 0, to_gray = 0, to_color = 0; in main() local
75 to_gray = 1, to_color = 0; in main()
78 to_gray = 0, to_color = 1; in main()
147 if (to_color) in main()
/dports/devel/rth/rth/jpgraph-1.8/src/
H A Djpgraph_bar.php41 $this->GetColArray($from_color,$to_color,$steps,$colors);
52 $this->GetColArray($from_color,$to_color,$steps,$colors);
63 $this->GetColArray($from_color,$to_color,$steps,$colors);
81 $this->GetColArray($from_color,$to_color,$steps,$colors);
99 $this->GetColArray($from_color,$to_color,$steps,$colors);
122 $this->GetColArray($from_color,$to_color,$steps,$colors);
169 $to_color = $this->img->rgb->Color($to_color);
171 $rdelta=($to_color[0]-$from_color[0])/$numcols;
172 $gdelta=($to_color[1]-$from_color[1])/$numcols;
173 $bdelta=($to_color[2]-$from_color[2])/$numcols;
[all …]
/dports/mail/squirrelmail-translations/squirrelmail.locales/support/smstats/includes/
H A Djpgraph_bar.php41 $this->GetColArray($from_color,$to_color,$steps,$colors);
52 $this->GetColArray($from_color,$to_color,$steps,$colors);
63 $this->GetColArray($from_color,$to_color,$steps,$colors);
81 $this->GetColArray($from_color,$to_color,$steps,$colors);
99 $this->GetColArray($from_color,$to_color,$steps,$colors);
122 $this->GetColArray($from_color,$to_color,$steps,$colors);
169 $to_color = $this->img->rgb->Color($to_color);
171 $rdelta=($to_color[0]-$from_color[0])/$numcols;
172 $gdelta=($to_color[1]-$from_color[1])/$numcols;
173 $bdelta=($to_color[2]-$from_color[2])/$numcols;
[all …]
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/stdfx/
H A Dchangecolorfx.cpp154 TPixel32 to_color = m_to_color->getPremultipliedValue(frame); in doCompute() local
160 OLDRGB2HSV(to_color.r / 255.0, to_color.g / 255.0, to_color.b / 255.0, &to_h, in doCompute()
222 *pix = to_color; in doCompute()
/dports/games/pentobi/pentobi-19.1/libpentobi_base/
H A DPointState.h50 Color to_color() const;
89 inline Color PointState::to_color() const in to_color() function

1234