33 if( rPrinterOptions.IsReduceGradients() )
37 if( !rGradient.
GetSteps() || ( rGradient.
GetSteps() > rPrinterOptions.GetReducedGradientStepCount() ) )
41 aNewGradient.
SetSteps( rPrinterOptions.GetReducedGradientStepCount() );
42 pOut->DrawGradient( rRect, aNewGradient );
45 pOut->DrawGradient( rRect, rGradient );
60 pOut->SetLineColor( aColor );
61 pOut->SetFillColor( aColor );
62 pOut->DrawRect( rRect );
67 pOut->DrawGradient( rRect, rGradient );
sal_uInt8 GetBlue() const
sal_uInt8 GetGreen() const
sal_uInt16 GetStartIntensity() const
sal_uInt16 GetEndIntensity() const
const Color & GetEndColor() const
const Color & GetStartColor() const
void SetSteps(sal_uInt16 nSteps)
sal_uInt16 GetSteps() const
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
void DrawGradientEx(OutputDevice *pOut, const tools::Rectangle &rRect, const Gradient &rGradient)
const vcl::printer::Options & GetPrinterOptions() const