Home
last modified time | relevance | path

Searched refs:convert_color (Results 1 – 25 of 124) sorted by relevance

12345

/dports/databases/grass7/grass-7.8.6/lib/gis/testsuite/
H A Dgis_lib_str_color.py17 def convert_color(self, string, red, green, blue): member in StringToColorTestCase
43 self.convert_color("0:0:0", 0, 0, 0)
69 self.convert_color("#3296FA", 50, 150, 250)
74 self.convert_color("#33A02C", 51, 160, 44)
76 self.convert_color("#FF7F00", 255, 127, 0)
81 self.convert_color("#33a02c", 51, 160, 44)
83 self.convert_color("#ff7f00", 255, 127, 0)
88 self.convert_color("#33a02C", 51, 160, 44)
90 self.convert_color("#Ff7f00", 255, 127, 0)
94 self.convert_color("#000000", 0, 0, 0)
[all …]
/dports/math/py-colormath/colormath-3.0.0/examples/
H A Dconversions.py11 from colormath.color_conversions import convert_color
27 xyz = convert_color(lab, XYZColor)
46 lchuv = convert_color(lchab, LCHuvColor)
65 rgb = convert_color(lab, sRGBColor)
81 xyz = convert_color(rgb, XYZColor, target_illuminant='D50')
110 xyz = convert_color(spc, XYZColor)
126 ipt = convert_color(xyz, IPTColor)
/dports/misc/py-powerline-status/powerline-2.8.2/tools/
H A Dcolors_find.py9 from colormath.color_conversions import convert_color
18 lab = convert_color(rgb, LabColor)
44 rgb = convert_color(lab, sRGBColor)
54 rgb = convert_color(lab, sRGBColor)
H A Dgenerate_gradients.py16 from colormath.color_conversions import convert_color
34 return convert_color(rgb, LabColor)
79 rgb = convert_color(lab, sRGBColor)
101 rgb = convert_color(color, sRGBColor)
/dports/audio/midi-matrix-lv2/midi-matrix-0.28.0/subprojects/nk_pugl/nuklear/demo/gdi/
H A Dnuklear_gdi.h133 convert_color(struct nk_color c) in convert_color() function
149 COLORREF color = convert_color(col); in nk_gdi_stroke_line()
172 COLORREF color = convert_color(col); in nk_gdi_stroke_rect()
200 COLORREF color = convert_color(col); in nk_gdi_fill_rect()
217 COLORREF color = convert_color(col); in nk_gdi_fill_triangle()
233 COLORREF color = convert_color(col); in nk_gdi_stroke_triangle()
263 COLORREF color = convert_color(col); in nk_gdi_fill_polygon()
278 COLORREF color = convert_color(col); in nk_gdi_stroke_polygon()
305 COLORREF color = convert_color(col); in nk_gdi_stroke_polyline()
331 COLORREF color = convert_color(col); in nk_gdi_fill_circle()
[all …]
/dports/audio/moony-lv2/moony-0.36.0/subprojects/nk_pugl/nuklear/demo/gdi/
H A Dnuklear_gdi.h133 convert_color(struct nk_color c) in convert_color() function
149 COLORREF color = convert_color(col); in nk_gdi_stroke_line()
172 COLORREF color = convert_color(col); in nk_gdi_stroke_rect()
200 COLORREF color = convert_color(col); in nk_gdi_fill_rect()
217 COLORREF color = convert_color(col); in nk_gdi_fill_triangle()
233 COLORREF color = convert_color(col); in nk_gdi_stroke_triangle()
263 COLORREF color = convert_color(col); in nk_gdi_fill_polygon()
278 COLORREF color = convert_color(col); in nk_gdi_stroke_polygon()
305 COLORREF color = convert_color(col); in nk_gdi_stroke_polyline()
331 COLORREF color = convert_color(col); in nk_gdi_fill_circle()
[all …]
/dports/audio/vm-lv2/vm-0.14.0/subprojects/nk_pugl/nuklear/demo/gdi/
H A Dnuklear_gdi.h133 convert_color(struct nk_color c) in convert_color() function
149 COLORREF color = convert_color(col); in nk_gdi_stroke_line()
172 COLORREF color = convert_color(col); in nk_gdi_stroke_rect()
200 COLORREF color = convert_color(col); in nk_gdi_fill_rect()
217 COLORREF color = convert_color(col); in nk_gdi_fill_triangle()
233 COLORREF color = convert_color(col); in nk_gdi_stroke_triangle()
263 COLORREF color = convert_color(col); in nk_gdi_fill_polygon()
278 COLORREF color = convert_color(col); in nk_gdi_stroke_polygon()
305 COLORREF color = convert_color(col); in nk_gdi_stroke_polyline()
331 COLORREF color = convert_color(col); in nk_gdi_fill_circle()
[all …]
/dports/audio/sherlock-lv2/sherlock.lv2-0.28.0/subprojects/nk_pugl/nuklear/demo/gdi/
H A Dnuklear_gdi.h133 convert_color(struct nk_color c)
149 COLORREF color = convert_color(col);
172 COLORREF color = convert_color(col);
200 COLORREF color = convert_color(col);
217 COLORREF color = convert_color(col);
233 COLORREF color = convert_color(col);
263 COLORREF color = convert_color(col);
278 COLORREF color = convert_color(col);
305 COLORREF color = convert_color(col);
331 COLORREF color = convert_color(col);
[all …]
/dports/audio/synthpod-lv2/synthpod-01aad91/nuklear/demo/gdi/
H A Dnuklear_gdi.h133 convert_color(struct nk_color c) in convert_color() function
149 COLORREF color = convert_color(col); in nk_gdi_stroke_line()
172 COLORREF color = convert_color(col); in nk_gdi_stroke_rect()
200 COLORREF color = convert_color(col); in nk_gdi_fill_rect()
217 COLORREF color = convert_color(col); in nk_gdi_fill_triangle()
233 COLORREF color = convert_color(col); in nk_gdi_stroke_triangle()
263 COLORREF color = convert_color(col); in nk_gdi_fill_polygon()
278 COLORREF color = convert_color(col); in nk_gdi_stroke_polygon()
305 COLORREF color = convert_color(col); in nk_gdi_stroke_polyline()
331 COLORREF color = convert_color(col); in nk_gdi_fill_circle()
[all …]
/dports/www/moodle311/moodle/admin/tool/brickfield/classes/local/htmlchecker/common/checks/
H A Dcss_text_has_contrast.php82 $style['color'] = '#' . $this->convert_color($style['color']);
83 $style['background-color'] = '#' . $this->convert_color($background);
86 $background = '#' . $this->convert_color($background);
/dports/graphics/wings/wings-8d019ebe48/src/
H A Dwings_ff_ndo.erl130 AColor = convert_color(AColor0),
131 BColor = convert_color(BColor0),
231 Hardness:8>>,convert_color(BCol)|convert_color(ACol)],
259 convert_color(<<R:8,G:8,B:8,_A:8>>) -> function
261 convert_color({R,G,B}) -> function
263 convert_color(none) -> function
/dports/security/ridl/ridl-11b3240/nuklear/demo/gdi/
H A Dnuklear_gdi.h133 convert_color(struct nk_color c) in convert_color() function
149 COLORREF color = convert_color(col); in nk_gdi_stroke_line()
172 COLORREF color = convert_color(col); in nk_gdi_stroke_rect()
200 COLORREF color = convert_color(col); in nk_gdi_fill_rect()
269 COLORREF color = convert_color(col); in nk_gdi_fill_triangle()
285 COLORREF color = convert_color(col); in nk_gdi_stroke_triangle()
315 COLORREF color = convert_color(col); in nk_gdi_fill_polygon()
330 COLORREF color = convert_color(col); in nk_gdi_stroke_polygon()
357 COLORREF color = convert_color(col); in nk_gdi_stroke_polyline()
383 COLORREF color = convert_color(col); in nk_gdi_fill_circle()
[all …]
/dports/x11-toolkits/nuklear/Nuklear-4.09.1/demo/gdi/
H A Dnuklear_gdi.h136 convert_color(struct nk_color c) in convert_color() function
152 COLORREF color = convert_color(col); in nk_gdi_stroke_line()
175 COLORREF color = convert_color(col); in nk_gdi_stroke_rect()
204 COLORREF color = convert_color(col); in nk_gdi_fill_rect()
284 COLORREF color = convert_color(col); in nk_gdi_fill_triangle()
300 COLORREF color = convert_color(col); in nk_gdi_stroke_triangle()
330 COLORREF color = convert_color(col); in nk_gdi_fill_polygon()
345 COLORREF color = convert_color(col); in nk_gdi_stroke_polygon()
372 COLORREF color = convert_color(col); in nk_gdi_stroke_polyline()
398 COLORREF color = convert_color(col); in nk_gdi_fill_circle()
[all …]
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/docx/writer/
H A Dutils.py20 def convert_color(value): function
40 cc = convert_color
/dports/x11-toolkits/nuklear/Nuklear-4.09.1/demo/gdip/
H A Dnuklear_gdip.h420 static ARGB convert_color(struct nk_color c) in convert_color() function
436 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_line()
445 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_rect()
465 GdipSetSolidFillColor(gdip.brush, convert_color(col)); in nk_gdip_fill_rect()
516 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_triangle()
540 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_polygon()
554 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_polyline()
575 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_circle()
585 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_curve()
600 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_arc()
[all …]
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/vidhrdw/
H A Dfastfred.c49 static void convert_color(int i, int* r, int* g, int* b) in convert_color() function
85 convert_color(i, &r, &g, &b); in fastfred_vh_convert_color_prom()
131 convert_color(data, &r, &g, &b); in WRITE_HANDLER()
/dports/graphics/py-spectra/spectra-0.0.11/spectra/
H A Dcore.py3 convert_color = color_conversions.convert_color variable
55 new_color = convert_color(self.color_object, COLOR_SPACES[space])
/dports/mail/roundcube/roundcubemail-1.5.1/program/lib/Roundcube/
H A Drcube_enriched.php90 protected static function convert_color($body) function in rcube_enriched
153 $body = self::convert_color($body);
/dports/devel/libsigrokdecode/libsigrokdecode-0.5.3/decoders/edid/
H A Dpd.py384 def convert_color(self, value): member in Decoder
397 self.convert_color(redx), self.convert_color(redy)))
402 self.convert_color(greenx), self.convert_color(greeny)))
407 self.convert_color(bluex), self.convert_color(bluey)))
412 self.convert_color(whitex), self.convert_color(whitey)))
/dports/security/ridl/ridl-11b3240/nuklear/demo/gdip/
H A Dnuklear_gdip.h414 static ARGB convert_color(struct nk_color c) in convert_color() function
430 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_line()
439 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_rect()
459 GdipSetSolidFillColor(gdip.brush, convert_color(col)); in nk_gdip_fill_rect()
484 GdipSetSolidFillColor(gdip.brush, convert_color(col)); in nk_gdip_fill_triangle()
499 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_triangle()
523 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_polygon()
537 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_polyline()
558 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_circle()
568 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_curve()
[all …]
/dports/audio/midi-matrix-lv2/midi-matrix-0.28.0/subprojects/nk_pugl/nuklear/demo/gdip/
H A Dnuklear_gdip.h414 static ARGB convert_color(struct nk_color c) in convert_color() function
430 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_line()
439 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_rect()
459 GdipSetSolidFillColor(gdip.brush, convert_color(col)); in nk_gdip_fill_rect()
484 GdipSetSolidFillColor(gdip.brush, convert_color(col)); in nk_gdip_fill_triangle()
499 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_triangle()
523 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_polygon()
537 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_polyline()
558 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_circle()
568 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_curve()
[all …]
/dports/audio/moony-lv2/moony-0.36.0/subprojects/nk_pugl/nuklear/demo/gdip/
H A Dnuklear_gdip.h414 static ARGB convert_color(struct nk_color c) in convert_color() function
430 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_line()
439 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_rect()
459 GdipSetSolidFillColor(gdip.brush, convert_color(col)); in nk_gdip_fill_rect()
484 GdipSetSolidFillColor(gdip.brush, convert_color(col)); in nk_gdip_fill_triangle()
499 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_triangle()
523 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_polygon()
537 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_polyline()
558 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_circle()
568 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_curve()
[all …]
/dports/audio/vm-lv2/vm-0.14.0/subprojects/nk_pugl/nuklear/demo/gdip/
H A Dnuklear_gdip.h414 static ARGB convert_color(struct nk_color c) in convert_color() function
430 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_line()
439 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_rect()
459 GdipSetSolidFillColor(gdip.brush, convert_color(col)); in nk_gdip_fill_rect()
484 GdipSetSolidFillColor(gdip.brush, convert_color(col)); in nk_gdip_fill_triangle()
499 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_triangle()
523 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_polygon()
537 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_polyline()
558 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_circle()
568 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_curve()
[all …]
/dports/audio/sherlock-lv2/sherlock.lv2-0.28.0/subprojects/nk_pugl/nuklear/demo/gdip/
H A Dnuklear_gdip.h414 static ARGB convert_color(struct nk_color c) in convert_color() function
430 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_line()
439 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_rect()
459 GdipSetSolidFillColor(gdip.brush, convert_color(col)); in nk_gdip_fill_rect()
484 GdipSetSolidFillColor(gdip.brush, convert_color(col)); in nk_gdip_fill_triangle()
499 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_triangle()
523 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_polygon()
537 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_polyline()
558 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_circle()
568 GdipSetPenColor(gdip.pen, convert_color(col)); in nk_gdip_stroke_curve()
[all …]
/dports/audio/synthpod-lv2/synthpod-01aad91/nuklear/demo/gdip/
H A Dnuklear_gdip.h414 static ARGB convert_color(struct nk_color c)
430 GdipSetPenColor(gdip.pen, convert_color(col));
439 GdipSetPenColor(gdip.pen, convert_color(col));
459 GdipSetSolidFillColor(gdip.brush, convert_color(col));
484 GdipSetSolidFillColor(gdip.brush, convert_color(col));
499 GdipSetPenColor(gdip.pen, convert_color(col));
523 GdipSetPenColor(gdip.pen, convert_color(col));
537 GdipSetPenColor(gdip.pen, convert_color(col));
558 GdipSetPenColor(gdip.pen, convert_color(col));
568 GdipSetPenColor(gdip.pen, convert_color(col));
[all …]

12345