/aoo42x/main/vcl/source/gdi/ |
H A D | gradient.cxx | 94 Gradient::Gradient( const Gradient& rGradient ) in Gradient() argument 97 DBG_CHKOBJ( &rGradient, Gradient, NULL ); in Gradient() 100 mpImplGradient = rGradient.mpImplGradient; in Gradient() 246 DBG_CHKOBJ( &rGradient, Gradient, NULL ); in operator =() 249 rGradient.mpImplGradient->mnRefCount++; in operator =() 257 mpImplGradient = rGradient.mpImplGradient; in operator =() 267 DBG_CHKOBJ( &rGradient, Gradient, NULL ); in operator ==() 269 if ( mpImplGradient == rGradient.mpImplGradient ) in operator ==() 331 rGradient.MakeUnique(); in operator >>() 332 return( rIStm >> *rGradient.mpImplGradient ); in operator >>() [all …]
|
H A D | outdev4.cxx | 170 const Gradient& rGradient, in ImplDrawLinearGradient() argument 426 if( rGradient.GetStyle() == GRADIENT_SQUARE || rGradient.GetStyle() == GRADIENT_RECT ) in ImplDrawComplexGradient() 563 if( rGradient.GetStyle() == GRADIENT_RADIAL || rGradient.GetStyle() == GRADIENT_ELLIPTICAL ) in ImplDrawComplexGradient() 649 const Gradient& rGradient ) in DrawGradient() argument 683 Gradient aGradient( rGradient ); in DrawGradient() 780 const Gradient& rGradient ) in DrawGradient() argument 835 DrawGradient( aRect, rGradient ); in DrawGradient() 845 DrawGradient( aRect, rGradient ); in DrawGradient() 850 DrawGradient( aRect, rGradient ); in DrawGradient() 861 Gradient aGradient( rGradient ); in DrawGradient() [all …]
|
H A D | print2.cxx | 1517 …if( !rGradient.GetSteps() || ( rGradient.GetSteps() > rPrinterOptions.GetReducedGradientStepCount(… in DrawGradientEx() 1519 Gradient aNewGradient( rGradient ); in DrawGradientEx() 1525 pOut->DrawGradient( rRect, rGradient ); in DrawGradientEx() 1529 const Color& rStartColor = rGradient.GetStartColor(); in DrawGradientEx() 1530 const Color& rEndColor = rGradient.GetEndColor(); in DrawGradientEx() 1547 pOut->DrawGradient( rRect, rGradient ); in DrawGradientEx() 1560 …if( !rGradient.GetSteps() || ( rGradient.GetSteps() > rPrinterOptions.GetReducedGradientStepCount(… in DrawGradientEx() 1562 Gradient aNewGradient( rGradient ); in DrawGradientEx() 1568 pOut->DrawGradient( rPolyPoly, rGradient ); in DrawGradientEx() 1573 const Color& rEndColor = rGradient.GetEndColor(); in DrawGradientEx() [all …]
|
H A D | wall.cxx | 257 Wallpaper::Wallpaper( const Gradient& rGradient ) in Wallpaper() argument 262 mpImplWallpaper->mpGradient = new Gradient( rGradient ); in Wallpaper() 399 void Wallpaper::SetGradient( const Gradient& rGradient ) in SetGradient() argument 406 *(mpImplWallpaper->mpGradient) = rGradient; in SetGradient() 408 mpImplWallpaper->mpGradient = new Gradient( rGradient ); in SetGradient()
|
H A D | pdfwriter.cxx | 260 void PDFWriter::DrawGradient( const Rectangle& rRect, const Gradient& rGradient ) in DrawGradient() argument 262 ((PDFWriterImpl*)pImplementation)->drawGradient( rRect, rGradient ); in DrawGradient() 265 void PDFWriter::DrawGradient( const PolyPolygon& rPolyPoly, const Gradient& rGradient ) in DrawGradient() argument 267 ((PDFWriterImpl*)pImplementation)->drawGradient( rPolyPoly, rGradient ); in DrawGradient()
|
/aoo42x/main/sd/source/ui/slidesorter/view/ |
H A D | SlsTheme.cxx | 419 rGradient.maBaseColor, in SetGradientSaturationOverride() 421 rGradient.mnBrightnessOverride, in SetGradientSaturationOverride() 422 rGradient.mnFillOffset1, in SetGradientSaturationOverride() 423 rGradient.mnFillOffset2, in SetGradientSaturationOverride() 424 rGradient.mnBorderOffset1, in SetGradientSaturationOverride() 425 rGradient.mnBorderOffset2); in SetGradientSaturationOverride() 435 rGradient.maBaseColor, in SetGradientBrightnessOverride() 438 rGradient.mnFillOffset1, in SetGradientBrightnessOverride() 439 rGradient.mnFillOffset2, in SetGradientBrightnessOverride() 440 rGradient.mnBorderOffset1, in SetGradientBrightnessOverride() [all …]
|
/aoo42x/main/svx/source/svdraw/ |
H A D | svdfmtf.cxx | 1438 rGradient.GetStartColor(), in DoAction() 1439 rGradient.GetEndColor(), in DoAction() 1441 rGradient.GetAngle(), in DoAction() 1442 rGradient.GetOfsX(), in DoAction() 1443 rGradient.GetOfsY(), in DoAction() 1444 rGradient.GetBorder(), in DoAction() 1447 rGradient.GetSteps())); in DoAction() 1512 rGradient.GetAngle(), in DoAction() 1513 rGradient.GetOfsX(), in DoAction() 1514 rGradient.GetOfsY(), in DoAction() [all …]
|
/aoo42x/main/vcl/inc/vcl/ |
H A D | gradient.hxx | 84 Gradient( const Gradient& rGradient ); 117 Gradient& operator=( const Gradient& rGradient ); 118 sal_Bool operator==( const Gradient& rGradient ) const; 119 sal_Bool operator!=( const Gradient& rGradient ) const in operator !=() 120 { return !(Gradient::operator==( rGradient )); } in operator !=() 121 sal_Bool IsSameInstance( const Gradient& rGradient ) const in IsSameInstance() 122 { return (mpImplGradient == rGradient.mpImplGradient); } in IsSameInstance() 124 friend VCL_DLLPUBLIC SvStream& operator>>( SvStream& rIStm, Gradient& rGradient ); 125 friend VCL_DLLPUBLIC SvStream& operator<<( SvStream& rOStm, const Gradient& rGradient );
|
/aoo42x/main/svx/source/xoutdev/ |
H A D | xtabgrdt.cxx | 164 const XGradient& rGradient = GetGradient(nIndex)->GetGradient(); in CreateBitmapForUI() local 165 const sal_uInt16 nStartIntens(rGradient.GetStartIntens()); in CreateBitmapForUI() 166 basegfx::BColor aStart(rGradient.GetStartColor().getBColor()); in CreateBitmapForUI() 174 const sal_uInt16 nEndIntens(rGradient.GetEndIntens()); in CreateBitmapForUI() 175 basegfx::BColor aEnd(rGradient.GetEndColor().getBColor()); in CreateBitmapForUI() 185 switch(rGradient.GetGradientStyle()) in CreateBitmapForUI() 222 (double)rGradient.GetBorder() * 0.01, in CreateBitmapForUI() 223 (double)rGradient.GetXOffset() * 0.01, in CreateBitmapForUI() 224 (double)rGradient.GetYOffset() * 0.01, in CreateBitmapForUI() 225 (double)rGradient.GetAngle() * F_PI1800, in CreateBitmapForUI()
|
H A D | xattr.cxx | 3508 return ( eStyle == rGradient.eStyle && in operator ==() 3509 aStartColor == rGradient.aStartColor && in operator ==() 3510 aEndColor == rGradient.aEndColor && in operator ==() 3511 nAngle == rGradient.nAngle && in operator ==() 3512 nBorder == rGradient.nBorder && in operator ==() 3513 nOfsX == rGradient.nOfsX && in operator ==() 3514 nOfsY == rGradient.nOfsY && in operator ==() 3516 nIntensEnd == rGradient.nIntensEnd && in operator ==() 3517 nStepCount == rGradient.nStepCount ); in operator ==() 4061 XFillGradientItem ( nIndex, rGradient ), in XFillFloatTransparenceItem() [all …]
|
/aoo42x/main/filter/source/svg/ |
H A D | svgwriter.cxx | 199 ( rGradient.GetStyle() == GRADIENT_LINEAR || rGradient.GetStyle() == GRADIENT_AXIAL || in AddGradientDef() 200 rGradient.GetStyle() == GRADIENT_RADIAL || rGradient.GetStyle() == GRADIENT_ELLIPTICAL ) ) in AddGradientDef() 203 …Color aStartColor( rGradient.GetStartColor() ), aEndColor( rGradient.GetEndColor() ); in AddGradientDef() 204 sal_uInt16 nAngle = rGradient.GetAngle() % 3600; in AddGradientDef() 228 if( rGradient.GetStyle() == GRADIENT_LINEAR || rGradient.GetStyle() == GRADIENT_AXIAL ) in AddGradientDef() 246 double fBorder = static_cast< double >( rGradient.GetBorder() ) * in AddGradientDef() 257 if( rGradient.GetStyle() == GRADIENT_AXIAL ) in AddGradientDef() 268 if( rGradient.GetStyle() != GRADIENT_AXIAL ) in AddGradientDef() 761 if( rGradient.GetStyle() == GRADIENT_LINEAR || rGradient.GetStyle() == GRADIENT_AXIAL || in ImplWriteGradientEx() 762 rGradient.GetStyle() == GRADIENT_RADIAL || rGradient.GetStyle() == GRADIENT_ELLIPTICAL ) in ImplWriteGradientEx() [all …]
|
/aoo42x/main/svx/source/sidebar/area/ |
H A D | AreaTransparencyGradientControl.cxx | 137 const XGradient& rGradient = pGradientItem->GetGradientValue(); in Rearrange() local 138 XGradientStyle eXGS(rGradient.GetGradientStyle()); in Rearrange() 247 const XGradient& rGradient = pGradientItem->GetGradientValue(); in InitStatus() local 251 if (rGradient.GetXOffset() == AreaPropertyPanel::DEFAULT_CENTERX in InitStatus() 252 && rGradient.GetYOffset() == AreaPropertyPanel::DEFAULT_CENTERY in InitStatus() 253 && (rGradient.GetAngle() / 10) == AreaPropertyPanel::DEFAULT_ANGLE in InitStatus() 254 && ((sal_uInt16)((((sal_uInt16)rGradient.GetStartColor().GetRed() + 1) * 100) / 255)) in InitStatus() 256 && ((sal_uInt16)((((sal_uInt16)rGradient.GetEndColor().GetRed() + 1) * 100) / 255)) in InitStatus() 258 && rGradient.GetBorder() == AreaPropertyPanel::DEFAULT_BORDER) in InitStatus() 260 aGradient = mrAreaPropertyPanel.GetGradient(rGradient.GetGradientStyle()); in InitStatus() [all …]
|
H A D | AreaPropertyPanel.cxx | 751 const XGradient& rGradient = mpFloatTransparenceItem->GetGradientValue(); in ImpUpdateTransparencies() local 762 switch(rGradient.GetGradientStyle()) in ImpUpdateTransparencies() 1474 void AreaPropertyPanel::SetGradient (const XGradient& rGradient) in SetGradient() argument 1476 switch (rGradient.GetGradientStyle()) in SetGradient() 1479 maGradientLinear = rGradient; in SetGradient() 1482 maGradientAxial = rGradient; in SetGradient() 1485 maGradientRadial = rGradient; in SetGradient() 1488 maGradientElliptical = rGradient; in SetGradient() 1491 maGradientSquare = rGradient; in SetGradient() 1494 maGradientRect = rGradient; in SetGradient()
|
/aoo42x/main/toolkit/source/awt/ |
H A D | vclxgraphics.cxx | 504 …x, sal_Int32 y, sal_Int32 width, sal_Int32 height, const awt::Gradient& rGradient ) throw(uno::Run… in drawGradient() argument 511 Gradient aGradient((GradientStyle)rGradient.Style, rGradient.StartColor, rGradient.EndColor); in drawGradient() 512 aGradient.SetAngle(rGradient.Angle); in drawGradient() 513 aGradient.SetBorder(rGradient.Border); in drawGradient() 514 aGradient.SetOfsX(rGradient.XOffset); in drawGradient() 515 aGradient.SetOfsY(rGradient.YOffset); in drawGradient() 516 aGradient.SetStartIntensity(rGradient.StartIntensity); in drawGradient() 517 aGradient.SetEndIntensity(rGradient.EndIntensity); in drawGradient() 518 aGradient.SetSteps(rGradient.StepCount); in drawGradient()
|
/aoo42x/main/svx/source/sdr/primitive2d/ |
H A D | sdrattributecreator.cxx | 408 … const XGradient& rGradient = ((XFillFloatTransparenceItem*)pGradientItem)->GetGradientValue(); in createNewSdrFillAttribute() local 409 const sal_uInt8 nStartLuminance(rGradient.GetStartColor().GetLuminance()); in createNewSdrFillAttribute() 410 const sal_uInt8 nEndLuminance(rGradient.GetEndColor().GetLuminance()); in createNewSdrFillAttribute() 588 const XGradient& rGradient = ((XFillFloatTransparenceItem*)pGradientItem)->GetGradientValue(); in createNewTransparenceGradientAttribute() local 589 const sal_uInt8 nStartLuminance(rGradient.GetStartColor().GetLuminance()); in createNewTransparenceGradientAttribute() 590 const sal_uInt8 nEndLuminance(rGradient.GetEndColor().GetLuminance()); in createNewTransparenceGradientAttribute() 604 XGradientStyleToGradientStyle(rGradient.GetGradientStyle()), in createNewTransparenceGradientAttribute() 605 (double)rGradient.GetBorder() * 0.01, in createNewTransparenceGradientAttribute() 606 (double)rGradient.GetXOffset() * 0.01, in createNewTransparenceGradientAttribute() 607 (double)rGradient.GetYOffset() * 0.01, in createNewTransparenceGradientAttribute() [all …]
|
/aoo42x/main/drawinglayer/source/primitive2d/ |
H A D | metafileprimitive2d.cxx | 851 const Color aStartColor(rGradient.GetStartColor()); in createFillGradientAttribute() 861 const Color aEndColor(rGradient.GetEndColor()); in createFillGradientAttribute() 873 switch(rGradient.GetStyle()) in createFillGradientAttribute() 909 (double)rGradient.GetBorder() * 0.01, in createFillGradientAttribute() 910 (double)rGradient.GetOfsX() * 0.01, in createFillGradientAttribute() 911 (double)rGradient.GetOfsY() * 0.01, in createFillGradientAttribute() 912 (double)rGradient.GetAngle() * F_PI1800, in createFillGradientAttribute() 915 rGradient.GetSteps()); in createFillGradientAttribute() 1112 const Gradient& rGradient, in CreateGradientWallpaper() argument 2293 const Gradient& rGradient = pA->GetGradient(); in interpretMetafile() local [all …]
|
/aoo42x/main/drawinglayer/source/attribute/ |
H A D | sdrfillattribute.cxx | 54 const FillGradientAttribute& rGradient, in ImpSdrFillAttribute() argument 60 maGradient(rGradient), in ImpSdrFillAttribute() 107 const FillGradientAttribute& rGradient, in SdrFillAttribute() argument 112 fTransparence, rColor, rGradient, rHatch, rFillGraphic)) in SdrFillAttribute()
|
/aoo42x/main/drawinglayer/source/primitive3d/ |
H A D | textureprimitive3d.cxx | 135 const attribute::FillGradientAttribute& rGradient, in GradientTexturePrimitive3D() argument 141 maGradient(rGradient) in GradientTexturePrimitive3D() 204 const attribute::FillGradientAttribute& rGradient, in TransparenceTexturePrimitive3D() argument 207 : GradientTexturePrimitive3D(rGradient, rChildren, rTextureSize, false, false) in TransparenceTexturePrimitive3D()
|
/aoo42x/main/svtools/source/inc/ |
H A D | gradwrap.hxx | 68 const Gradient& rGradient); 70 const Gradient& rGradient); 72 const Gradient& rGradient);
|
/aoo42x/main/cppcanvas/source/mtfrenderer/ |
H A D | implrenderer.cxx | 591 const ::Gradient& rGradient, in createGradientAction() 604 const sal_uInt16 nSteps( rGradient.GetSteps() ); in createGradientAction() 630 ::Color aVCLStartColor( rGradient.GetStartColor() ); in createGradientAction() 636 ::Color aVCLEndColor( rGradient.GetEndColor() ); in createGradientAction() 653 if( rGradient.GetStyle() == GRADIENT_AXIAL ) in createGradientAction() 678 rGradient.GetOfsX() / 100.0, in createGradientAction() 679 rGradient.GetOfsY() / 100.0); in createGradientAction() 680 double fRotation( rGradient.GetAngle() * M_PI / 1800.0 ); in createGradientAction() 681 const double fBorder( rGradient.GetBorder() / 100.0 ); in createGradientAction() 688 switch( rGradient.GetStyle() ) in createGradientAction() [all …]
|
/aoo42x/main/filter/source/flash/ |
H A D | swfwriter2.cxx | 543 FillStyle::FillStyleType Impl_getFillStyleType( const Gradient& rGradient ) in Impl_getFillStyleType() argument 545 switch( rGradient.GetStyle() ) in Impl_getFillStyleType() 562 FillStyle::FillStyle( const Rectangle& rBoundRect, const Gradient& rGradient ) in FillStyle() argument 563 : meType( Impl_getFillStyleType( rGradient ) ), in FillStyle() 564 maGradient( rGradient ), in FillStyle()
|
H A D | swfwriter1.cxx | 344 void Writer::Impl_writeGradientEx( const PolyPolygon& rPolyPoly, const Gradient& rGradient ) in Impl_writeGradientEx() argument 351 …if( (rGradient.GetStyle() == GRADIENT_LINEAR && rGradient.GetAngle() == 900) || (rGradient.GetStyl… in Impl_writeGradientEx() 355 FillStyle aFillStyle( aBoundRect, rGradient ); in Impl_writeGradientEx() 367 mpVDev->AddGradientActions( aPolyPolygon.GetBoundRect(), rGradient, aTmpMtf ); in Impl_writeGradientEx() 1640 const Gradient& rGradient = pA->GetGradient(); in Impl_writeActions() local 1641 …sal_uInt32 nLuminance = ((sal_Int32)rGradient.GetStartColor().GetLuminance() + (sal_Int32)rGradien… in Impl_writeActions()
|
/aoo42x/main/svx/source/unodraw/ |
H A D | unobrushitemhelper.cxx | 165 …const XGradient& rGradient = static_cast< const XFillFloatTransparenceItem* >(pGradientItem)->GetG… in getTransparenceForSvxBrushItem() local 166 const sal_uInt16 nStartLuminance(rGradient.GetStartColor().GetLuminance()); in getTransparenceForSvxBrushItem() 167 const sal_uInt16 nEndLuminance(rGradient.GetEndColor().GetLuminance()); in getTransparenceForSvxBrushItem()
|
/aoo42x/main/svx/inc/svx/ |
H A D | xflftrit.hxx | 46 …XFillFloatTransparenceItem( sal_Int32 nIndex, const XGradient& rGradient, sal_Bool bEnable = sal_T… 47 …XFillFloatTransparenceItem(const String& rName, const XGradient& rGradient, sal_Bool bEnable = sal…
|
/aoo42x/main/sfx2/source/sidebar/ |
H A D | Paint.cxx | 50 Paint::Paint (const Gradient& rGradient) in Paint() argument 52 maValue(rGradient) in Paint()
|