Lines Matching refs:rgb2hsv
1352 tools::rgb2hsv(maWhite) == BColor(0,0,1)); in hsvTest()
1354 tools::rgb2hsv(maBlack) == BColor(0,0,0)); in hsvTest()
1356 tools::rgb2hsv(maRed) == BColor(0,1,1)); in hsvTest()
1358 tools::rgb2hsv(maGreen) == BColor(120,1,1)); in hsvTest()
1360 tools::rgb2hsv(maBlue) == BColor(240,1,1)); in hsvTest()
1362 tools::rgb2hsv(maYellow) == BColor(60,1,1)); in hsvTest()
1364 tools::rgb2hsv(maMagenta) == BColor(300,1,1)); in hsvTest()
1366 tools::rgb2hsv(maCyan) == BColor(180,1,1)); in hsvTest()
1369 tools::hsv2rgb(tools::rgb2hsv(maWhite)) == maWhite); in hsvTest()
1371 tools::hsv2rgb(tools::rgb2hsv(maBlack)) == maBlack); in hsvTest()
1373 tools::hsv2rgb(tools::rgb2hsv(maRed)) == maRed); in hsvTest()
1375 tools::hsv2rgb(tools::rgb2hsv(maGreen)) == maGreen); in hsvTest()
1377 tools::hsv2rgb(tools::rgb2hsv(maBlue)) == maBlue); in hsvTest()
1379 tools::hsv2rgb(tools::rgb2hsv(maYellow)) == maYellow); in hsvTest()
1381 tools::hsv2rgb(tools::rgb2hsv(maMagenta)) == maMagenta); in hsvTest()
1383 tools::hsv2rgb(tools::rgb2hsv(maCyan)) == maCyan); in hsvTest()
1386 tools::rgb2hsv(maWhite*.1) == BColor(0,0,.1)); in hsvTest()
1388 tools::rgb2hsv(maWhite*.9) == BColor(0,0,.9)); in hsvTest()
1390 tools::rgb2hsv(maRed*.5) == BColor(0,1,0.5)); in hsvTest()
1392 tools::rgb2hsv(maGreen*.5) == BColor(120,1,0.5)); in hsvTest()
1394 tools::rgb2hsv(maBlue*.5) == BColor(240,1,0.5)); in hsvTest()
1396 tools::rgb2hsv(maYellow*.5) == BColor(60,1,0.5)); in hsvTest()
1398 tools::rgb2hsv(maMagenta*.5) == BColor(300,1,0.5)); in hsvTest()
1400 tools::rgb2hsv(maCyan*.5) == BColor(180,1,0.5)); in hsvTest()
1403 tools::rgb2hsv(BColor(.5,.25,.25)) == BColor(0,.5,.5)); in hsvTest()