Home
last modified time | relevance | path

Searched refs:rGradient (Results 1 – 25 of 54) sorted by relevance

123

/trunk/main/vcl/source/gdi/
H A Dgradient.cxx94 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 Doutdev4.cxx170 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 Dprint2.cxx1517 …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 Dwall.cxx257 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 Dpdfwriter.cxx260 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()
/trunk/main/sd/source/ui/slidesorter/view/
H A DSlsTheme.cxx419 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 …]
/trunk/main/svx/source/svdraw/
H A Dsvdfmtf.cxx1438 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 …]
/trunk/main/vcl/inc/vcl/
H A Dgradient.hxx84 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 );
/trunk/main/svx/source/xoutdev/
H A Dxtabgrdt.cxx164 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 Dxattr.cxx3508 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 …]
/trunk/main/filter/source/svg/
H A Dsvgwriter.cxx199 ( 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 …]
/trunk/main/svx/source/sidebar/area/
H A DAreaTransparencyGradientControl.cxx137 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 DAreaPropertyPanel.cxx751 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()
/trunk/main/toolkit/source/awt/
H A Dvclxgraphics.cxx504 …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()
/trunk/main/svx/source/sdr/primitive2d/
H A Dsdrattributecreator.cxx408 … 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 …]
/trunk/main/drawinglayer/source/primitive2d/
H A Dmetafileprimitive2d.cxx851 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 …]
/trunk/main/drawinglayer/source/attribute/
H A Dsdrfillattribute.cxx54 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()
/trunk/main/drawinglayer/source/primitive3d/
H A Dtextureprimitive3d.cxx135 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()
/trunk/main/svtools/source/inc/
H A Dgradwrap.hxx68 const Gradient& rGradient);
70 const Gradient& rGradient);
72 const Gradient& rGradient);
/trunk/main/cppcanvas/source/mtfrenderer/
H A Dimplrenderer.cxx591 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 …]
/trunk/main/filter/source/flash/
H A Dswfwriter2.cxx543 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 Dswfwriter1.cxx344 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()
/trunk/main/svx/source/unodraw/
H A Dunobrushitemhelper.cxx165 …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()
/trunk/main/svx/inc/svx/
H A Dxflftrit.hxx46 …XFillFloatTransparenceItem( sal_Int32 nIndex, const XGradient& rGradient, sal_Bool bEnable = sal_T…
47 …XFillFloatTransparenceItem(const String& rName, const XGradient& rGradient, sal_Bool bEnable = sal…
/trunk/main/sfx2/source/sidebar/
H A DPaint.cxx50 Paint::Paint (const Gradient& rGradient) in Paint() argument
52 maValue(rGradient) in Paint()

Completed in 387 milliseconds

123