Lines Matching refs:rGradient
170 const Gradient& rGradient, in ImplDrawLinearGradient() argument
175 sal_uInt16 nAngle = rGradient.GetAngle() % 3600; in ImplDrawLinearGradient()
190 sal_Bool bLinear = ( rGradient.GetStyle() == GRADIENT_LINEAR ); in ImplDrawLinearGradient()
191 double fBorder = rGradient.GetBorder() * aRect.GetHeight() / 100.0; in ImplDrawLinearGradient()
206 Color aStartCol = rGradient.GetStartColor(); in ImplDrawLinearGradient()
207 Color aEndCol = rGradient.GetEndColor(); in ImplDrawLinearGradient()
214 nFactor = rGradient.GetStartIntensity(); in ImplDrawLinearGradient()
218 nFactor = rGradient.GetEndIntensity(); in ImplDrawLinearGradient()
283 long nStepCount = rGradient.GetSteps(); in ImplDrawLinearGradient()
394 const Gradient& rGradient, in ImplDrawComplexGradient() argument
407 Color aStartCol( rGradient.GetStartColor() ); in ImplDrawComplexGradient()
408 Color aEndCol( rGradient.GetEndColor() ); in ImplDrawComplexGradient()
409 long nStartRed = ( (long) aStartCol.GetRed() * rGradient.GetStartIntensity() ) / 100; in ImplDrawComplexGradient()
410 long nStartGreen = ( (long) aStartCol.GetGreen() * rGradient.GetStartIntensity() ) / 100; in ImplDrawComplexGradient()
411 long nStartBlue = ( (long) aStartCol.GetBlue() * rGradient.GetStartIntensity() ) / 100; in ImplDrawComplexGradient()
412 long nEndRed = ( (long) aEndCol.GetRed() * rGradient.GetEndIntensity() ) / 100; in ImplDrawComplexGradient()
413 long nEndGreen = ( (long) aEndCol.GetGreen() * rGradient.GetEndIntensity() ) / 100; in ImplDrawComplexGradient()
414 long nEndBlue = ( (long) aEndCol.GetBlue() * rGradient.GetEndIntensity() ) / 100; in ImplDrawComplexGradient()
418 long nStepCount = rGradient.GetSteps(); in ImplDrawComplexGradient()
419 sal_uInt16 nAngle = rGradient.GetAngle() % 3600; in ImplDrawComplexGradient()
426 if( rGradient.GetStyle() == GRADIENT_SQUARE || rGradient.GetStyle() == GRADIENT_RECT ) in ImplDrawComplexGradient()
445 if( rGradient.GetStyle() == GRADIENT_RADIAL ) in ImplDrawComplexGradient()
451 else if( rGradient.GetStyle() == GRADIENT_ELLIPTICAL ) in ImplDrawComplexGradient()
457 else if( rGradient.GetStyle() == GRADIENT_SQUARE ) in ImplDrawComplexGradient()
466 long nZWidth = aRect.GetWidth() * (long) rGradient.GetOfsX() / 100; in ImplDrawComplexGradient()
467 long nZHeight = aRect.GetHeight() * (long) rGradient.GetOfsY() / 100; in ImplDrawComplexGradient()
468 long nBorderX = (long) rGradient.GetBorder() * aSize.Width() / 100; in ImplDrawComplexGradient()
469 long nBorderY = (long) rGradient.GetBorder() * aSize.Height() / 100; in ImplDrawComplexGradient()
563 if( rGradient.GetStyle() == GRADIENT_RADIAL || rGradient.GetStyle() == GRADIENT_ELLIPTICAL ) in ImplDrawComplexGradient()
649 const Gradient& rGradient ) in DrawGradient() argument
653 DBG_CHKOBJ( &rGradient, Gradient, NULL ); in DrawGradient()
683 Gradient aGradient( rGradient ); in DrawGradient()
780 const Gradient& rGradient ) in DrawGradient() argument
784 DBG_CHKOBJ( &rGradient, Gradient, NULL ); in DrawGradient()
829 mpMetaFile->AddAction( new MetaGradientExAction( rPolyPoly, rGradient ) ); in DrawGradient()
835 DrawGradient( aRect, rGradient ); in DrawGradient()
845 DrawGradient( aRect, rGradient ); in DrawGradient()
850 DrawGradient( aRect, rGradient ); in DrawGradient()
861 Gradient aGradient( rGradient ); in DrawGradient()
1003 void OutputDevice::AddGradientActions( const Rectangle& rRect, const Gradient& rGradient, in AddGradientActions() argument
1007 DBG_CHKOBJ( &rGradient, Gradient, NULL ); in AddGradientActions()
1016 Gradient aGradient( rGradient ); in AddGradientActions()