/dports/graphics/py-plotly/plotly-4.14.3/plotly/figure_factory/ |
H A D | _trisurf.py | 4 import plotly.colors as clrs namespace 30 face_color = clrs.convert_to_RGB_255(face_color) 31 face_color = clrs.label_rgb(face_color) 36 face_color = clrs.convert_to_RGB_255(face_color) 37 face_color = clrs.label_rgb(face_color) 46 face_color = clrs.find_intermediate_color( 53 face_color = clrs.label_rgb(face_color) 67 face_color = clrs.find_intermediate_color( 74 face_color = clrs.label_rgb(face_color) 127 color_func[index] = clrs.label_rgb(foo) [all …]
|
/dports/graphics/openorienteering-mapper/mapper-0.9.2/3rd-party/cove/app/ |
H A D | Settings.cpp | 92 std::vector<QRgb> clrs(colorsTab.size()); in getInitColors() local 97 clrs[i] = colorsTab[i].color; in getInitColors() 101 return clrs; in getInitColors() 141 bool Settings::setInitColors(const std::vector<QRgb>& clrs, in setInitColors() argument 144 colorsTab.resize(clrs.size()); in setInitColors() 146 for (auto i = 0U; i < clrs.size(); i++) in setInitColors() 148 colorsTab[i].color = clrs[i]; in setInitColors()
|
/dports/ftp/yafc/yafc-1.3.7/src/ftp/ |
H A D | lscolors.c | 33 static lscolor *clrs = NULL; variable 56 clrs = (lscolor *)xmalloc(n * sizeof(lscolor)); in init_colors() 87 clrs[i].msk = xstrdup(msk); in init_colors() 88 clrs[i].clr = clr; in init_colors() 134 free(clrs[i].msk); in free_colors() 135 free(clrs[i].clr); in free_colors() 137 free(clrs); in free_colors() 150 clrs = NULL; in free_colors() 181 if(fnmatch(clrs[i].msk, base_name_ptr(f->path), 0) == 0) in rfile_parse_colors() 182 e = clrs[i].clr; in rfile_parse_colors()
|
/dports/editors/led/led-2.0/src/ |
H A D | screen.c | 43 static chtype *clrs = NULL; variable 74 if (clrs) in screen_shutdown() 75 free(clrs); in screen_shutdown() 91 clrs = ckrealloc(clrs, sizeof(chtype) * ident); in screen_defcolor() 97 clrs[ident - 1] = bwattrs; in screen_defcolor() 151 clrs[ident - 1] = COLOR_PAIR(ident) | attrs; in screen_defcolor() 157 attrset(clrs[ident - 1]); in screen_setcolor()
|
/dports/lang/racket/racket-8.3/share/pkgs/redex-benchmark/redex/benchmark/models/rvm/ |
H A D | rvm-2.rkt | 11 [(redo-clrs ((n_0 ṽ_0) (n_1 ṽ_1) ellipsis1) s) 12 (redo-clrs ((n_1 ṽ_1) ellipsis2) (set not ,(- (- (term n_h) (term n_0)) (term 1)) s)) 16 [(redo-clrs ((n_0 ṽ_0) (n_1 ṽ_1) ellipsis1) s) 17 (redo-clrs ((n_1 ṽ_1) ellipsis2) (set not ,(- (- (term n_h) (term n_0)) (term 1)) s)) 24 [(redo-clrs ((n ν) γ) s (supdt (n- (n- (slen s) n) (S O)) not s_2)) 27 (redo-clrs γ s s_2)] 29 [(redo-clrs ((n ν) γ) s (supdt (n- (n- (slen s) n) (S O)) not s_2)) 30 (redo-clrs γ s s_2)]
|
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/dcmimage/libsrc/ |
H A D | diqtctab.cc | 156 int indx, clrs; in medianCut() local 168 clrs = bv[bi].colors; in medianCut() 176 for ( i = 1; i < clrs; ++i ) in medianCut() 232 for ( i = 1; i < clrs - 1; ++i ) in medianCut() 243 bv[boxes].colors = clrs - i; in medianCut() 262 int clrs = bv[bi].colors; in medianCut() local 288 int clrs = bv[bi].colors; in medianCut() local 297 r = r / clrs; in medianCut() 298 g = g / clrs; in medianCut() 299 b = b / clrs; in medianCut() [all …]
|
/dports/graphics/mapserver/mapserver-7.6.4/ |
H A D | mapquantization.c | 305 register int indx, clrs; in mediancut() local 319 clrs = bv[bi].colors; in mediancut() 330 for ( i = 1; i < clrs; ++i ) { in mediancut() 428 bv[boxes].colors = clrs - i; in mediancut() 454 for ( i = 1; i < clrs; ++i ) { in mediancut() 477 for ( i = 0; i < clrs; ++i ) { in mediancut() 483 r = r / clrs; in mediancut() 484 g = g / clrs; in mediancut() 485 b = b / clrs; in mediancut() 486 a = a / clrs; in mediancut() [all …]
|
/dports/devel/avr-gdb/gdb-7.3.1/sim/testsuite/sim/sh64/compact/ |
H A D | clrs.cgs | 1 # sh testcase for clrs -*- Asm -*- 10 .global clrs 11 clrs: 12 clrs
|
/dports/devel/gdb761/gdb-7.6.1/sim/testsuite/sim/sh64/compact/ |
H A D | clrs.cgs | 1 # sh testcase for clrs -*- Asm -*- 10 .global clrs 11 clrs: 12 clrs
|
/dports/mail/astroid/astroid-0.15/src/utils/ |
H A D | utils.cc | 118 … auto clrs = astroid->plugin_manager->astroid_extension->get_tag_colors (t, rgba_to_hex (canvas)); in get_tag_color_rgba() local 120 if (!clrs.first.empty () || !clrs.second.empty ()) { in get_tag_color_rgba() 121 return std::make_pair (Gdk::RGBA (clrs.first), Gdk::RGBA (clrs.second)); in get_tag_color_rgba() 174 auto clrs = get_tag_color_rgba (t, cv); in get_tag_color() local 176 return std::make_pair (rgba_to_hex (clrs.first), rgba_to_hex (clrs.second)); in get_tag_color()
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/scicos_blocks/macros/Sinks/ |
H A D | CFSCOPE.sci | 35 [ok,clrs,win,wpos,wdim,ymin,ymax,per,N,wu,exprs]=scicos_getvalue(.. 93 if size(clrs,"*")>8 then 94 clrs=clrs(1:8); 96 if size(clrs,"*")<8 then 97 clrs(8)=0; 99 ipar=[win;1;N;clrs(:);wpos(:);wdim(:);size(wu,"*");wu(:)] 116 clrs=[1;3;5;7;9;11;13;15]; 125 model.ipar=[win;1;N;clrs;wpos;wdim;1;1] 129 exprs=[strcat(string(clrs)," ");
|
H A D | CEVENTSCOPE.sci | 33 [ok,nclock,clrs,win,wpos,wdim,per,exprs]=scicos_getvalue(.. 43 clrs=int(clrs) 62 if size(clrs,"*")<>nclock then 90 ipar=[win;1;clrs(:);wpos(:);wdim(:)] 103 clrs=[1;3;5;7;9;11;13;15]; 112 model.ipar=[win;1;clrs(nclock);wpos(:);wdim(:)] 117 strcat(sci2exp(clrs(nclock))," ");
|
H A D | CSCOPXY3D.sci | 33 … [ok,nbr_curves,clrs,siz,win,wpos,wdim,vec_x,vec_y,vec_z,param3ds,N,exprs]=scicos_getvalue(.. 60 if size(clrs,"*")<>size(siz,"*") then 77 for i=1:size(clrs,"*") 78 if clrs(i)>0 then 108 ipar=[win;size_siz;N;clrs(:);siz(:);1;wpos(:);wdim(:);nbr_curves] 121 clrs = [1;2;3;4;5;6;7;13] 139 model.ipar=[win;8;N;clrs(:);siz(:);8;wpos(:);wdim(:);nbr_curves] 144 strcat(string(clrs)," ");
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/sciplot/ |
H A D | XCC.c | 261 XColor *clrs, *cstart; local 274 clrs = cstart; 277 clrs->red = clrs->blue = clrs->green = dinc * i; 324 XColor *clrs, *cstart; local 349 clrs = cstart; 360 clrs->red = 0; 364 clrs->green = 0; 368 clrs->blue = 0; 477 XColor *clrs, *cstart; local 513 clrs = cstart; [all …]
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Utils/ |
H A D | Text_Input.cc | 939 TextInputColors const& clrs = *pColors; in RenderBackgroundField() local 941 if (clrs.fBevelling) in RenderBackgroundField() 948 clrs.usTextFieldColor : in RenderBackgroundField() 949 clrs.usDisabledTextFieldColor; in RenderBackgroundField() 966 TextInputColors const& clrs = *pColors; in RenderActiveTextField() local 967 SGPFont const font = clrs.usFont; in RenderActiveTextField() 983 SetFontAttributes(font, clrs.ubHiForeColor, clrs.ubHiShadowColor, clrs.ubHiBackColor); in RenderActiveTextField() 987 SetFontAttributes(font, clrs.ubForeColor, clrs.ubShadowColor, 0); in RenderActiveTextField() 994 SetFontAttributes(font, clrs.ubForeColor, clrs.ubShadowColor, 0); in RenderActiveTextField() 1036 SetFontAttributes(clrs.usFont, clrs.ubDisabledForeColor, clrs.ubDisabledShadowColor); in RenderInactiveTextFieldNode() [all …]
|
/dports/astro/siril/siril/src/gui/ |
H A D | plot.c | 868 cfg->clrs[i].rgba[3] = 1.0; in set_colors() 870 cfg->clrs[0].rgba[0] = 0x94 / 255.0; in set_colors() 871 cfg->clrs[0].rgba[1] = 0x04 / 255.0; in set_colors() 872 cfg->clrs[0].rgba[2] = 0xd3 / 255.0; in set_colors() 873 cfg->clrs[1].rgba[0] = 0x00 / 255.0; in set_colors() 874 cfg->clrs[1].rgba[1] = 0x9e / 255.0; in set_colors() 875 cfg->clrs[1].rgba[2] = 0x73 / 255.0; in set_colors() 876 cfg->clrs[2].rgba[0] = 0x56 / 255.0; in set_colors() 877 cfg->clrs[2].rgba[1] = 0xb4 / 255.0; in set_colors() 878 cfg->clrs[2].rgba[2] = 0xe9 / 255.0; in set_colors() [all …]
|
/dports/textproc/p5-PDF-Builder/PDF-Builder-3.023/lib/PDF/Builder/Resource/ColorSpace/ |
H A D | DeviceN.pm | 28 my ($clrs, $sampled) = @opts; 40 my $csname = $clrs->[0]->type(); 41 my @xclr = map { $_->color() } @{$clrs}; 42 my @xnam = map { $_->tintname() } @{$clrs}; 85 foreach my $cs (@{$clrs}) {
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/scicos_blocks/macros/Misc/ |
H A D | BOUNCEXY.sci | 35 [ok,clrs,siz,win,imode,xmin,xmax,ymin,ymax,exprs]=scicos_getvalue(.. 51 if size(clrs,"*")<>size(siz,"*") then 73 ipar=[win;imode;clrs(:)] 75 for i=1:size(clrs,"*") 93 clrs=[1;2]; 107 for i=1:size(clrs,"*") 117 model.ipar=[win;imode;clrs(:)] 122 exprs=[strcat(sci2exp(clrs));
|
/dports/textproc/p5-PDF-API3/PDF-API3-3.001/lib/PDF/API3/Compat/API2/Resource/ColorSpace/ |
H A D | DeviceN.pm | 59 my ($clrs,$sampled)=@opts; 70 my $csname=$clrs->[0]->type; 71 my @xclr=map { $_->color } @{$clrs}; 72 my @xnam=map { $_->tintname } @{$clrs}; 115 foreach my $cs (@{$clrs}) {
|
/dports/graphics/darktable38/darktable-3.8.0/src/external/LibRaw/src/decoders/ |
H A D | decoders_dcraw.cpp | 339 !jh->clrs) in ljpeg_start() 403 FORC(jh->clrs) in ljpeg_row() 409 pred = row[0][-jh->clrs]; in ljpeg_row() 469 FORC(jh->clrs) in ljpeg_row_unrolled() 482 FORC(jh->clrs) in ljpeg_row_unrolled() 495 FORC(jh->clrs) in ljpeg_row_unrolled() 507 FORC(jh->clrs) in ljpeg_row_unrolled() 556 jwide = jh.wide * jh.clrs; in lossless_jpeg_load_raw() 640 FORC(jh.clrs - 2) in canon_sraw_load_raw() 651 FORC(jh.clrs - 2) in canon_sraw_load_raw() [all …]
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/rawengine/libraw/src/decoders/ |
H A D | decoders_dcraw.cpp | 339 !jh->clrs) in ljpeg_start() 403 FORC(jh->clrs) in ljpeg_row() 409 pred = row[0][-jh->clrs]; in ljpeg_row() 469 FORC(jh->clrs) in ljpeg_row_unrolled() 482 FORC(jh->clrs) in ljpeg_row_unrolled() 495 FORC(jh->clrs) in ljpeg_row_unrolled() 507 FORC(jh->clrs) in ljpeg_row_unrolled() 556 jwide = jh.wide * jh.clrs; in lossless_jpeg_load_raw() 640 FORC(jh.clrs - 2) in canon_sraw_load_raw() 651 FORC(jh.clrs - 2) in canon_sraw_load_raw() [all …]
|
/dports/graphics/libraw/LibRaw-0.20.2/src/decoders/ |
H A D | decoders_dcraw.cpp | 338 !jh->clrs) in ljpeg_start() 402 FORC(jh->clrs) in ljpeg_row() 408 pred = row[0][-jh->clrs]; in ljpeg_row() 468 FORC(jh->clrs) in ljpeg_row_unrolled() 481 FORC(jh->clrs) in ljpeg_row_unrolled() 494 FORC(jh->clrs) in ljpeg_row_unrolled() 506 FORC(jh->clrs) in ljpeg_row_unrolled() 555 jwide = jh.wide * jh.clrs; in lossless_jpeg_load_raw() 640 FORC(jh.clrs - 2) in canon_sraw_load_raw() 652 FORC(jh.clrs - 2) in canon_sraw_load_raw() [all …]
|
/dports/astro/siril/siril/subprojects/kplot/ |
H A D | kplot.c | 94 p->cfg.clrs = calloc(p->cfg.clrsz, sizeof(struct kplotccfg)); in kplot_alloc() 96 if (NULL == p->cfg.clrs) { in kplot_alloc() 102 memcpy(p->cfg.clrs, cfg->clrs, in kplot_alloc() 106 if (KPLOTCTYPE_PATTERN == p->cfg.clrs[i].type) in kplot_alloc() 107 cairo_pattern_reference(p->cfg.clrs[i].pattern); in kplot_alloc() 159 if (KPLOTCTYPE_PATTERN == p->cfg.clrs[i].type) in kplot_free() 160 cairo_pattern_destroy(p->cfg.clrs[i].pattern); in kplot_free() 162 free(p->cfg.clrs); in kplot_free()
|
H A D | draw.c | 712 ctx.cfg.clrs = defs; in kplot_draw() 716 ctx.cfg.clrs[i].rgba[3] = 1.0; in kplot_draw() 718 ctx.cfg.clrs[0].rgba[0] = 0x94 / 255.0; in kplot_draw() 719 ctx.cfg.clrs[0].rgba[1] = 0x04 / 255.0; in kplot_draw() 720 ctx.cfg.clrs[0].rgba[2] = 0xd3 / 255.0; in kplot_draw() 721 ctx.cfg.clrs[1].rgba[0] = 0x00 / 255.0; in kplot_draw() 722 ctx.cfg.clrs[1].rgba[1] = 0x9e / 255.0; in kplot_draw() 723 ctx.cfg.clrs[1].rgba[2] = 0x73 / 255.0; in kplot_draw() 724 ctx.cfg.clrs[2].rgba[0] = 0x56 / 255.0; in kplot_draw() 725 ctx.cfg.clrs[2].rgba[1] = 0xb4 / 255.0; in kplot_draw() [all …]
|
/dports/textproc/p5-PDF-API2/PDF-API2-2.042/lib/PDF/API2/Resource/ColorSpace/ |
H A D | DeviceN.pm | 15 my ($class, $pdf, $key, $clrs) = @_; 33 my @xclr = map { $_->color() } @$clrs; 34 my @xnam = map { $_->tintname() } @$clrs; 73 foreach my $cs (@$clrs) {
|