24#include <officecfg/Office/Common.hxx>
38 return officecfg::Office::Common::Drawinglayer::OverlayBuffer::get();
43 return officecfg::Office::Common::Drawinglayer::PaintBuffer::get();
58 return officecfg::Office::Common::Drawinglayer::StripeLength::get();
95 return officecfg::Office::Common::Drawinglayer::MaximumPaperWidth::get();
100 return officecfg::Office::Common::Drawinglayer::MaximumPaperHeight::get();
105 return officecfg::Office::Common::Drawinglayer::MaximumPaperLeftMargin::get();
110 return officecfg::Office::Common::Drawinglayer::MaximumPaperRightMargin::get();
115 return officecfg::Office::Common::Drawinglayer::MaximumPaperTopMargin::get();
120 return officecfg::Office::Common::Drawinglayer::MaximumPaperBottomMargin::get();
128 static const bool gbAllowAA
140 bAntiAliasing =
false;
142 return bAntiAliasing;
158 const bool bRetval(
IsAntiAliasing() && officecfg::Office::Common::Drawinglayer::SnapHorVerLinesToDiscrete::get());
172 return officecfg::Office::Common::Drawinglayer::SolidDragCreate::get();
177 return officecfg::Office::Common::Drawinglayer::RenderDecoratedTextDirect::get();
182 return officecfg::Office::Common::Drawinglayer::RenderSimpleTextDirect::get();
187 return officecfg::Office::Common::Drawinglayer::Quadratic3DRenderLimit::get();
192 return officecfg::Office::Common::Drawinglayer::QuadraticFormControlRenderLimit::get();
198 return officecfg::Office::Common::Drawinglayer::TransparentSelection::get();
203 sal_uInt16 aRetval = officecfg::Office::Common::Drawinglayer::TransparentSelectionPercent::get();
221 sal_uInt16 aRetval = officecfg::Office::Common::Drawinglayer::SelectionMaximumLuminancePercent::get();
236 const double fLuminance(aSelection.
luminance());
239 if(fLuminance > fMaxLum)
241 const double fFactor(fMaxLum / fLuminance);
243 aSelection.
getRed() * fFactor,
245 aSelection.
getBlue() * fFactor);
static OutputDevice * GetDefaultDevice()
static const AllSettings & GetSettings()
basegfx::BColor getBColor() const
bool SupportsOperation(OutDevSupportType) const
ESelection aNewSelection(GetSelection())
bool IsPaintBuffer_Writer()
bool IsOverlayBuffer_DrawImpress()
sal_uInt32 GetMaximumPaperLeftMargin()
static bool gbPixelSnapHairlineForwardLast(true)
bool IsRenderDecoratedTextDirect()
bool IsPaintBuffer_DrawImpress()
bool IsRenderSimpleTextDirect()
sal_uInt16 GetTransparentSelectionPercent()
bool IsOverlayBuffer_Writer()
sal_uInt32 GetMaximumPaperHeight()
sal_uInt32 GetMaximumPaperBottomMargin()
sal_uInt32 GetMaximumPaperWidth()
sal_uInt32 GetMaximumPaperTopMargin()
sal_uInt32 GetQuadratic3DRenderLimit()
bool IsOverlayBuffer_Calc()
bool IsAAPossibleOnThisSystem()
void SetAntiAliasing(bool bOn, bool bTemporary)
Some code like to turn this stuff on and off during a drawing operation so it can "tunnel" informatio...
static bool gbPixelSnapHairlineForwardInitial(false)
bool IsTransparentSelection()
sal_uInt32 GetQuadraticFormControlRenderLimit()
sal_uInt16 GetStripeLength()
sal_uInt16 GetSelectionMaximumLuminancePercent()
bool IsSnapHorVerLinesToDiscrete()
sal_uInt32 GetMaximumPaperRightMargin()
bool IsPaintBuffer_Calc()