/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/android/java/src/org/chromium/ui/util/ |
H A D | ColorUtils.java | 53 float bgG = Color.green(color) / 255f; in getContrastForColor() local 56 bgG = (bgG < 0.03928f) ? bgG / 12.92f : (float) Math.pow((bgG + 0.055f) / 1.055f, 2.4f); in getContrastForColor() 58 float bgL = 0.2126f * bgR + 0.7152f * bgG + 0.0722f * bgB; in getContrastForColor()
|
/dports/devel/py-game/pygame-2.1.0/src_c/freetype/ |
H A D | ft_render_cb.c | 509 FT_UInt32 bgR, bgG, bgB, bgA; \ 561 bgR, bgG, bgB, bgA); \ 566 bgR, bgG, bgB, bgA); \ 572 edge_a, bgR, bgG, bgB, bgA); \ 599 bgR, bgG, bgB, bgA); \ 604 bgR, bgG, bgB, bgA); \ 610 color->a, bgR, bgG, bgB, bgA); \ 638 bgR, bgG, bgB, bgA); \ 643 bgR, bgG, bgB, bgA); \ 828 SET_PIXEL24_RGB(_dst, surface->format, bgR, bgG, bgB); [all …]
|
/dports/net/rclone/rclone-1.57.0/vendor/github.com/nsf/termbox-go/_demos/ |
H A D | rgbcolor.go | 17 var bgG uint8 = 100 var 58 g = fmt.Sprintf("%3d", bgG) 101 bg = termbox.RGBToAttribute(uint8(bgR), uint8(bgG), uint8(bgB)) 181 bgG-- 183 bgG++
|
/dports/games/neo-cowsay/Neo-cowsay-2.0.1/vendor/github.com/nsf/termbox-go/_demos/ |
H A D | rgbcolor.go | 17 var bgG uint8 = 100 var 58 g = fmt.Sprintf("%3d", bgG) 101 bg = termbox.RGBToAttribute(uint8(bgR), uint8(bgG), uint8(bgB)) 181 bgG-- 183 bgG++
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/webapk/shell_apk/src/org/chromium/webapk/shell_apk/ |
H A D | WebApkUtils.java | 196 float bgG = Color.green(color) / 255f; in getContrastForColor() local 199 bgG = (bgG < 0.03928f) ? bgG / 12.92f : (float) Math.pow((bgG + 0.055f) / 1.055f, 2.4f); in getContrastForColor() 201 float bgL = 0.2126f * bgR + 0.7152f * bgG + 0.0722f * bgB; in getContrastForColor()
|
/dports/games/violetland/violetland-0.5/src/system/utility/ |
H A D | ImageUtility.cpp | 24 char fgB, char fgA, char bgR, char bgG, char bgB, char bgA, in createImage() argument 27 SDL_Color tmpfontbgcolor = { (Uint8)bgR, (Uint8)bgG, (Uint8)bgB, (Uint8)bgA }; in createImage()
|
H A D | ImageUtility.h | 19 char fgB, char fgA, char bgR, char bgG, char bgB, char bgA,
|
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/sdl/ |
H A D | i_ttf.c | 144 …lity quality, INT32 fgR, INT32 fgG, INT32 fgB, INT32 fgA, INT32 bgR, INT32 bgG, INT32 bgB, INT32 b… in I_TTFDrawText() argument 157 SDL_Color fontbgcolor = {bgR, bgG, bgB, bgA}; in I_TTFDrawText()
|
H A D | i_ttf.h | 81 …lity quality, INT32 fgR, INT32 fgG, INT32 fgB, INT32 fgA, INT32 bgR, INT32 bgG, INT32 bgB, INT32 b…
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/common/dialogs/ |
H A D | dialog_color_picker.cpp | 259 wxColourBase::ChannelType bgG = bg.Green(); in createRGBBitmap() local 265 img.SetRGB( xx, yy, bgR, bgG, bgB ); in createRGBBitmap() 339 wxColourBase::ChannelType bgG = bg.Green(); in createHSVBitmap() local 345 img.SetRGB( xx, yy, bgR, bgG, bgB ); in createHSVBitmap()
|
/dports/games/powder-toy/The-Powder-Toy-95.0/src/gui/font/ |
H A D | FontEditor.h | 57 int bgR, bgG, bgB; variable
|
H A D | FontEditor.cpp | 262 fgR(255), fgG(255), fgB(255), bgR(0), bgG(0), bgB(0), in FontEditor() 350 int *refs[6] = {&fgR, &fgG, &fgB, &bgR, &bgG, &bgB}; in FontEditor() 436 g->fillrect(0, 0, areaWidth, 8 + FONT_H * FONT_SCALE + 4 + FONT_H + 4, bgR, bgG, bgB, 255); in OnDraw()
|
/dports/graphics/xv-m17n/xv-3.10a/ |
H A D | xvpbm.c | 482 byte *p, *pix, *pic24, *linebuf, scale[256], bgR, bgG, bgB, r, g, b, a; local 546 bgG = (imagebgG >> 8); 549 bgR = bgG = bgB = 0; 560 alpha_composite(*pix++, g, a, bgG)
|
H A D | xvimage.c | 941 byte bgR, bgG, bgB; in doAutoCrop24() local 960 bgR = cp[half+0]; bgG = cp[half+1]; bgB = cp[half+2]; in doAutoCrop24() 963 oldr = bgR; oldg = bgG; oldb = bgB; in doAutoCrop24() 966 r=cp1[0]-bgR; g=cp1[1]-bgG; b=cp1[2]-bgB; in doAutoCrop24() 984 bgR = cp[half+0]; bgG = cp[half+1]; bgB = cp[half+2]; in doAutoCrop24() 987 oldr = bgR; oldg = bgG; oldb = bgB; in doAutoCrop24() 990 r=cp1[0]-bgR; g=cp1[1]-bgG; b=cp1[2]-bgB; in doAutoCrop24() 1012 oldr = bgR; oldg = bgG; oldb = bgB; in doAutoCrop24() 1016 r=cp1[0]-bgR; g=cp1[1]-bgG; b=cp1[2]-bgB; in doAutoCrop24() 1036 oldr = bgR; oldg = bgG; oldb = bgB; in doAutoCrop24() [all …]
|
/dports/japanese/xv/xv-3.10a/ |
H A D | xvpbm.c | 482 byte *p, *pix, *pic24, *linebuf, scale[256], bgR, bgG, bgB, r, g, b, a; local 546 bgG = (imagebgG >> 8); 549 bgR = bgG = bgB = 0; 560 alpha_composite(*pix++, g, a, bgG)
|
H A D | xvimage.c | 941 byte bgR, bgG, bgB; in doAutoCrop24() local 960 bgR = cp[half+0]; bgG = cp[half+1]; bgB = cp[half+2]; in doAutoCrop24() 963 oldr = bgR; oldg = bgG; oldb = bgB; in doAutoCrop24() 966 r=cp1[0]-bgR; g=cp1[1]-bgG; b=cp1[2]-bgB; in doAutoCrop24() 984 bgR = cp[half+0]; bgG = cp[half+1]; bgB = cp[half+2]; in doAutoCrop24() 987 oldr = bgR; oldg = bgG; oldb = bgB; in doAutoCrop24() 990 r=cp1[0]-bgR; g=cp1[1]-bgG; b=cp1[2]-bgB; in doAutoCrop24() 1012 oldr = bgR; oldg = bgG; oldb = bgB; in doAutoCrop24() 1016 r=cp1[0]-bgR; g=cp1[1]-bgG; b=cp1[2]-bgB; in doAutoCrop24() 1036 oldr = bgR; oldg = bgG; oldb = bgB; in doAutoCrop24() [all …]
|
/dports/graphics/xv/xv-3.10a/ |
H A D | xvpbm.c | 482 byte *p, *pix, *pic24, *linebuf, scale[256], bgR, bgG, bgB, r, g, b, a; local 546 bgG = (imagebgG >> 8); 549 bgR = bgG = bgB = 0; 560 alpha_composite(*pix++, g, a, bgG)
|
H A D | xvimage.c | 941 byte bgR, bgG, bgB; in doAutoCrop24() local 960 bgR = cp[half+0]; bgG = cp[half+1]; bgB = cp[half+2]; in doAutoCrop24() 963 oldr = bgR; oldg = bgG; oldb = bgB; in doAutoCrop24() 966 r=cp1[0]-bgR; g=cp1[1]-bgG; b=cp1[2]-bgB; in doAutoCrop24() 984 bgR = cp[half+0]; bgG = cp[half+1]; bgB = cp[half+2]; in doAutoCrop24() 987 oldr = bgR; oldg = bgG; oldb = bgB; in doAutoCrop24() 990 r=cp1[0]-bgR; g=cp1[1]-bgG; b=cp1[2]-bgB; in doAutoCrop24() 1012 oldr = bgR; oldg = bgG; oldb = bgB; in doAutoCrop24() 1016 r=cp1[0]-bgR; g=cp1[1]-bgG; b=cp1[2]-bgB; in doAutoCrop24() 1036 oldr = bgR; oldg = bgG; oldb = bgB; in doAutoCrop24() [all …]
|
/dports/editors/texworks/texworks-release-0.6.2/src/ |
H A D | CompletingEdit.cpp | 98 qreal bgR, bgG, bgB; in updateColors() local 101 palette().color(QPalette::Active, QPalette::Base).getRgbF(&bgR, &bgG, &bgB); in updateColors() 104 …currentCompletionFormat->setBackground(QColor::fromRgbF(.75 * bgR + .25 * fgR, .75 * bgG + .25 * f… in updateColors() 107 …currentLineFormat->setBackground(QColor::fromRgbF(.9 * bgR + .1 * fgR, .9 * bgG + .1 * fgG, .9 * b… in updateColors() 110 palette().color(QPalette::Window).getRgbF(&bgR, &bgG, &bgB); in updateColors() 112 …lineNumberArea->setBgColor(QColor::fromRgbF(0.75 * bgR + 0.25 * fgR, 0.75 * bgG + 0.25 * fgG, 0.75… in updateColors()
|
/dports/math/vtk9/VTK-9.1.0/Rendering/Matplotlib/ |
H A D | vtkMatplotlibMathTextUtilities.cxx | 732 unsigned char bgR, bgG, bgB; member 751 tcolors.bgG = static_cast<unsigned char>(bgColor[1] * 255); in ComputeTextColors() 871 ptr[1] = static_cast<unsigned char>(tcolors.bgG); in RenderOneCell() 915 ptr[1] = static_cast<unsigned char>(bg_blend * tcolors.bgG + fg_blend * tcolors.fgG); in RenderOneCell()
|
/dports/math/vtk6/VTK-6.2.0/Rendering/Matplotlib/ |
H A D | vtkMatplotlibMathTextUtilities.cxx | 654 unsigned char bgG = static_cast<unsigned char>(bgColor[1] * 255); in RenderString() local 743 ptr[1] = static_cast<unsigned char>(s1mA * bgG + alpha * fgG); in RenderString()
|
/dports/math/vtk8/VTK-8.2.0/Rendering/Matplotlib/ |
H A D | vtkMatplotlibMathTextUtilities.cxx | 650 unsigned char bgG = static_cast<unsigned char>(bgColor[1] * 255); in RenderString() local 762 ptr[1] = static_cast<unsigned char>(bg_blend * bgG + fg_blend * fgG); in RenderString()
|
/dports/science/teem/teem-1.11.0-src/src/echo/test/ |
H A D | glyph.c | 66 eparm->bgG = 0.5; in makeGlyphScene()
|
/dports/security/bastillion/Bastillion-jetty/jetty_bastillion/bastillion/_res/node/js/ |
H A D | xterm.js.map | 1 …bgG = (bg.rgba >> 16) & 0xFF;\n const bgB = (bg.rgba >> 8) & 0xFF;\n const r = bgR + Math.ro…
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/example/recommenders/ |
H A D | demo1-MF.ipynb | 1585 …GQPonJP+rR7oMu9fIpWvk3tlvaGO38i7+1D6Gvd8E8/lv/jvfv1w0faDj+N3//1fPRT2z/6bX3/bgG+5x1KKiEf6iD6YvIgp9R…
|