Home
last modified time | relevance | path

Searched refs:tocolor (Results 1 – 25 of 47) sorted by relevance

12

/dports/www/xist/ll-xist-5.34/src/ll/
H A D_ansistyle.c18 int tocolor; in _switchcolor() local
20 if (!PyArg_ParseTuple(args, "ii:switchcolor", &fromcolor, &tocolor)) in _switchcolor()
23 if ((tocolor != -1) && (fromcolor != tocolor)) in _switchcolor()
35 …|| (tocolor==0070)) /* use reset when our target color is the default color (this is shorter than … in _switchcolor()
42 if ((tocolor&0100) && !(fromcolor&0100)) in _switchcolor()
51 if ((tocolor&0200) && !(fromcolor&0200)) in _switchcolor()
60 if ((tocolor&0400) && !(fromcolor&0400)) in _switchcolor()
69 if ((tocolor&0070) != (fromcolor&0070)) in _switchcolor()
76 *p++ = '0' + ((tocolor & 0070) >> 3); in _switchcolor()
79 if ((tocolor&0007) != (fromcolor&0007)) in _switchcolor()
[all …]
/dports/x11-toolkits/mowitz/Mowitz-0.2.1/Mowitz/
H A DMwNws.h244 #define LightColor(intensity,fromcolor,tocolor) \ argument
245 tocolor.red = (fromcolor.red + intensity) <= 65280 ? \
249 tocolor.blue = (fromcolor.blue + intensity) <= 65280 ? \
254 tocolor.pixel=WhitePixel(dpy,DefaultScreen(dpy)); \
258 #define DarkColor(intensity,fromcolor,tocolor) \ argument
259 tocolor.red = (fromcolor.red - intensity) <= 0 ? \
261 tocolor.green = (fromcolor.green - intensity) <= 0 ? \
263 tocolor.blue = (fromcolor.blue - intensity) <= 0 ? \
268 tocolor.pixel=BlackPixel(dpy,DefaultScreen(dpy)); \
273 #define LightColor2(widget, tocolor, contrast) \ argument
[all …]
/dports/math/SCIP/scip-7.0.3/src/tclique/
H A Dtclique_coloring.c449 int tocolor; in tcliqueColoring() local
453 tocolor = range; in tcliqueColoring()
461 if( dif > tocolor ) in tcliqueColoring()
462 dif = tocolor; in tcliqueColoring()
469 tocolor -= dif; in tcliqueColoring()
477 while( tocolor > 0 ) in tcliqueColoring()
479 dif = tocolor; in tcliqueColoring()
496 tocolor -= dif; in tcliqueColoring()
/dports/editors/libreoffice/libreoffice-7.2.6.2/hwpfilter/source/
H A Ddrawdef.h89 int tocolor; member
143 int tocolor; member
H A Dhwpreader.cxx580 if( prop->tocolor > 0xffffff ) in makeDrawMiscStyle()
581 prop->tocolor = default_color; in makeDrawMiscStyle()
587 sprintf( buf, "#%02x%02x%02x", prop->tocolor & 0xff, in makeDrawMiscStyle()
588 (prop->tocolor >> 8) & 0xff, (prop->tocolor >>16) & 0xff ); in makeDrawMiscStyle()
599 sprintf( buf, "#%02x%02x%02x", prop->tocolor & 0xff, in makeDrawMiscStyle()
600 (prop->tocolor >> 8) & 0xff, (prop->tocolor >>16) & 0xff ); in makeDrawMiscStyle()
606 sprintf( buf, "#%02x%02x%02x", prop->tocolor & 0xff, in makeDrawMiscStyle()
607 (prop->tocolor >> 8) & 0xff, (prop->tocolor >>16) & 0xff ); in makeDrawMiscStyle()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/hwpfilter/source/
H A Ddrawdef.h89 int tocolor; member
143 int tocolor; member
H A Dhwpreader.cxx614 if( prop->tocolor > 0xffffff ) in makeDrawMiscStyle()
615 prop->tocolor = default_color; in makeDrawMiscStyle()
621 sprintf( buf, "#%02x%02x%02x", prop->tocolor & 0xff, in makeDrawMiscStyle()
622 (prop->tocolor >> 8) & 0xff, (prop->tocolor >>16) & 0xff ); in makeDrawMiscStyle()
633 sprintf( buf, "#%02x%02x%02x", prop->tocolor & 0xff, in makeDrawMiscStyle()
634 (prop->tocolor >> 8) & 0xff, (prop->tocolor >>16) & 0xff ); in makeDrawMiscStyle()
640 sprintf( buf, "#%02x%02x%02x", prop->tocolor & 0xff, in makeDrawMiscStyle()
641 (prop->tocolor >> 8) & 0xff, (prop->tocolor >>16) & 0xff ); in makeDrawMiscStyle()
/dports/games/tesseract-data/tesseract/src/engine/
H A Drendersky.cpp151 vec color = cloudcolour.tocolor(); in drawenvoverlay()
398 …M(sunlight, (!atmosunlight.iszero() ? atmosunlight.tocolor().mul(atmosunlightscale) : sunlight.toc… in drawatmosphere()
417 …betam = vec(lambda).recip().mul(2*M_PI).square().mul(atmohazefade.tocolor().mul(atmohazefadescale)… in drawatmosphere()
465 vec skyboxcolor = skyboxcolour.tocolor().mul(ldrscale); in drawskybox()
515 gle::color(cloudboxcolour.tocolor(), cloudboxalpha); in drawskybox()
H A Dlight.cpp686 vec lightcol = sunlight.tocolor().mul(sunlightscale); in lightreaching()
690 color.max(ambient.tocolor().max(minambient)).min(1.5f); in lightreaching()
H A Dwater.cpp108 vec deepfade = getwaterdeepfade(mat).tocolor().mul(deep); in renderwaterfog()
622 vec deepfade = getwaterdeepfade(k).tocolor().mul(deep); in renderwater()
/dports/games/tesseract/tesseract/src/engine/
H A Drendersky.cpp151 vec color = cloudcolour.tocolor(); in drawenvoverlay()
398 …M(sunlight, (!atmosunlight.iszero() ? atmosunlight.tocolor().mul(atmosunlightscale) : sunlight.toc… in drawatmosphere()
417 …betam = vec(lambda).recip().mul(2*M_PI).square().mul(atmohazefade.tocolor().mul(atmohazefadescale)… in drawatmosphere()
465 vec skyboxcolor = skyboxcolour.tocolor().mul(ldrscale); in drawskybox()
515 gle::color(cloudboxcolour.tocolor(), cloudboxalpha); in drawskybox()
H A Dlight.cpp686 vec lightcol = sunlight.tocolor().mul(sunlightscale); in lightreaching()
690 color.max(ambient.tocolor().max(minambient)).min(1.5f); in lightreaching()
H A Dwater.cpp108 vec deepfade = getwaterdeepfade(mat).tocolor().mul(deep); in renderwaterfog()
622 vec deepfade = getwaterdeepfade(k).tocolor().mul(deep); in renderwater()
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/amenadiel/jpgraph/src/plot/
H A DAccBarPlot.php258 $tocolor = $this->plots[$j]->grad_tocolor;
262 $tocolor = $this->plots[$j]->grad_fromcolor[$i % $ng][1];
267 $tocolor = $this->plots[$j]->grad_fromcolor[$i % $ng][1];
272 $fromcolor, $tocolor, $style);
H A DBarPlot.php424 $tocolor = $this->grad_tocolor;
428 $tocolor = $this->grad_fromcolor[$i % $ng][1];
433 $tocolor = $this->grad_fromcolor[$i % $ng][1];
438 $fromcolor, $tocolor, $style);
/dports/games/redeclipse/base-2.0.0/src/engine/
H A Drendersky.cpp288 vec color = colour.tocolor(); in drawenvoverlay()
517 …nlight, (!curatmolight.iszero() ? curatmolight.tocolor().mul(getatmolightscale()) : getpielight(). in drawatmosphere()
536 …betam = vec(lambda).recip().mul(2*M_PI).square().mul(getatmohazefade().tocolor().mul(getatmohazefa… in drawatmosphere()
596 vec color = getskybgcolour().tocolor().mul(ldrscale); in drawskybox()
630 gle::color(getskycolour().tocolor(), getskyblend()); in drawskybox()
655 gle::color(getcloudcolour().tocolor(), getcloudblend()); in drawskybox()
H A Dexplosion.h182 vec color = p->color.tocolor().mul(ldrscale); in renderpart()
H A Drendergl.cpp1845 color.lerp(wcol.tocolor(), wdeepcol.tocolor(), deepfade); in blendfog()
1854 fogc.add(lcol.tocolor().mul(blend)); in blendfog()
1860 fogc.add(getfogcolour().tocolor().mul(blend)); in blendfog()
2080 shademinimap(minimapcolour.tocolor().mul(ldrscale)); in drawminimap()
H A Dlight.cpp769 vec lightcol = pie.tocolor().mul(getpielightscale()); in lightreaching()
773 color.max(getambient().tocolor().max(minambient)).min(1.5f); in lightreaching()
/dports/sysutils/loganalyzer/loganalyzer-4.1.12/src/classes/jpgraph/
H A Djpgraph_bar.php410 $tocolor = $this->grad_tocolor;
415 $tocolor = $this->grad_fromcolor[$i % $ng][1];
421 $tocolor = $this->grad_fromcolor[$i % $ng][1];
426 $fromcolor,$tocolor,$style);
1007 $tocolor = $this->plots[$j]->grad_tocolor;
1012 $tocolor = $this->plots[$j]->grad_fromcolor[$i % $ng][1];
1018 $tocolor = $this->plots[$j]->grad_fromcolor[$i % $ng][1];
1023 $fromcolor,$tocolor,$style);
/dports/games/sauerbraten/sauerbraten/src/engine/
H A Drendersky.cpp452 …vec suncolor = atmosunlight ? atmosunlightcolor.tocolor().mul(atmosunlightscale) : sunlightcolor.t… in drawatmosphere()
466 …vec diskcolor = (atmosundisk ? atmosundiskcolor.tocolor() : suncolor).square().mul(zenithextinctio… in drawatmosphere()
H A Drendergl.cpp1169 fogc.madd(wcol.tocolor(), blend); in blendfog()
1178 fogc.madd(lcol.tocolor(), blend); in blendfog()
1184 fogc.madd(fogcolor.tocolor(), blend); in blendfog()
1381 pushfogcolor(col.tocolor()); in drawreflection()
1744 setnofog(minimapcolor.tocolor()); in drawminimap()
/dports/devel/godot-tools/godot-3.2.3-stable/scene/gui/
H A Dgraph_edit.cpp738 Color tocolor = gto->get_connection_input_color(E->get().to_port); in _connections_layer_draw() local
742 tocolor = tocolor.linear_interpolate(activity_color, E->get().activity); in _connections_layer_draw()
744 _draw_cos_line(connections_layer, frompos, topos, color, tocolor); in _connections_layer_draw()
/dports/devel/godot/godot-3.2.3-stable/scene/gui/
H A Dgraph_edit.cpp738 Color tocolor = gto->get_connection_input_color(E->get().to_port); in _connections_layer_draw() local
742 tocolor = tocolor.linear_interpolate(activity_color, E->get().activity); in _connections_layer_draw()
744 _draw_cos_line(connections_layer, frompos, topos, color, tocolor); in _connections_layer_draw()
/dports/games/redeclipse16/base-1.6.0/src/engine/
H A Drendergl.cpp1039 fogc.madd(wcol.tocolor(), blend); in blendfog()
1048 fogc.madd(lcol.tocolor(), blend); in blendfog()
1054 fogc.madd(fogcolor.tocolor(), blend); in blendfog()
1345 pushfogcolor(col.tocolor()); in drawreflection()
1704 setnofog(minimapcolor.tocolor()); in drawminimap()

12