/dports/audio/lsp-plugins-lv2/lsp-plugins-1.1.31/include/ui/tk/sys/ |
H A D | LSPColor.h | 57 Color sColor; 80 inline float red() const { return sColor.red(); } in red() 120 void copy(const LSPColor &c) { sColor.copy(c.sColor); trigger_change(); } in copy() 121 void copy(const LSPColor *c) { sColor.copy(c->sColor); trigger_change(); } in copy() 125 return sColor.format_rgb(dst, len, tolerance); 130 return sColor.format_rgba(dst, len, tolerance); 135 return sColor.format_hsl(dst, len, tolerance); 140 return sColor.format_hsla(dst, len, tolerance); 143 inline uint32_t rgb24() const { return sColor.rgb24(); } in rgb24() 146 inline const Color *color() const { return &sColor; } in color() [all …]
|
/dports/audio/lsp-plugins-lv2/lsp-plugins-1.1.31/src/ui/tk/widgets/graph/ |
H A D | LSPFrameBuffer.cpp | 58 sColRGBA.r = sColor.red(); in LSPFrameBuffer() 59 sColRGBA.g = sColor.green(); in LSPFrameBuffer() 60 sColRGBA.b = sColor.blue(); in LSPFrameBuffer() 61 sColRGBA.a = sColor.alpha(); in LSPFrameBuffer() 144 sColRGBA.r = sColor.red(); in check_color_changed() 146 sColRGBA.b = sColor.blue(); in check_color_changed() 279 eff.h = sColor.hue(); in calc_rainbow_color() 292 eff.h = sColor.hue(); in calc_fog_color() 304 eff.h = sColor.hue(); in calc_color() 317 eff.h = sColor.hue(); in calc_lightness() [all …]
|
/dports/audio/lsp-plugins-lv2/lsp-plugins-1.1.31/src/ui/ctl/ |
H A D | CtlColor.cpp | 77 sColor.copy(pDstColor->color()); in do_init() 166 if (sColor.alpha() == alpha) in set_alpha() 169 sColor.alpha(alpha); in set_alpha() 201 t->get_color(value, &sColor); in set() 230 case C_ST_R: sColor.red(res); break; in set() 232 case C_ST_B: sColor.blue(res); break; in set() 233 case C_ST_H: sColor.hue(res); break; in set() 268 t->get_color(vValues[i], &sColor); in do_bind() 291 bool result = theme->get_color(name, &sColor); in set() 298 bool result = theme->get_color(color, &sColor); in set() [all …]
|
/dports/audio/lsp-plugins-lv2/lsp-plugins-1.1.31/src/ui/tk/sys/ |
H A D | LSPColor.cpp | 323 if (sColor.red() == r) in red() 325 sColor.red(r); in red() 331 if (sColor.green() == g) in green() 333 sColor.green(g); in green() 339 if (sColor.blue() == b) in blue() 341 sColor.blue(b); in blue() 347 if (sColor.hue() == h) in hue() 349 sColor.hue(h); in hue() 357 sColor.saturation(s); in saturation() 365 sColor.lightness(l); in lightness() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/sde/ |
H A D | sderasterband.cpp | 507 sColor.c1 = red; in ComputeColorTable() 508 sColor.c2 = green; in ComputeColorTable() 509 sColor.c3 = blue; in ComputeColorTable() 510 sColor.c4 = 255; in ComputeColorTable() 527 sColor.c1 = red; in ComputeColorTable() 529 sColor.c3 = blue; in ComputeColorTable() 552 sColor.c1 = red; in ComputeColorTable() 554 sColor.c3 = blue; in ComputeColorTable() 555 sColor.c4 = 255; in ComputeColorTable() 572 sColor.c1 = red; in ComputeColorTable() [all …]
|
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/src/ |
H A D | color_gradient.h | 48 struct sColor struct 53 static bool lessCompare(sColor a, sColor b) { return a.position < b.position; } in lessCompare() argument 65 QList<sColor> GetListOfColors() const; 66 QList<sColor> GetListOfSortedColors() const; 82 QList<sColor> colors; 83 QList<sColor> sortedColors;
|
H A D | color_gradient.cpp | 57 sColor positionedColor = {sRGB(255, 255, 255), 0.0}; in cColorGradient() 60 sColor positionedColor2 = {sRGB(255, 255, 255), 1.0}; in cColorGradient() 74 sColor positionedColor = {color, position}; in AddColor() 260 QList<cColorGradient::sColor> cColorGradient::GetListOfColors() const in GetListOfColors() 265 QList<cColorGradient::sColor> cColorGradient::GetListOfSortedColors() const in GetListOfSortedColors() 278 std::sort(sortedColors.begin(), sortedColors.end(), sColor::lessCompare); in SortGradient() 313 sColor positionedColor = {sRGB(255, 255, 255), 0.0}; in SetColorsFromString() 316 sColor positionedColor2 = {sRGB(255, 255, 255), 1.0}; in SetColorsFromString() 341 sColor colorPos = {color, position}; in SetColorsFromString() 347 sColor lastColor = colors.first(); in SetColorsFromString()
|
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/fpdfsdk/pdfwindow/ |
H A D | PWL_Utils.cpp | 293 if (sColor.GetLength() > 0) { in GetRectFillAppStream() 294 sAppStream << "q\n" << sColor; in GetRectFillAppStream() 307 if (sColor.GetLength() > 0) { in GetCircleFillAppStream() 595 CFX_ByteString sColor; in GetBorderAppStream() local 612 sAppStream << sColor; in GetBorderAppStream() 624 sAppStream << sColor; in GetBorderAppStream() 644 sAppStream << sColor; in GetBorderAppStream() 661 sAppStream << sColor; in GetBorderAppStream() 678 sAppStream << sColor; in GetBorderAppStream() 689 sAppStream << sColor; in GetBorderAppStream() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/xpm/ |
H A D | xpmdataset.cpp | 253 GDALColorEntry sColor; in XPMCreateCopy() local 255 sColor.c1 = (short) i; in XPMCreateCopy() 256 sColor.c2 = (short) i; in XPMCreateCopy() 257 sColor.c3 = (short) i; in XPMCreateCopy() 258 sColor.c4 = 255; in XPMCreateCopy() 561 GDALColorEntry sColor; in ParseXPM() local 578 sColor.c1 = 0; in ParseXPM() 579 sColor.c2 = 0; in ParseXPM() 580 sColor.c3 = 0; in ParseXPM() 581 sColor.c4 = 0; in ParseXPM() [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/xpm/ |
H A D | xpmdataset.cpp | 248 GDALColorEntry sColor; in XPMCreateCopy() local 250 sColor.c1 = (short) i; in XPMCreateCopy() 251 sColor.c2 = (short) i; in XPMCreateCopy() 252 sColor.c3 = (short) i; in XPMCreateCopy() 253 sColor.c4 = 255; in XPMCreateCopy() 594 GDALColorEntry sColor; in ParseXPM() local 599 sColor.c1 = 0; in ParseXPM() 600 sColor.c2 = 0; in ParseXPM() 601 sColor.c3 = 0; in ParseXPM() 602 sColor.c4 = 0; in ParseXPM() [all …]
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/xpm/ |
H A D | xpmdataset.cpp | 248 GDALColorEntry sColor; 250 sColor.c1 = (short) i; 251 sColor.c2 = (short) i; 252 sColor.c3 = (short) i; 253 sColor.c4 = 255; 594 GDALColorEntry sColor; 599 sColor.c1 = 0; 600 sColor.c2 = 0; 601 sColor.c3 = 0; 602 sColor.c4 = 0; [all …]
|
/dports/graphics/gdal/gdal-3.3.3/frmts/xpm/ |
H A D | xpmdataset.cpp | 248 GDALColorEntry sColor; in XPMCreateCopy() local 250 sColor.c1 = (short) i; in XPMCreateCopy() 251 sColor.c2 = (short) i; in XPMCreateCopy() 252 sColor.c3 = (short) i; in XPMCreateCopy() 253 sColor.c4 = 255; in XPMCreateCopy() 594 GDALColorEntry sColor; in ParseXPM() local 599 sColor.c1 = 0; in ParseXPM() 600 sColor.c2 = 0; in ParseXPM() 601 sColor.c3 = 0; in ParseXPM() 602 sColor.c4 = 0; in ParseXPM() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/grass/ |
H A D | grassdataset.cpp | 212 GDALColorEntry sColor; in GRASSRasterBand() local 216 sColor.c1 = nRed; in GRASSRasterBand() 217 sColor.c2 = nGreen; in GRASSRasterBand() 218 sColor.c3 = nBlue; in GRASSRasterBand() 219 sColor.c4 = 255; in GRASSRasterBand() 221 poCT->SetColorEntry( iColor, &sColor ); in GRASSRasterBand() 225 sColor.c1 = 0; in GRASSRasterBand() 226 sColor.c2 = 0; in GRASSRasterBand() 227 sColor.c3 = 0; in GRASSRasterBand() 228 sColor.c4 = 0; in GRASSRasterBand() [all …]
|
/dports/graphics/xournalpp/xournalpp-1.1.0/src/control/xojfile/ |
H A D | LoadHandlerHelper.cpp | 32 const char* sColor = LoadHandlerHelper::getAttrib("color", false, loadHandler); in parseBackgroundColor() local 35 if (strcmp("blue", sColor) == 0) { in parseBackgroundColor() 37 } else if (strcmp("pink", sColor) == 0) { in parseBackgroundColor() 39 } else if (strcmp("green", sColor) == 0) { in parseBackgroundColor() 41 } else if (strcmp("orange", sColor) == 0) { in parseBackgroundColor() 43 } else if (strcmp("yellow", sColor) == 0) { in parseBackgroundColor() 46 LoadHandlerHelper::parseColor(sColor, color, loadHandler); in parseBackgroundColor()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/ |
H A D | cpdfsdk_appstream.cpp | 409 if (sColor.GetLength() > 0) { in GetCircleFillAppStream() 424 ByteString sColor; in GetCircleBorderAppStream() local 934 ByteString sColor; in GetBorderAppStreamInternal() local 950 sAppStream << sColor; in GetBorderAppStreamInternal() 963 sAppStream << sColor; in GetBorderAppStreamInternal() 983 sAppStream << sColor; in GetBorderAppStreamInternal() 1001 sAppStream << sColor; in GetBorderAppStreamInternal() 1020 sAppStream << sColor; in GetBorderAppStreamInternal() 1033 sAppStream << sColor; in GetBorderAppStreamInternal() 1806 ByteString sColor = in SetAsTextField() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/fpdfsdk/ |
H A D | cpdfsdk_appstream.cpp | 408 if (sColor.GetLength() > 0) { in GetCircleFillAppStream() 423 ByteString sColor; in GetCircleBorderAppStream() local 933 ByteString sColor; in GetBorderAppStreamInternal() local 949 sAppStream << sColor; in GetBorderAppStreamInternal() 962 sAppStream << sColor; in GetBorderAppStreamInternal() 982 sAppStream << sColor; in GetBorderAppStreamInternal() 1000 sAppStream << sColor; in GetBorderAppStreamInternal() 1019 sAppStream << sColor; in GetBorderAppStreamInternal() 1032 sAppStream << sColor; in GetBorderAppStreamInternal() 1805 ByteString sColor = in SetAsTextField() local [all …]
|
/dports/graphics/xpdf/xpdf-4.03/xpdf/ |
H A D | ShadingImage.cc | 146 SplashColor sColor; in generateFunctionBitmap() local 149 *dataPtr++ = sColor[i]; in generateFunctionBitmap() 238 SplashColor sColor; in generateAxialBitmap() local 278 SplashColor sColor; in generateAxialBitmap() local 324 SplashColor sColor; in generateAxialBitmap() local 356 sColor += nComps; in generateAxialBitmap() 382 sColor = sColors; in generateAxialBitmap() 505 sColor += nComps; in generateRadialBitmap() 516 sColor = sColors; in generateRadialBitmap() 662 sColor = sColors; in generateRadialBitmap() [all …]
|
/dports/graphics/xpdf4/xpdf-4.03/xpdf/ |
H A D | ShadingImage.cc | 146 SplashColor sColor; in generateFunctionBitmap() local 149 *dataPtr++ = sColor[i]; in generateFunctionBitmap() 238 SplashColor sColor; in generateAxialBitmap() local 278 SplashColor sColor; in generateAxialBitmap() local 324 SplashColor sColor; in generateAxialBitmap() local 356 sColor += nComps; in generateAxialBitmap() 382 sColor = sColors; in generateAxialBitmap() 505 sColor += nComps; in generateRadialBitmap() 516 sColor = sColors; in generateRadialBitmap() 662 sColor = sColors; in generateRadialBitmap() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/geotiff/libgeotiff/gcore/ |
H A D | gdalcolortable.cpp | 375 GDALColorEntry sColor = *psStartColor; in CreateColorRamp() local 381 sColor.c1 = (short) ( i * dfSlope1 + (double) psStartColor->c1 ); in CreateColorRamp() 382 sColor.c2 = (short) ( i * dfSlope2 + (double) psStartColor->c2 ); in CreateColorRamp() 383 sColor.c3 = (short) ( i * dfSlope3 + (double) psStartColor->c3 ); in CreateColorRamp() 384 sColor.c4 = (short) ( i * dfSlope4 + (double) psStartColor->c4 ); in CreateColorRamp() 386 SetColorEntry( nStartIndex + i, &sColor ); in CreateColorRamp()
|
/dports/devel/upp/upp/bazaar/plugin/gdal/gcore/ |
H A D | gdalcolortable.cpp | 425 GDALColorEntry sColor = *psStartColor; in CreateColorRamp() local 431 sColor.c1 = (short) ( i * dfSlope1 + (double) psStartColor->c1 ); in CreateColorRamp() 432 sColor.c2 = (short) ( i * dfSlope2 + (double) psStartColor->c2 ); in CreateColorRamp() 433 sColor.c3 = (short) ( i * dfSlope3 + (double) psStartColor->c3 ); in CreateColorRamp() 434 sColor.c4 = (short) ( i * dfSlope4 + (double) psStartColor->c4 ); in CreateColorRamp() 436 SetColorEntry( nStartIndex + i, &sColor ); in CreateColorRamp()
|
/dports/graphics/py-gdal/gdal-3.3.3/gcore/ |
H A D | gdalcolortable.cpp | 421 GDALColorEntry sColor = *psStartColor; in CreateColorRamp() local 425 sColor.c1 = static_cast<short>(i * dfSlope1 + psStartColor->c1); in CreateColorRamp() 426 sColor.c2 = static_cast<short>(i * dfSlope2 + psStartColor->c2); in CreateColorRamp() 427 sColor.c3 = static_cast<short>(i * dfSlope3 + psStartColor->c3); in CreateColorRamp() 428 sColor.c4 = static_cast<short>(i * dfSlope4 + psStartColor->c4); in CreateColorRamp() 430 SetColorEntry( nStartIndex + i, &sColor ); in CreateColorRamp()
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/gcore/ |
H A D | gdalcolortable.cpp | 421 GDALColorEntry sColor = *psStartColor; in CreateColorRamp() local 425 sColor.c1 = static_cast<short>(i * dfSlope1 + psStartColor->c1); in CreateColorRamp() 426 sColor.c2 = static_cast<short>(i * dfSlope2 + psStartColor->c2); in CreateColorRamp() 427 sColor.c3 = static_cast<short>(i * dfSlope3 + psStartColor->c3); in CreateColorRamp() 428 sColor.c4 = static_cast<short>(i * dfSlope4 + psStartColor->c4); in CreateColorRamp() 430 SetColorEntry( nStartIndex + i, &sColor ); in CreateColorRamp()
|
/dports/graphics/gdal/gdal-3.3.3/gcore/ |
H A D | gdalcolortable.cpp | 421 GDALColorEntry sColor = *psStartColor; in CreateColorRamp() local 425 sColor.c1 = static_cast<short>(i * dfSlope1 + psStartColor->c1); in CreateColorRamp() 426 sColor.c2 = static_cast<short>(i * dfSlope2 + psStartColor->c2); in CreateColorRamp() 427 sColor.c3 = static_cast<short>(i * dfSlope3 + psStartColor->c3); in CreateColorRamp() 428 sColor.c4 = static_cast<short>(i * dfSlope4 + psStartColor->c4); in CreateColorRamp() 430 SetColorEntry( nStartIndex + i, &sColor ); in CreateColorRamp()
|
/dports/games/OpenLara/OpenLara-b4b19f2/src/ |
H A D | ui.h | 338 Color32 tColor, bColor, sColor; variable 339 tColor = bColor = sColor = Color32(0, 0, 0, 255); 356 … mesh->addDynSprite(index, short3(x + 1, 1 + y + 1, 0), false, false, sColor, sColor, true); 357 … mesh->addDynSprite(index, short3(x - 1, 1 + y - 1, 0), false, false, sColor, sColor, true); 358 … mesh->addDynSprite(index, short3(x - 1, 1 + y + 1, 0), false, false, sColor, sColor, true); 359 … mesh->addDynSprite(index, short3(x + 1, 1 + y - 1, 0), false, false, sColor, sColor, true); 360 … mesh->addDynSprite(index, short3(x - 1, 1 + y , 0), false, false, sColor, sColor, true); 361 … mesh->addDynSprite(index, short3(x + 1, 1 + y , 0), false, false, sColor, sColor, true); 362 … mesh->addDynSprite(index, short3(x , 1 + y - 1, 0), false, false, sColor, sColor, true); 363 … mesh->addDynSprite(index, short3(x , 1 + y + 1, 0), false, false, sColor, sColor, true); [all …]
|
/dports/databases/grass7/grass-7.8.6/raster/r.out.gdal/ |
H A D | export_band.c | 303 GDALColorEntry sColor; in export_band() local 307 sColor.c1 = nRed; in export_band() 308 sColor.c2 = nGreen; in export_band() 309 sColor.c3 = nBlue; in export_band() 310 sColor.c4 = 255; in export_band() 315 GDALSetColorEntry(hCT, iColor, &sColor); in export_band() 318 sColor.c1 = 0; in export_band() 319 sColor.c2 = 0; in export_band() 320 sColor.c3 = 0; in export_band() 321 sColor.c4 = 0; in export_band() [all …]
|