/dports/x11/kitty/kitty-0.23.1/kitty/options/ |
H A D | parse.py | 112 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 D | parse.py | 12 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 D | jpgraph_gradient.php | 59 $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 D | jpgraph_gradient.php | 59 $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 D | jpgraph_gradient.php | 58 $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 D | svg_animated_color.cc | 64 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 D | color_distance.cc | 34 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 D | Gradient.php | 45 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 D | jpgraph_gradient.php | 52 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 D | svg_animated_color.cc | 76 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 D | color_distance.cc | 34 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 D | replace_color.pl | 41 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 D | inline_replace_color.pl | 42 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 D | border_vertex.glsl | 32 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 D | cvtcolor.c | 52 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 D | cvtcolor.c | 52 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 D | cvtcolor.c | 52 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 D | cvtcolor.c | 52 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 D | cvtcolor.c | 52 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 D | cvtcolor.c | 52 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 D | cvtcolor.c | 52 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 D | jpgraph_bar.php | 41 $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 D | jpgraph_bar.php | 41 $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 D | changecolorfx.cpp | 154 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 D | PointState.h | 50 Color to_color() const; 89 inline Color PointState::to_color() const in to_color() function
|