Lines Matching refs:rColor

368         uno::Sequence< double > argbToDoubleSequence( const Gdiplus::ARGB& rColor )  in argbToDoubleSequence()  argument
373 aRet[0] = ((rColor >> 16) & 0xFF) / 255.0; // red in argbToDoubleSequence()
374 aRet[1] = ((rColor >> 8) & 0xFF) / 255.0; // green in argbToDoubleSequence()
375 aRet[2] = (rColor & 0xFF) / 255.0; // blue in argbToDoubleSequence()
376 aRet[3] = ((rColor >> 24) & 0xFF) / 255.0; // alpha in argbToDoubleSequence()
381 uno::Sequence< sal_Int8 > argbToIntSequence( const Gdiplus::ARGB& rColor ) in argbToIntSequence() argument
386 aRet[0] = static_cast<sal_Int8>((rColor >> 16) & 0xFF); // red in argbToIntSequence()
387 aRet[1] = static_cast<sal_Int8>((rColor >> 8) & 0xFF); // green in argbToIntSequence()
388 aRet[2] = static_cast<sal_Int8>(rColor & 0xFF); // blue in argbToIntSequence()
389 aRet[3] = static_cast<sal_Int8>((rColor >> 24) & 0xFF); // alpha in argbToIntSequence()
394 Gdiplus::ARGB sequenceToArgb( const uno::Sequence< sal_Int8 >& rColor ) in sequenceToArgb() argument
396 ENSURE_OR_THROW( rColor.getLength() > 2, in sequenceToArgb()
402 …lor = (static_cast<sal_uInt8>(rColor[0]) << 16) | (static_cast<sal_uInt8>(rColor[1]) << 8) | stati… in sequenceToArgb()
404 if( rColor.getLength() > 3 ) in sequenceToArgb()
405 aColor |= static_cast<sal_uInt8>(rColor[3]) << 24; in sequenceToArgb()
410 Gdiplus::ARGB sequenceToArgb( const uno::Sequence< double >& rColor ) in sequenceToArgb() argument
412 ENSURE_OR_THROW( rColor.getLength() > 2, in sequenceToArgb()
418 ::canvas::tools::verifyRange(rColor[0],0.0,1.0); in sequenceToArgb()
419 ::canvas::tools::verifyRange(rColor[1],0.0,1.0); in sequenceToArgb()
420 ::canvas::tools::verifyRange(rColor[2],0.0,1.0); in sequenceToArgb()
423 (static_cast<sal_uInt8>( ::basegfx::fround( 255*rColor[0] ) ) << 16) | in sequenceToArgb()
424 (static_cast<sal_uInt8>( ::basegfx::fround( 255*rColor[1] ) ) << 8) | in sequenceToArgb()
425 static_cast<sal_uInt8>( ::basegfx::fround( 255*rColor[2] ) ); in sequenceToArgb()
427 if( rColor.getLength() > 3 ) in sequenceToArgb()
429 ::canvas::tools::verifyRange(rColor[3],0.0,1.0); in sequenceToArgb()
430 aColor |= static_cast<sal_uInt8>( ::basegfx::fround( 255*rColor[3] ) ) << 24; in sequenceToArgb()