Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / svx / inc / sdr / overlay / overlayhandle.hxx
blobd6f50d8ae22fe650561125176189f260cd5be689
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 */
11 #ifndef INCLUDED_SVX_SDR_OVERLAY_OVERLAYHANDLE_HXX
12 #define INCLUDED_SVX_SDR_OVERLAY_OVERLAYHANDLE_HXX
14 #include <svx/sdr/overlay/overlayobject.hxx>
15 #include <basegfx/vector/b2dsize.hxx>
17 namespace sdr { namespace overlay {
20 class SVX_DLLPUBLIC OverlayHandle final : public OverlayObjectWithBasePosition
22 basegfx::B2DSize const maSize;
23 Color const maStrokeColor;
25 // geometry creation for OverlayObject
26 virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence() override;
28 public:
29 OverlayHandle(const basegfx::B2DPoint& rBasePos,
30 const basegfx::B2DSize& rSize,
31 Color const & rStrokeColor,
32 Color const & rFillColor);
34 virtual ~OverlayHandle() override;
37 }} // end of namespace sdr::overlay
39 #endif // INCLUDED_SVX_SDR_OVERLAY_OVERLAYHANDLE_HXX
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */