Home
last modified time | relevance | path

Searched refs:newcolor (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/dports/math/vtk9/VTK-9.1.0/Rendering/Volume/
H A DvtkUnstructuredGridHomogeneousRayIntegrator.cxx208 float newcolor[4]; in Integrate() local
221 newcolor[0] = c[0]; in Integrate()
222 newcolor[1] = c[1]; in Integrate()
223 newcolor[2] = c[2]; in Integrate()
224 newcolor[3] = tau; in Integrate()
252 newcolor[0] *= newcolor[3] / (tau + newcolor[3]); in Integrate()
253 newcolor[1] *= newcolor[3] / (tau + newcolor[3]); in Integrate()
254 newcolor[2] *= newcolor[3] / (tau + newcolor[3]); in Integrate()
255 newcolor[0] += c[0] * tau / (tau + newcolor[3]); in Integrate()
256 newcolor[1] += c[1] * tau / (tau + newcolor[3]); in Integrate()
[all …]
H A DvtkUnstructuredGridPreIntegration.cxx402 float newcolor[4] = { c[0], c[1], c[2], c[3] }; in Integrate() local
411 float coef2 = 1.0f - 0.5f * newcolor[3]; in Integrate()
412 newcolor[0] = newcolor[0] * coef1 + c[0] * coef2; in Integrate()
413 newcolor[1] = newcolor[1] * coef1 + c[1] * coef2; in Integrate()
414 newcolor[2] = newcolor[2] * coef1 + c[2] * coef2; in Integrate()
415 newcolor[3] = newcolor[3] * coef1 + c[3] * coef2; in Integrate()
419 color[0] += newcolor[0] * coef; in Integrate()
420 color[1] += newcolor[1] * coef; in Integrate()
421 color[2] += newcolor[2] * coef; in Integrate()
422 color[3] += newcolor[3] * coef; in Integrate()
/dports/math/vtk8/VTK-8.2.0/Rendering/Volume/
H A DvtkUnstructuredGridHomogeneousRayIntegrator.cxx219 float newcolor[4]; in Integrate() local
233 newcolor[0] = c[0]; newcolor[1] = c[1]; in Integrate()
234 newcolor[2] = c[2]; newcolor[3] = tau; in Integrate()
261 if (tau + newcolor[3] > 1.0e-8f) in Integrate()
263 newcolor[0] *= newcolor[3]/(tau + newcolor[3]); in Integrate()
264 newcolor[1] *= newcolor[3]/(tau + newcolor[3]); in Integrate()
265 newcolor[2] *= newcolor[3]/(tau + newcolor[3]); in Integrate()
266 newcolor[0] += c[0]*tau/(tau + newcolor[3]); in Integrate()
267 newcolor[1] += c[1]*tau/(tau + newcolor[3]); in Integrate()
268 newcolor[2] += c[2]*tau/(tau + newcolor[3]); in Integrate()
[all …]
H A DvtkUnstructuredGridPreIntegration.cxx428 float newcolor[4] = {c[0], c[1], c[2], c[3]}; in Integrate() local
438 float coef2 = 1.0f - 0.5f*newcolor[3]; in Integrate()
439 newcolor[0] = newcolor[0]*coef1 + c[0]*coef2; in Integrate()
440 newcolor[1] = newcolor[1]*coef1 + c[1]*coef2; in Integrate()
441 newcolor[2] = newcolor[2]*coef1 + c[2]*coef2; in Integrate()
442 newcolor[3] = newcolor[3]*coef1 + c[3]*coef2; in Integrate()
446 color[0] += newcolor[0]*coef; in Integrate()
447 color[1] += newcolor[1]*coef; in Integrate()
448 color[2] += newcolor[2]*coef; in Integrate()
449 color[3] += newcolor[3]*coef; in Integrate()
/dports/math/vtk6/VTK-6.2.0/Rendering/Volume/
H A DvtkUnstructuredGridHomogeneousRayIntegrator.cxx219 float newcolor[4]; in Integrate() local
233 newcolor[0] = c[0]; newcolor[1] = c[1]; in Integrate()
234 newcolor[2] = c[2]; newcolor[3] = tau; in Integrate()
261 if (tau + newcolor[3] > 1.0e-8f) in Integrate()
263 newcolor[0] *= newcolor[3]/(tau + newcolor[3]); in Integrate()
264 newcolor[1] *= newcolor[3]/(tau + newcolor[3]); in Integrate()
265 newcolor[2] *= newcolor[3]/(tau + newcolor[3]); in Integrate()
266 newcolor[0] += c[0]*tau/(tau + newcolor[3]); in Integrate()
267 newcolor[1] += c[1]*tau/(tau + newcolor[3]); in Integrate()
268 newcolor[2] += c[2]*tau/(tau + newcolor[3]); in Integrate()
[all …]
H A DvtkUnstructuredGridPreIntegration.cxx428 float newcolor[4] = {c[0], c[1], c[2], c[3]}; in Integrate() local
438 float coef2 = 1.0f - 0.5f*newcolor[3]; in Integrate()
439 newcolor[0] = newcolor[0]*coef1 + c[0]*coef2; in Integrate()
440 newcolor[1] = newcolor[1]*coef1 + c[1]*coef2; in Integrate()
441 newcolor[2] = newcolor[2]*coef1 + c[2]*coef2; in Integrate()
442 newcolor[3] = newcolor[3]*coef1 + c[3]*coef2; in Integrate()
446 color[0] += newcolor[0]*coef; in Integrate()
447 color[1] += newcolor[1]*coef; in Integrate()
448 color[2] += newcolor[2]*coef; in Integrate()
449 color[3] += newcolor[3]*coef; in Integrate()
/dports/games/odamex/odamex-src-0.7.0/client/src/
H A Dv_text.cpp334 if (newcolor == 0) in TextWrapper()
338 else if (newcolor == '-') in TextWrapper()
340 newcolor = normalcolor; in TextWrapper()
342 else if (newcolor >= 'A' && newcolor < 'A' + NUM_TEXT_COLORS) in TextWrapper()
344 newcolor -= 'A'; in TextWrapper()
348 newcolor = boldcolor; in TextWrapper()
416 if (newcolor == 0) in TextSWrapper()
422 newcolor = normalcolor; in TextSWrapper()
424 else if (newcolor >= 'A' && newcolor < 'A' + NUM_TEXT_COLORS) in TextSWrapper()
426 newcolor -= 'A'; in TextSWrapper()
[all …]
/dports/mail/squirrelmail/squirrelmail.stable/squirrelmail/src/
H A Doptions_highlight.php106 if ($color_type == 1) $newcolor = $newcolor_choose; variable
107 elseif ($color_type == 2) $newcolor = $newcolor_input; variable
108 else $newcolor = $color_type; variable
110 $newcolor = str_replace('#', '', $newcolor); variable
111 $newcolor = str_replace('"', '', $newcolor); variable
112 $newcolor = str_replace('\'', '', $newcolor); variable
117 array( 'name' => $identname, 'color' => $newcolor,
121 array( 'name' => $identname, 'color' => $newcolor,
/dports/graphics/plotutils/plotutils-2.6/libplot/
H A Dx_point.c42 plColor oldcolor, newcolor; in _pl_x_paint_point() local
49 newcolor = _plotter->drawstate->fgcolor; in _pl_x_paint_point()
51 if (newcolor.red != oldcolor.red in _pl_x_paint_point()
52 || newcolor.green != oldcolor.green in _pl_x_paint_point()
53 || newcolor.blue != oldcolor.blue in _pl_x_paint_point()
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/hotint/HotInt_V1/WCDriver3D/
H A DPlotToolDlg_aux.h219 MyColorInfo newcolor; in ReadFromEDC() local
220 newcolor.ReadFromEDC(subEDC); // each color sub-EDC reads itself in ReadFromEDC()
221 if(newcolor.Name() == mystr("")) in ReadFromEDC()
223 newcolor.Name() = subEDCname; in ReadFromEDC()
225 Add(newcolor); in ReadFromEDC()
237 ElementDataContainer* newcolor = (ElementDataContainer*) new ElementDataContainer; in WriteToEDC() local
238 Item(i).WriteToEDC(newcolor); in WriteToEDC()
240 ed.SetEDC(newcolor,Item(i).Name()); in WriteToEDC()
/dports/graphics/netpbm/netpbm-10.91.01/editor/
H A Dppmchange.c158 pixel newcolor; in changeRow() local
166 newcolor = colorto[i]; in changeRow()
169 outrow[col] = newcolor; in changeRow()
199 pixel newcolor[TCOLS]; /* colors with which he wants them replaced */ in main() local
221 newcolor[i] = ppm_parsecolor2(cmdline.newcolorname[i], maxval, in main()
235 changeRow(inrow, outrow, cols, cmdline.ncolors, oldcolor, newcolor, in main()
/dports/math/spooles-mpich/spooles.2.2_SHARED/BKL/src/
H A Dutil.c185 int ii, iseg, newcolor, oldcolor, size, wdom, wseg ; in BKL_flipDomain() local
201 newcolor = 2 ; in BKL_flipDomain()
204 newcolor = 1 ; in BKL_flipDomain()
211 colors[idom] = newcolor ; in BKL_flipDomain()
219 bkl->cweights[newcolor] += wdom ; in BKL_flipDomain()
234 != (newcolor = BKL_segColor(bkl, iseg)) ) { in BKL_flipDomain()
236 bkl->cweights[newcolor] += wseg ; in BKL_flipDomain()
237 colors[iseg] = newcolor ; in BKL_flipDomain()
/dports/math/spooles-mpich/spooles.2.2/BKL/src/
H A Dutil.c185 int ii, iseg, newcolor, oldcolor, size, wdom, wseg ; in BKL_flipDomain() local
201 newcolor = 2 ; in BKL_flipDomain()
204 newcolor = 1 ; in BKL_flipDomain()
211 colors[idom] = newcolor ; in BKL_flipDomain()
219 bkl->cweights[newcolor] += wdom ; in BKL_flipDomain()
234 != (newcolor = BKL_segColor(bkl, iseg)) ) { in BKL_flipDomain()
236 bkl->cweights[newcolor] += wseg ; in BKL_flipDomain()
237 colors[iseg] = newcolor ; in BKL_flipDomain()
/dports/math/spooles/spooles.2.2_SHARED/BKL/src/
H A Dutil.c185 int ii, iseg, newcolor, oldcolor, size, wdom, wseg ; in BKL_flipDomain() local
201 newcolor = 2 ; in BKL_flipDomain()
204 newcolor = 1 ; in BKL_flipDomain()
211 colors[idom] = newcolor ; in BKL_flipDomain()
219 bkl->cweights[newcolor] += wdom ; in BKL_flipDomain()
234 != (newcolor = BKL_segColor(bkl, iseg)) ) { in BKL_flipDomain()
236 bkl->cweights[newcolor] += wseg ; in BKL_flipDomain()
237 colors[iseg] = newcolor ; in BKL_flipDomain()
/dports/math/spooles/spooles.2.2/BKL/src/
H A Dutil.c185 int ii, iseg, newcolor, oldcolor, size, wdom, wseg ; in BKL_flipDomain() local
201 newcolor = 2 ; in BKL_flipDomain()
204 newcolor = 1 ; in BKL_flipDomain()
211 colors[idom] = newcolor ; in BKL_flipDomain()
219 bkl->cweights[newcolor] += wdom ; in BKL_flipDomain()
234 != (newcolor = BKL_segColor(bkl, iseg)) ) { in BKL_flipDomain()
236 bkl->cweights[newcolor] += wseg ; in BKL_flipDomain()
237 colors[iseg] = newcolor ; in BKL_flipDomain()
/dports/graphics/svgalib/svgalib-1.4.3/demos/
H A Deventtest.c15 static int newcolor(void) in newcolor() function
124 color = newcolor(); in main()
129 gl_setfontcolors(0, newcolor()); in main()
200 color = newcolor(); in main()
239 color = newcolor(); in main()
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dgdevl31s.c219 int newcolor = 0; in lj3100sw_print_page_copies() local
221 newcolor = (data[(j - xoffset) / 8] >> (7 - (j - xoffset) % 8)) & 1; in lj3100sw_print_page_copies()
223 newcolor = !color; /* force output */ in lj3100sw_print_page_copies()
224 if (newcolor == color) in lj3100sw_print_page_copies()
229 while (newcolor != color) { in lj3100sw_print_page_copies()
241 color = newcolor; in lj3100sw_print_page_copies()
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dgdevl31s.c219 int newcolor = 0; in lj3100sw_print_page_copies() local
221 newcolor = (data[(j - xoffset) / 8] >> (7 - (j - xoffset) % 8)) & 1; in lj3100sw_print_page_copies()
223 newcolor = !color; /* force output */ in lj3100sw_print_page_copies()
224 if (newcolor == color) in lj3100sw_print_page_copies()
229 while (newcolor != color) { in lj3100sw_print_page_copies()
241 color = newcolor; in lj3100sw_print_page_copies()
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/devices/
H A Dgdevl31s.c222 int newcolor = 0; in lj3100sw_print_page_copies() local
224newcolor = (data[(j - xoffset) / 8] >> (7 - (j - xoffset) % 8)) & 1; in lj3100sw_print_page_copies()
226 newcolor = !color; /* force output */ in lj3100sw_print_page_copies()
227 if (newcolor == color) in lj3100sw_print_page_copies()
232 while (newcolor != color) { in lj3100sw_print_page_copies()
244 color = newcolor; in lj3100sw_print_page_copies()
/dports/print/ghostscript9-x11/ghostscript-9.06/base/
H A Dgdevl31s.c216 int newcolor = 0; in lj3100sw_print_page_copies() local
218newcolor = (data[(j - xoffset) / 8] >> (7 - (j - xoffset) % 8)) & 1; in lj3100sw_print_page_copies()
220 newcolor = !color; /* force output */ in lj3100sw_print_page_copies()
221 if (newcolor == color) in lj3100sw_print_page_copies()
226 while (newcolor != color) { in lj3100sw_print_page_copies()
238 color = newcolor; in lj3100sw_print_page_copies()
/dports/print/ghostscript9-base/ghostscript-9.06/base/
H A Dgdevl31s.c216 int newcolor = 0; in lj3100sw_print_page_copies() local
218newcolor = (data[(j - xoffset) / 8] >> (7 - (j - xoffset) % 8)) & 1; in lj3100sw_print_page_copies()
220 newcolor = !color; /* force output */ in lj3100sw_print_page_copies()
221 if (newcolor == color) in lj3100sw_print_page_copies()
226 while (newcolor != color) { in lj3100sw_print_page_copies()
238 color = newcolor; in lj3100sw_print_page_copies()
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/devices/
H A Dgdevl31s.c222 int newcolor = 0; in lj3100sw_print_page_copies() local
224newcolor = (data[(j - xoffset) / 8] >> (7 - (j - xoffset) % 8)) & 1; in lj3100sw_print_page_copies()
226 newcolor = !color; /* force output */ in lj3100sw_print_page_copies()
227 if (newcolor == color) in lj3100sw_print_page_copies()
232 while (newcolor != color) { in lj3100sw_print_page_copies()
244 color = newcolor; in lj3100sw_print_page_copies()
/dports/print/ghostscript8-base/ghostscript-8.71/base/
H A Dgdevl31s.c214 int newcolor = 0; in lj3100sw_print_page_copies() local
216 newcolor = (data[(j - xoffset) / 8] >> (7 - (j - xoffset) % 8)) & 1; in lj3100sw_print_page_copies()
218 newcolor = !color; /* force output */ in lj3100sw_print_page_copies()
219 if (newcolor == color) in lj3100sw_print_page_copies()
224 while (newcolor != color) { in lj3100sw_print_page_copies()
236 color = newcolor; in lj3100sw_print_page_copies()
/dports/print/ghostscript8-x11/ghostscript-8.71/base/
H A Dgdevl31s.c214 int newcolor = 0; in lj3100sw_print_page_copies() local
216 newcolor = (data[(j - xoffset) / 8] >> (7 - (j - xoffset) % 8)) & 1; in lj3100sw_print_page_copies()
218 newcolor = !color; /* force output */ in lj3100sw_print_page_copies()
219 if (newcolor == color) in lj3100sw_print_page_copies()
224 while (newcolor != color) { in lj3100sw_print_page_copies()
236 color = newcolor; in lj3100sw_print_page_copies()
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vwidgets/fancytabbar/
H A Dstylehelper.cpp105 void StyleHelper::setBaseColor(const QColor &newcolor) in setBaseColor() argument
107 m_requestedBaseColor = newcolor; in setBaseColor()
110 color.setHsv(newcolor.hue(), in setBaseColor()
111 static_cast<int>(newcolor.saturation() * 0.7), in setBaseColor()
112 64 + newcolor.value() / 3); in setBaseColor()

12345678910>>...13