Home
last modified time | relevance | path

Searched refs:is_color (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/dports/graphics/py-svgwrite/svgwrite-1.4.1/tests/
H A Dtest_full11_typechecker.py243 self.assertTrue(self.checker.is_color("#101010"))
244 self.assertTrue(self.checker.is_color("#111"))
246 self.assertTrue(self.checker.is_color("#FFF"))
248 self.assertTrue(self.checker.is_color("#aaa"))
251 self.assertFalse(self.checker.is_color("#1"))
252 self.assertFalse(self.checker.is_color("#22"))
253 self.assertFalse(self.checker.is_color("#4444"))
270 self.assertFalse(self.checker.is_color("rgb()"))
281 self.assertFalse(self.checker.is_color("rgb()"))
290 self.assertTrue(self.checker.is_color("blue"))
[all …]
/dports/devel/py-clint/clint-0.5.1/clint/textui/
H A Dformatters.py23 is_color = isinstance(string, ColoredString)
29 if is_color:
52 is_color = isinstance(string, ColoredString)
54 if is_color:
105 if is_color:
/dports/graphics/mupdf/mupdf-1.18.0-source/source/fitz/
H A Dtest-device.c8 int *is_color; member
42 *t->is_color = 2; in fz_test_color()
54 *t->is_color = 2; in fz_test_color()
143 *dev->is_color = 1; in fz_test_fill_shade()
186 *dev->is_color = 1; in fz_test_fill_compressed_8bpc_image()
216 *dev->is_color = 1; in fz_test_fill_compressed_8bpc_image()
252 *dev->is_color = 1; in fz_test_fill_other_image()
288 *dev->is_color = 1; in fz_test_fill_other_image()
322 *dev->is_color = 1; in fz_test_fill_image()
523 dev->is_color = is_color; in fz_new_test_device()
[all …]
/dports/cad/lepton-eda/lepton-eda-1.9.17/libleptongui/src/
H A Dx_print.c133 gboolean is_color, in x_print_draw_page() argument
172 if (!is_color) { in x_print_draw_page()
246 gboolean is_color; in draw_page__print_operation() local
262 is_color = !eda_config_get_boolean (cfg, CFG_GROUP_PRINTING, in draw_page__print_operation()
266 width, height, is_color, FALSE); in draw_page__print_operation()
294 gboolean is_color; in x_print_export_pdf_page() local
312 is_color = !eda_config_get_boolean (cfg, CFG_GROUP_PRINTING, in x_print_export_pdf_page()
315 x_print_draw_page (page, cr, NULL, width, height, is_color, FALSE); in x_print_export_pdf_page()
348 gboolean is_color) in x_print_export_pdf() argument
378 is_color, FALSE); in x_print_export_pdf()
H A Dx_image.c363 int width, int height, const char *filetype, gboolean is_color) in x_image_lowlevel() argument
405 x_print_export_pdf (w_current, filename, is_color); in x_image_lowlevel()
407 pixbuf = x_image_get_pixbuf(w_current, width, height, is_color); in x_image_lowlevel()
440 if (is_color) { in x_image_lowlevel()
636 gboolean is_color = gtk_combo_box_get_active (GTK_COMBO_BOX (color_combo)) == 0; in x_image_setup() local
638 x_image_lowlevel(w_current, filename, width, height, image_type, is_color); in x_image_setup()
708 *x_image_get_pixbuf (GschemToplevel *w_current, int width, int height, gboolean is_color) in x_image_get_pixbuf() argument
833 if (!is_color) in x_image_get_pixbuf()
844 *x_image_get_pixbuf (GschemToplevel *w_current, int width, int height, gboolean is_color) in x_image_get_pixbuf() argument
917 if (!is_color) in x_image_get_pixbuf()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/printing/backend/
H A Dcups_helper.cc516 bool* is_color) { in GetColorModelSettings() argument
522 *is_color = is_color_device; in GetColorModelSettings()
526 GetColorModeSettings(ppd, cm_black, cm_color, is_color) || in GetColorModelSettings()
527 GetHPColorSettings(ppd, cm_black, cm_color, is_color) || in GetColorModelSettings()
528 GetHPColorModeSettings(ppd, cm_black, cm_color, is_color) || in GetColorModelSettings()
529 GetBrotherColorSettings(ppd, cm_black, cm_color, is_color) || in GetColorModelSettings()
530 GetEpsonInkSettings(ppd, cm_black, cm_color, is_color) || in GetColorModelSettings()
532 GetXeroxColorSettings(ppd, cm_black, cm_color, is_color) || in GetColorModelSettings()
622 bool is_color = false; in ParsePpdCapabilities() local
623 if (!GetColorModelSettings(ppd, &cm_black, &cm_color, &is_color)) { in ParsePpdCapabilities()
[all …]
/dports/games/xtrojka/xtrojka123/
H A Dsh_slist.c42 extern flag is_color;
111 if(is_color) in init_slist_window()
147 if(is_color)
175 if(is_color)
179 if(is_color)
191 if(is_color) {
H A Dsh_main.c34 extern flag is_color;
76 if(is_color) {
233 if(is_color) {
273 if(is_color) {
317 if(is_color) { in draw_title()
H A Dsh_stat.c33 extern flag is_color;
98 if(is_color) in init_stat_window()
179 if(is_color) { in update_stat()
H A Dscreen.c29 extern flag is_color;
40 if(is_color) {
/dports/www/chromium-legacy/chromium-88.0.4324.182/printing/backend/
H A Dcups_helper.cc498 bool* is_color) { in GetColorModelSettings() argument
504 *is_color = is_color_device; in GetColorModelSettings()
508 GetColorModeSettings(ppd, cm_black, cm_color, is_color) || in GetColorModelSettings()
509 GetHPColorSettings(ppd, cm_black, cm_color, is_color) || in GetColorModelSettings()
510 GetHPColorModeSettings(ppd, cm_black, cm_color, is_color) || in GetColorModelSettings()
511 GetBrotherColorSettings(ppd, cm_black, cm_color, is_color) || in GetColorModelSettings()
512 GetEpsonInkSettings(ppd, cm_black, cm_color, is_color) || in GetColorModelSettings()
514 GetXeroxColorSettings(ppd, cm_black, cm_color, is_color) || in GetColorModelSettings()
603 bool is_color = false; in ParsePpdCapabilities() local
604 if (!GetColorModelSettings(ppd, &cm_black, &cm_color, &is_color)) { in ParsePpdCapabilities()
[all …]
/dports/deskutils/py-khal/khal-0.10.4/tests/
H A Dsettings_test.py10 is_color)
307 assert is_color('dark blue') == 'dark blue'
308 assert is_color('#123456') == '#123456'
309 assert is_color('123') == '123'
311 assert is_color('red') == 'red'
/dports/games/el/Eternal-Lands-1.9.5.9-1/
H A Dignore.c146 if (ch == ':' || ch == ' ' || is_color (ch)) in get_name_from_text()
189 while (is_color (input_text[offset])) in pre_check_if_ignored()
217 for (offset = 0; is_color (input_text[offset]); offset++); // Ignore colours in pre_check_if_ignored()
225 for (offset = 0; is_color (input_text[offset]); offset++); // Ignore colours in pre_check_if_ignored()
238 for (offset = 0; is_color (input_text[offset]); offset++); // Ignore colours in pre_check_if_ignored()
252 for (offset = 0; is_color (input_text[offset]); offset++); // Ignore colours in pre_check_if_ignored()
/dports/games/pentobi/pentobi-19.1/libpentobi_base/
H A DPointState.h48 bool is_color() const;
77 inline bool PointState::is_color() const in is_color() function
91 LIBBOARDGAME_ASSERT(is_color()); in to_color()
/dports/net/c3270/suite3270-4.0/Common/
H A Dmodel.c55 canonical_model_x(const char *res, int *model, bool *is_color, in canonical_model_x() argument
83 *is_color = (*colorp == '9'); in canonical_model_x()
138 bool is_color = mode.m3279; in toggle_model_done() local
180 &is_color, &is_extended); in toggle_model_done()
225 mode.m3279 = is_color; in toggle_model_done()
/dports/x11/x3270/suite3270-4.0/Common/
H A Dmodel.c55 canonical_model_x(const char *res, int *model, bool *is_color, in canonical_model_x() argument
83 *is_color = (*colorp == '9'); in canonical_model_x()
138 bool is_color = mode.m3279; in toggle_model_done() local
180 &is_color, &is_extended); in toggle_model_done()
225 mode.m3279 = is_color; in toggle_model_done()
/dports/graphics/py-termtosvg/termtosvg-1.1.0/termtosvg/
H A Dasciicast.py108 if cls.is_color(fg):
109 if cls.is_color(bg):
111 if len(colors) >= 16 and all([cls.is_color(c) for c in colors[:16]]):
114 if len(colors) >= 8 and all([cls.is_color(c) for c in colors[:8]]):
123 def is_color(color): member in AsciiCastV2Theme
/dports/math/libxsmm/libxsmm-1.16.3/samples/deeplearning/gxm/src/util/
H A Dio.cpp101 bool DecodeDatum(Datum* datum, bool is_color) { in DecodeDatum() argument
103 cv::Mat cv_img = DecodeDatumToCVMat((*datum), is_color); in DecodeDatum()
111 cv::Mat DecodeDatumToCVMat(const Datum& datum, bool is_color) { in DecodeDatumToCVMat() argument
115 int cv_read_flag = (is_color ? CV_LOAD_IMAGE_COLOR : in DecodeDatumToCVMat()
/dports/games/wesnoth/wesnoth-1.14.17/src/
H A Dcursor.cpp41 boost::tribool is_color; member
140 if(data.cursor == nullptr || boost::indeterminate(data.is_color) || data.is_color != use_color) { in get_cursor()
156 data.is_color = use_color; in get_cursor()
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dgdevm8.c83 #define is_color(c) ((int)(c) != (int)gx_no_color_index) in mem_mapped8_copy_mono() macro
84 if (is_color(one)) { in mem_mapped8_copy_mono()
85 if (is_color(zero)) in mem_mapped8_copy_mono()
91 } else if (is_color(zero)) in mem_mapped8_copy_mono()
94 #undef is_color in mem_mapped8_copy_mono()
/dports/print/ghostscript8-x11/ghostscript-8.71/base/
H A Dgdevm8.c77 #define is_color(c) ((int)(c) != (int)gx_no_color_index) in mem_mapped8_copy_mono() macro
78 if (is_color(one)) { in mem_mapped8_copy_mono()
79 if (is_color(zero)) in mem_mapped8_copy_mono()
85 } else if (is_color(zero)) in mem_mapped8_copy_mono()
88 #undef is_color in mem_mapped8_copy_mono()
/dports/print/ghostscript8-base/ghostscript-8.71/base/
H A Dgdevm8.c77 #define is_color(c) ((int)(c) != (int)gx_no_color_index) in mem_mapped8_copy_mono() macro
78 if (is_color(one)) { in mem_mapped8_copy_mono()
79 if (is_color(zero)) in mem_mapped8_copy_mono()
85 } else if (is_color(zero)) in mem_mapped8_copy_mono()
88 #undef is_color in mem_mapped8_copy_mono()
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dgdevm8.c83 #define is_color(c) ((int)(c) != (int)gx_no_color_index) in mem_mapped8_copy_mono() macro
84 if (is_color(one)) { in mem_mapped8_copy_mono()
85 if (is_color(zero)) in mem_mapped8_copy_mono()
91 } else if (is_color(zero)) in mem_mapped8_copy_mono()
94 #undef is_color in mem_mapped8_copy_mono()
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/hardware/
H A Dvga_misc.cpp83 const bool is_color = val & 0x1; in write_p3c2() local
85 const io_port_t active_base = is_color ? 0x3d0 : 0x3b0; in write_p3c2()
95 const io_port_t inactive_base = is_color ? 0x3b0 : 0x3d0; in write_p3c2()
/dports/math/libxsmm/libxsmm-1.16.3/samples/deeplearning/gxm/include/
H A Dio.hpp48 bool DecodeDatum(Datum* datum, bool is_color);
50 cv::Mat DecodeDatumToCVMat(const Datum& datum, bool is_color);

12345678910>>...16