/dports/audio/mixxx/mixxx-2.3.0/src/test/ |
H A D | rgbcolor_test.cpp | 11 EXPECT_FALSE(RgbColor::fromQColor(QColor())); in TEST() 12 EXPECT_EQ(RgbColor::nullopt(), RgbColor::fromQColor(QColor())); in TEST() 16 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgb(0x000000))); in TEST() 18 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgb(0xFF0000))); in TEST() 20 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgb(0x00FF00))); in TEST() 22 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgb(0x0000FF))); in TEST() 24 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgb(0xFFFFFF))); in TEST() 29 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgba(0xAA000000))); in TEST() 31 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgba(0xAAFF0000))); in TEST() 33 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgba(0xAA00FF00))); in TEST() [all …]
|
/dports/graphics/krita/krita-4.4.8/benchmarks/ |
H A D | kis_floodfill_benchmark.cpp | 49 m_color.fromQColor(QColor(0,0,0,0)); // default pixel in initTestCase() 53 m_color.fromQColor(Qt::red); in initTestCase() 81 defaultSelected.fromQColor(QColor(255, 255, 255)); in initTestCase() 91 fg.fromQColor(Qt::blue); in benchmarkFlood() 92 bg.fromQColor(Qt::black); in benchmarkFlood() 127 fg.fromQColor(Qt::blue); in benchmarkFloodWithoutSelectionAsBoundary() 128 bg.fromQColor(Qt::black); in benchmarkFloodWithoutSelectionAsBoundary() 157 fg.fromQColor(Qt::blue); in benchmarkFloodWithSelectionAsBoundary() 158 bg.fromQColor(Qt::black); in benchmarkFloodWithSelectionAsBoundary()
|
H A D | kis_gradient_benchmark.cpp | 46 m_color.fromQColor(QColor(0,0,0,0)); // default pixel in initTestCase() 54 fg.fromQColor(Qt::blue); in benchmarkGradient() 55 bg.fromQColor(Qt::black); in benchmarkGradient()
|
H A D | kis_hline_iterator_benchmark.cpp | 38 m_color->fromQColor(QColor(0,0,250)); in initTestCase() 101 c.fromQColor(QColor(250,120,0)); in benchmarkReadWriteBytes() 124 c.fromQColor(QColor(255,0,0)); in benchmarkReadWriteBytes2() 175 c.fromQColor(QColor(250,120,0)); in benchmarkTwoIteratorsNoMemCpy()
|
H A D | kis_painter_benchmark.cpp | 67 m_color.fromQColor(Qt::red); in initTestCase() 203 color.fromQColor(Qt::white); in benchmarkDrawThickLine() 208 color.fromQColor(Qt::black); in benchmarkDrawThickLine() 228 color.fromQColor(Qt::white); in benchmarkDrawQtLine() 233 color.fromQColor(Qt::black); in benchmarkDrawQtLine() 261 color.fromQColor(Qt::white); in benchmarkDrawScanLine() 266 color.fromQColor(Qt::black); in benchmarkDrawScanLine()
|
H A D | kis_vline_iterator_benchmark.cpp | 37 m_color->fromQColor(QColor(0,120,250)); in initTestCase() 101 c.fromQColor(QColor(250,120,0)); in benchmarkReadWriteBytes() 152 c.fromQColor(QColor(250,120,0)); in benchmarkTwoIteratorsNoMemCpy()
|
H A D | kis_random_iterator_benchmark.cpp | 38 m_color->fromQColor(QColor(0,120,250)); in initTestCase() 102 c.fromQColor(QColor(250,120,0)); in benchmarkReadWriteBytes() 220 c.fromQColor(QColor(250,120,0)); in benchmarkTwoIteratorsNoMemCpy()
|
H A D | kis_thumbnail_benchmark.cpp | 56 color.fromQColor(Qt::white); in initTestCase() 61 color.fromQColor(Qt::black); in initTestCase()
|
/dports/editors/calligra/calligra-3.2.1/libs/pigment/tests/ |
H A D | KoRgbU8ColorSpaceTester.cpp | 170 src.fromQColor(red); in testCompositeOps() 171 dst.fromQColor(blue); in testCompositeOps() 180 src.fromQColor(red); in testCompositeOps() 184 src.fromQColor(transparentRed); in testCompositeOps() 185 dst.fromQColor(blue); in testCompositeOps() 192 src.fromQColor(transparentRed); in testCompositeOps() 196 src.fromQColor(blue); in testCompositeOps() 197 dst.fromQColor(transparentRed); in testCompositeOps() 204 src.fromQColor(blue); in testCompositeOps()
|
H A D | TestKoColor.cpp | 46 kc.fromQColor(qc); in testForModel() 83 kc.fromQColor(c); in testConversion()
|
/dports/graphics/krita/krita-4.4.8/libs/pigment/tests/ |
H A D | KoRgbU8ColorSpaceTester.cpp | 210 src.fromQColor(red); in testCompositeOps() 211 dst.fromQColor(blue); in testCompositeOps() 220 src.fromQColor(red); in testCompositeOps() 224 src.fromQColor(transparentRed); in testCompositeOps() 225 dst.fromQColor(blue); in testCompositeOps() 232 src.fromQColor(transparentRed); in testCompositeOps() 236 src.fromQColor(blue); in testCompositeOps() 237 dst.fromQColor(transparentRed); in testCompositeOps() 244 src.fromQColor(blue); in testCompositeOps()
|
H A D | TestKoColor.cpp | 48 kc.fromQColor(qc); in testForModel() 85 kc.fromQColor(c); in testConversion() 94 k.fromQColor(c); in testSimpleSerialization()
|
/dports/print/scribus-devel/scribus-1.5.7/scribus/plugins/colorwheel/ |
H A D | colorwheelwidget.cpp | 38 col.fromQColor(c); in ColorWheel() 180 ret.fromQColor(newcol); in colorSpaceColor() 204 l.fromQColor(col.lighter()); in makeMonochromatic() 207 l.fromQColor(col.darker()); in makeMonochromatic() 323 actualColor.fromQColor(act); in recomputeColor()
|
/dports/graphics/krita/krita-4.4.8/libs/pigment/ |
H A D | KoLabDarkenColorTransformation.h | 53 m_colorSpace->fromQColor(c,dst+i); in transform() 59 m_colorSpace->fromQColor(c,dst+i); in transform()
|
/dports/editors/calligra/calligra-3.2.1/libs/pigment/ |
H A D | KoLabDarkenColorTransformation.h | 46 m_colorSpace->fromQColor(c,dst+i); in transform() 52 m_colorSpace->fromQColor(c,dst+i); in transform()
|
H A D | KoColor.cpp | 55 d->colorSpace->fromQColor(Qt::black, d->data); in KoColor() 83 d->colorSpace->fromQColor(color, d->data); in KoColor() 197 void KoColor::fromQColor(const QColor& c) const in fromQColor() function in KoColor 200 d->colorSpace->fromQColor(c, d->data); in fromQColor()
|
/dports/graphics/krita/krita-4.4.8/libs/image/tests/ |
H A D | kis_transaction_test.cpp | 41 cs->fromQColor(Qt::white, pixel); in testUndo() 44 cs->fromQColor(Qt::black, pixel); in testUndo() 82 cs->fromQColor(Qt::white, pixel); in testRedo() 85 cs->fromQColor(Qt::black, pixel); in testRedo()
|
/dports/audio/mixxx/mixxx-2.3.0/src/util/color/ |
H A D | rgbcolor.h | 85 static RgbColor::optional_t fromQColor( 120 return fromQColor(color); 202 return fromQColor(value);
|
/dports/graphics/krita/krita-4.4.8/plugins/impex/png/ |
H A D | kis_png_export.cc | 71 c.fromQColor(Qt::white); in convert() 111 fill_color.fromQColor(Qt::white); in defaultConfiguration() 196 background.fromQColor(Qt::white); in setConfiguration()
|
/dports/graphics/krita/krita-4.4.8/plugins/filters/indexcolors/ |
H A D | indexcolorpalette.cpp | 127 koclrA.fromQColor(qclrA); in insertShades() 130 koclrB.fromQColor(qclrB); in insertShades() 152 koclr.fromQColor(qclr); in insertColor()
|
/dports/editors/calligra/calligra-3.2.1/libs/pigment/resources/ |
H A D | KoColorSet.cpp | 330 e.color.fromQColor(QColor(r, g, b)); in loadGpl() 351 e.color.fromQColor(QColor(r, g, b)); in loadAct() 386 e.color.fromQColor(QColor(r, g, b)); in loadRiff() 428 e.color.fromQColor(QColor(r, g, b)); in loadPsp() 479 e.color.fromQColor(c); in loadAco()
|
/dports/graphics/krita/krita-4.4.8/plugins/filters/asccdl/ |
H A D | kis_asccdl_filter.cpp | 85 black.fromQColor(QColor(Qt::black)); in defaultConfiguration() 87 white.fromQColor(QColor(Qt::white)); in defaultConfiguration()
|
/dports/graphics/krita/krita-4.4.8/libs/ui/ |
H A D | kis_canvas_controls_manager.cpp | 123 color.fromQColor(rgb); in transformColor() 150 color.fromQColor(rgb); in transformSaturation() 177 color.fromQColor(rgb); in transformHue()
|
/dports/graphics/krita/krita-4.4.8/libs/ui/dialogs/ |
H A D | kis_dlg_stroke_selection_properties.cpp | 353 color.fromQColor(Qt::black); in StrokeSelectionOptions() 354 fillColor.fromQColor(Qt::black); in StrokeSelectionOptions() 355 customColor.fromQColor(Qt::black); in StrokeSelectionOptions()
|
/dports/graphics/krita/krita-4.4.8/plugins/impex/jpeg/ |
H A D | kis_jpeg_export.cc | 94 c.fromQColor(Qt::white); in convert() 194 fill_color.fromQColor(Qt::white); in defaultConfiguration() 251 background.fromQColor(Qt::white); in setConfiguration()
|