24 , m_pColorFn( pColorFn )
35 std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor(
40 double nHalfWidth = double(aRect.
Top() + aRect.
Bottom()) / 2.0;
53 std::vector<double> aStrokePattern;
64 double nLuminance = aHslLine.
getZ();
65 nLuminance += (1.0 - nLuminance) * 0.75;
66 if (aHslLine.
getZ() > 0.7)
67 nLuminance = aHslLine.
getZ() * 0.7;
68 aHslLine.
setZ(nLuminance);
75 aStrokePattern.push_back(3);
76 aStrokePattern.push_back(3);
88 pProcessor->process(
aSeq);
const StyleSettings & GetStyleSettings() const
static const AllSettings & GetSettings()
basegfx::BColor getBColor() const
SAL_WARN_UNUSED_RESULT Point PixelToLogic(const Point &rDevicePt) const
const Color & GetDialogTextColor() const
bool GetHighContrastMode() const
const Color &(SwViewOption::* m_pColorFn)() const
SwDashedLine(vcl::Window *pParent, const Color &(SwViewOption::*pColorFn)() const)
virtual ~SwDashedLine() override
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
static const SwViewOption & GetCurrentViewOptions()
void append(const basegfx::B2DPoint &rPoint, sal_uInt32 nCount)
virtual Size GetSizePixel() const
Sequence< sal_Int8 > aSeq
BColor rgb2hsl(const BColor &rRGBColor)
BColor hsl2rgb(const BColor &rHSLColor)
std::unique_ptr< BaseProcessor2D > createProcessor2DFromOutputDevice(OutputDevice &rTargetOutDev, const drawinglayer::geometry::ViewInformation2D &rViewInformation2D)
WinBits const WB_DIALOGCONTROL