Searched refs:toByteColor (Results 1 – 5 of 5) sorted by relevance
| /trunk/main/vcl/source/helper/ |
| H A D | canvastools.cxx | 254 BitmapColor( toByteColor(rColor.Red), in readBmp() 255 toByteColor(rColor.Green), in readBmp() 256 toByteColor(rColor.Blue))) ); in readBmp() 258 … BitmapColor( 255 - toByteColor(rColor.Alpha) )); in readBmp() 267 BitmapColor( toByteColor(rColor.Red), in readBmp() 268 toByteColor(rColor.Green), in readBmp() 269 toByteColor(rColor.Blue) )); in readBmp() 271 … BitmapColor( 255 - toByteColor(rColor.Alpha) )); in readBmp() 286 BitmapColor( toByteColor(rColor.Red), in readBmp() 287 toByteColor(rColor.Green), in readBmp() [all …]
|
| H A D | canvasbitmap.cxx | 929 BitmapColor(toByteColor(rgbColor[i].Red), in convertFromRGB() 930 toByteColor(rgbColor[i].Green), in convertFromRGB() 931 toByteColor(rgbColor[i].Blue))); in convertFromRGB() 969 BitmapColor(toByteColor(rgbColor[i].Red), in convertFromARGB() 970 toByteColor(rgbColor[i].Green), in convertFromARGB() 971 toByteColor(rgbColor[i].Blue))); in convertFromARGB() 1010 BitmapColor(toByteColor(rgbColor[i].Red / nAlpha), in convertFromPARGB() 1011 toByteColor(rgbColor[i].Green / nAlpha), in convertFromPARGB() 1012 toByteColor(rgbColor[i].Blue / nAlpha))); in convertFromPARGB() 1314 const BitmapColor aCol(toByteColor(rgbColor[i].Red), in convertIntegerFromRGB() [all …]
|
| /trunk/main/canvas/source/tools/ |
| H A D | canvastools.cxx | 534 *pColors++ = vcl::unotools::toByteColor(pIn->Red); in convertIntegerFromRGB() 535 *pColors++ = vcl::unotools::toByteColor(pIn->Green); in convertIntegerFromRGB() 536 *pColors++ = vcl::unotools::toByteColor(pIn->Blue); in convertIntegerFromRGB() 552 *pColors++ = vcl::unotools::toByteColor(pIn->Red); in convertIntegerFromARGB() 553 *pColors++ = vcl::unotools::toByteColor(pIn->Green); in convertIntegerFromARGB() 554 *pColors++ = vcl::unotools::toByteColor(pIn->Blue); in convertIntegerFromARGB() 555 *pColors++ = 255-vcl::unotools::toByteColor(pIn->Alpha); in convertIntegerFromARGB() 570 *pColors++ = vcl::unotools::toByteColor(pIn->Red/pIn->Alpha); in convertIntegerFromPARGB() 571 *pColors++ = vcl::unotools::toByteColor(pIn->Green/pIn->Alpha); in convertIntegerFromPARGB() 572 *pColors++ = vcl::unotools::toByteColor(pIn->Blue/pIn->Alpha); in convertIntegerFromPARGB() [all …]
|
| /trunk/main/canvas/source/cairo/ |
| H A D | cairo_canvashelper.cxx | 1857 *pColors++ = vcl::unotools::toByteColor(pIn->Blue); in convertIntegerFromRGB() 1858 *pColors++ = vcl::unotools::toByteColor(pIn->Green); in convertIntegerFromRGB() 1859 *pColors++ = vcl::unotools::toByteColor(pIn->Red); in convertIntegerFromRGB() 1876 *pColors++ = vcl::unotools::toByteColor(fAlpha*pIn->Blue); in convertIntegerFromARGB() 1877 *pColors++ = vcl::unotools::toByteColor(fAlpha*pIn->Green); in convertIntegerFromARGB() 1878 *pColors++ = vcl::unotools::toByteColor(fAlpha*pIn->Red); in convertIntegerFromARGB() 1879 *pColors++ = vcl::unotools::toByteColor(fAlpha); in convertIntegerFromARGB() 1893 *pColors++ = vcl::unotools::toByteColor(pIn->Blue); in convertIntegerFromPARGB() 1894 *pColors++ = vcl::unotools::toByteColor(pIn->Green); in convertIntegerFromPARGB() 1895 *pColors++ = vcl::unotools::toByteColor(pIn->Red); in convertIntegerFromPARGB() [all …]
|
| /trunk/main/vcl/inc/vcl/ |
| H A D | canvastools.hxx | 192 inline sal_Int8 toByteColor( double val ) in toByteColor() function
|