/trunk/main/slideshow/source/engine/ |
H A D | color.cxx | 202 HSLColor::HSLColor( const RGBColor& rColor ) : in HSLColor() argument 203 maHSLTriple( rgb2hsl( truncateRangeStd( rColor.getRed() ), in HSLColor() 204 truncateRangeStd( rColor.getGreen() ), in HSLColor() 205 truncateRangeStd( rColor.getBlue() ) ) ), in HSLColor() 378 RGBColor::RGBColor( const HSLColor& rColor ) : in RGBColor() argument 379 maRGBTriple( hsl2rgb( truncateRangeHue( rColor.getHue() ), in RGBColor() 380 truncateRangeStd( rColor.getSaturation() ), in RGBColor() 381 truncateRangeStd( rColor.getLuminance() ) ) ) in RGBColor()
|
/trunk/main/vcl/source/gdi/ |
H A D | cvtsvm.cxx | 147 nVal = ( (sal_Int16) rColor.GetRed() << 8 ) | rColor.GetRed(); in ImplWriteColor() 150 nVal = ( (sal_Int16) rColor.GetGreen() << 8 ) | rColor.GetGreen(); in ImplWriteColor() 153 nVal = ( (sal_Int16) rColor.GetBlue() << 8 ) | rColor.GetBlue(); in ImplWriteColor() 204 if( rColor.GetTransparency() > 127 ) in ImplWriteLineColor() 209 ImplWriteColor( rOStm, rColor ); in ImplWriteLineColor() 220 ImplWriteColor( rOStm, rColor ); in ImplWriteFillColor() 222 if( rColor.GetTransparency() > 127 ) in ImplWriteFillColor() 1963 ImplWriteLineColor( rOStm, rColor, 1 ); in ImplWriteActions() 1964 ImplWriteFillColor( rOStm, rColor, 1 ); in ImplWriteActions() 2375 const Color& rColor = pA->GetColor(); in ImplWriteActions() local [all …]
|
H A D | octree.cxx | 108 void Octree::AddColor( const BitmapColor& rColor ) in AddColor() argument 110 pColor = &(BitmapColor&) rColor; in AddColor() 316 const BitmapColor& rColor = rPal[ (sal_uInt16) nIndex ]; in InverseColorMap() local 317 const sal_uInt8 cRed = rColor.GetRed(); in InverseColorMap() 318 const sal_uInt8 cGreen = rColor.GetGreen(); in InverseColorMap() 319 const sal_uInt8 cBlue = rColor.GetBlue(); in InverseColorMap()
|
/trunk/main/tools/source/generic/ |
H A D | color.cxx | 343 SvStream& operator>>( SvStream& rIStream, Color& rColor ) in operator >>() argument 431 rColor.mnColor = RGB_COLORDATA( nRed>>8, nGreen>>8, nBlue>>8 ); in operator >>() 471 rColor.mnColor = aColAry[nColorName]; in operator >>() 473 rColor.mnColor = COL_BLACK; in operator >>() 481 SvStream& operator<<( SvStream& rOStream, const Color& rColor ) in operator <<() argument 486 sal_uInt16 nRed = rColor.GetRed(); in operator <<() 487 sal_uInt16 nGreen = rColor.GetGreen(); in operator <<() 488 sal_uInt16 nBlue = rColor.GetBlue(); in operator <<()
|
/trunk/main/cppcanvas/source/tools/ |
H A D | tools.cxx | 50 const uno::Sequence< double >& rColor ) in doubleSequenceToIntSRGBA() 52 return makeColor( static_cast<sal_uInt8>( 255*rColor[0] + .5 ), in doubleSequenceToIntSRGBA() 53 static_cast<sal_uInt8>( 255*rColor[1] + .5 ), in doubleSequenceToIntSRGBA() 54 static_cast<sal_uInt8>( 255*rColor[2] + .5 ), in doubleSequenceToIntSRGBA() 55 static_cast<sal_uInt8>( 255*rColor[3] + .5 ) ); in doubleSequenceToIntSRGBA()
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | winmtf.hxx | 374 WinMtfFillStyle( const Color& rColor, sal_Bool bTrans = sal_False ) : in WinMtfFillStyle() 375 aFillColor ( rColor ), in WinMtfFillStyle() 400 WinMtfLineStyle( const Color& rColor, sal_Bool bTrans = sal_False ) : in WinMtfLineStyle() 401 aLineColor ( rColor ), in WinMtfLineStyle() 404 WinMtfLineStyle( const Color& rColor, const LineInfo rStyle, sal_Bool bTrans = sal_False ) : in WinMtfLineStyle() 405 aLineColor ( rColor ), in WinMtfLineStyle() 630 void SetBkColor( const Color& rColor ); 631 void SetTextColor( const Color& rColor ); 649 void DrawPixel( const Point& rSource, const Color& rColor );
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | tp_3D_SceneIllumination.cxx | 160 rtl::OUString lcl_makeColorName( Color rColor ) in lcl_makeColorName() argument 163 aStr += String::CreateFromInt32((sal_Int32)rColor.GetRed()); in lcl_makeColorName() 166 aStr += String::CreateFromInt32((sal_Int32)rColor.GetGreen()); in lcl_makeColorName() 169 aStr += String::CreateFromInt32((sal_Int32)rColor.GetBlue()); in lcl_makeColorName() 172 void lcl_selectColor( ColorListBox& rListBox, const Color& rColor ) in lcl_selectColor() argument 175 rListBox.SelectEntry( rColor ); in lcl_selectColor() 178 sal_uInt16 nPos = rListBox.InsertEntry( rColor, lcl_makeColorName( rColor ) ); in lcl_selectColor() 264 const Color & rColor ) in lcl_setAmbientColor() argument 270 uno::makeAny( rColor.GetColor())); in lcl_setAmbientColor()
|
/trunk/main/svx/source/dialog/ |
H A D | _bmpmask.cxx | 86 void SetColor( const Color& rColor ) in SetColor() argument 88 aColor = rColor; in SetColor() 654 void SvxBmpMask::SetColor( const Color& rColor ) in SetColor() argument 656 aPipetteColor = rColor; in SetColor() 773 Bitmap aMask( rBitmapEx.GetBitmap().CreateMask( rColor, nTol ) ); in ImpMaskTransparent() 1074 BitmapEx SvxBmpMask::ImpReplaceTransparency( const BitmapEx& rBmpEx, const Color& rColor ) in ImpReplaceTransparency() argument 1079 aBmp.Replace( rBmpEx.GetMask(), rColor ); in ImpReplaceTransparency() 1088 Animation SvxBmpMask::ImpReplaceTransparency( const Animation& rAnim, const Color& rColor ) in ImpReplaceTransparency() argument 1096 aAnimBmp.aBmpEx = ImpReplaceTransparency( aAnimBmp.aBmpEx, rColor ); in ImpReplaceTransparency() 1117 aVDev.SetLineColor( rColor ); in ImpReplaceTransparency() [all …]
|
/trunk/main/vcl/unx/generic/gdi/ |
H A D | pspgraphics.cxx | 70 sal_uInt8 GrayOf (BitmapColor& rColor) const; 196 SalPrinterBmp::ColorOf (BitmapColor& rColor) const in ColorOf() 198 if (rColor.IsIndex()) in ColorOf() 201 return ((rColor.GetBlue()) & 0x000000ff) in ColorOf() 202 | ((rColor.GetGreen() << 8) & 0x0000ff00) in ColorOf() 203 | ((rColor.GetRed() << 16) & 0x00ff0000); in ColorOf() 207 SalPrinterBmp::GrayOf (BitmapColor& rColor) const in GrayOf() 209 if (rColor.IsIndex()) in GrayOf() 212 return ( rColor.GetBlue() * 28UL in GrayOf() 213 + rColor.GetGreen() * 151UL in GrayOf() [all …]
|
/trunk/main/canvas/source/cairo/ |
H A D | cairo_canvashelper.cxx | 124 if( rColor.getLength() > 3 ) in setColor() 126 const double alpha = rColor[3]; in setColor() 129 alpha*rColor[0], in setColor() 134 else if( rColor.getLength() == 3 ) in setColor() 136 rColor[0], in setColor() 137 rColor[1], in setColor() 138 rColor[2] ); in setColor() 667 if( rColor.getLength() == 3 ) in addColorStops() 668 cairo_pattern_add_color_stop_rgb( pPattern, stop, rColor[0], rColor[1], rColor[2] ); in addColorStops() 670 double alpha = rColor[3]; in addColorStops() [all …]
|
/trunk/main/vcl/inc/vcl/ |
H A D | pdfwriter.hxx | 719 void SetLineColor( const Color& rColor ); 722 void SetFillColor( const Color& rColor ); 726 void SetTextColor( const Color& rColor ); 728 void SetTextFillColor( const Color& rColor ); 731 void SetTextLineColor( const Color& rColor ); 733 void SetOverlineColor( const Color& rColor ); 758 void DrawPixel( const Point& rPt, const Color& rColor ); 762 void DrawPixel( const Polygon& rPts, const Color& rColor ) in DrawPixel() argument 763 { Push(); SetLineColor( rColor ); DrawPixel( rPts ); Pop(); } in DrawPixel()
|
H A D | gdimtf.hxx | 84 typedef Color (*ColorExchangeFnc)( const Color& rColor, const void* pColParam ); 109 SAL_DLLPRIVATE static Color ImplColAdjustFnc( const Color& rColor, const void* pColParam ); 112 SAL_DLLPRIVATE static Color ImplColConvertFnc( const Color& rColor, const void* pColParam ); 115 SAL_DLLPRIVATE static Color ImplColMonoFnc( const Color& rColor, const void* pColParam ); 118 SAL_DLLPRIVATE static Color ImplColReplaceFnc( const Color& rColor, const void* pColParam );
|
/trunk/main/svx/inc/svx/ |
H A D | bmpmask.hxx | 141 const Color& rColor, 144 const Color& rColor ); 146 const Color& rColor ); 148 const Color& rColor ); 160 void SetColor( const Color& rColor );
|
H A D | xgrad.hxx | 60 void SetStartColor(const Color& rColor) { aStartColor = rColor; } in SetStartColor() argument 61 void SetEndColor(const Color& rColor) { aEndColor = rColor; } in SetEndColor() argument
|
H A D | framelink.hxx | 117 inline explicit Style( const Color& rColor, sal_uInt16 nP, sal_uInt16 nD, sal_uInt16 nS ) : in Style() argument 119 { Set( rColor, nP, nD, nS ); } in Style() 143 void Set( const Color& rColor, sal_uInt16 nP, sal_uInt16 nD, sal_uInt16 nS ); 152 inline void SetColor( const Color& rColor ) { maColor = rColor; } in SetColor() argument
|
/trunk/main/filter/source/graphicfilter/epict/ |
H A D | epict.cxx | 129 void WriteRGBColor(const Color & rColor); 146 void WriteOpcode_RGBFgCol(const Color & rColor); 147 void WriteOpcode_RGBBkCol(const Color & rColor); 313 void PictWriter::WriteRGBColor(const Color & rColor) in WriteRGBColor() argument 315 const sal_uInt16 nR = ( (sal_uInt16) rColor.GetRed() << 8 ) | (sal_uInt16) rColor.GetRed(); in WriteRGBColor() 316 const sal_uInt16 nG = ( (sal_uInt16) rColor.GetGreen() << 8 ) | (sal_uInt16) rColor.GetGreen(); in WriteRGBColor() 317 const sal_uInt16 nB = ( (sal_uInt16) rColor.GetBlue() << 8 ) | (sal_uInt16) rColor.GetBlue(); in WriteRGBColor() 588 WriteRGBColor(rColor); in WriteOpcode_RGBFgCol() 589 aDstFgCol=rColor; in WriteOpcode_RGBFgCol() 599 WriteRGBColor(rColor); in WriteOpcode_RGBBkCol() [all …]
|
/trunk/main/vcl/aqua/source/gdi/ |
H A D | salcolorutils.cxx | 38 void SetSalColor( const SalColor& rColor, float* pQuartzColor ) in SetSalColor() argument 40 pQuartzColor[0] = (float) SALCOLOR_RED(rColor) / 255.0; in SetSalColor() 41 pQuartzColor[1] = (float) SALCOLOR_GREEN(rColor) / 255.0; in SetSalColor() 42 pQuartzColor[2] = (float) SALCOLOR_BLUE(rColor) / 255.0; in SetSalColor()
|
/trunk/main/svx/source/sdr/attribute/ |
H A D | sdrallfillattributeshelper.cxx | 72 SdrAllFillAttributesHelper::SdrAllFillAttributesHelper(const Color& rColor) in SdrAllFillAttributesHelper() argument 82 Color(rColor.GetRGBColor()).getBColor(), in SdrAllFillAttributesHelper() 201 const basegfx::BColor& rColor = rFillHatchAttribute.getColor(); in getAverageColor() local 208 aRetval = basegfx::interpolate(rColor, rBackgroundColor, 0.5); in getAverageColor() 213 aRetval = basegfx::interpolate(rColor, rFallback, 0.5); in getAverageColor()
|
/trunk/main/sd/source/ui/slidesorter/inc/controller/ |
H A D | SlsProperties.hxx | 89 void SetBackgroundColor (const Color& rColor); 94 void SetTextColor (const Color& rColor); 99 void SetSelectionColor (const Color& rColor); 104 void SetHighlightColor (const Color& rColor);
|
/trunk/main/drawinglayer/source/attribute/ |
H A D | sdrshadowattribute.cxx | 49 const basegfx::BColor& rColor) in ImpSdrShadowAttribute() argument 53 maColor(rColor) in ImpSdrShadowAttribute() 91 const basegfx::BColor& rColor) in SdrShadowAttribute() argument 93 rOffset, fTransparence, rColor)) in SdrShadowAttribute()
|
H A D | sdrlightattribute3d.cxx | 49 const basegfx::BColor& rColor, in ImpSdr3DLightAttribute() argument 53 maColor(rColor), in ImpSdr3DLightAttribute() 91 const basegfx::BColor& rColor, in Sdr3DLightAttribute() argument 95 rColor, rDirection, bSpecular)) in Sdr3DLightAttribute()
|
H A D | fillhatchattribute.cxx | 54 const basegfx::BColor& rColor, in ImpFillHatchAttribute() argument 61 maColor(rColor), in ImpFillHatchAttribute() 110 const basegfx::BColor& rColor, in FillHatchAttribute() argument 118 rColor, in FillHatchAttribute()
|
H A D | lineattribute.cxx | 49 const basegfx::BColor& rColor, in ImpLineAttribute() argument 54 maColor(rColor), in ImpLineAttribute() 96 const basegfx::BColor& rColor, in LineAttribute() argument 102 rColor, in LineAttribute()
|
H A D | sdrfillattribute.cxx | 53 const basegfx::BColor& rColor, in ImpSdrFillAttribute() argument 59 maColor(rColor), in ImpSdrFillAttribute() 106 const basegfx::BColor& rColor, in SdrFillAttribute() argument 112 fTransparence, rColor, rGradient, rHatch, rFillGraphic)) in SdrFillAttribute()
|
/trunk/main/svgio/source/svgreader/ |
H A D | svgtools.cxx | 650 basegfx::BColor& rColor, in match_colorKeyword() argument 823 rColor = aResult->second.getBColor(); in match_colorKeyword() 830 basegfx::BColor& rColor, in read_color() argument 855 rColor.setRed((nR | (nR << 4)) * fFactor); in read_color() 856 rColor.setGreen((nG | (nG << 4)) * fFactor); in read_color() 857 rColor.setBlue((nB | (nB << 4)) * fFactor); in read_color() 870 rColor.setRed((nR2 | (nR1 << 4)) * fFactor); in read_color() 872 rColor.setBlue((nB2 | (nB1 << 4)) * fFactor); in read_color() 920 rColor.setRed(fR * fFac); in read_color() 921 rColor.setGreen(fG * fFac); in read_color() [all …]
|