32#define TRANSCOL COL_WHITE
36 , aWorkRect(0, 0, 0, 0)
38 , bWorkplaceMode(false)
46 const sal_uInt16 nPolyCount = rPolyPoly.
Count();
53 pView->UnmarkAllObj();
58 for (sal_uInt16
i = 0;
i < nPolyCount;
i++)
65 std::move(aPolyPolygon));
73 pPathObj->SetMergedItemSetAndBroadcast(aSet);
81 pView->CombineMarkedObjects(
false);
104 pModel->SetChanged(
false );
118 pView->SetAttributes( aSet );
119 pView->SetFrameDragSingles();
125 pView->CombineMarkedObjects(
false );
214 pView->SetWorkArea( aGraphRect );
242 if (rGraphic.
GetType() != GraphicType::NONE)
252 rTarget.DrawTransparent(_aPolyPoly, 50);
258 pView->DoCompleteRedraw(*pPaintWindow, aRepaintRegion);
259 pView->EndCompleteRedraw(*pPaintWindow,
true);
tools::PolyPolygon aPolyPoly
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
bool IsContourChanged() const
void SetPolyPolygon(const tools::PolyPolygon &rPolyPoly)
const tools::PolyPolygon & GetPolyPolygon()
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
Link< ContourWindow &, void > aPipetteClickLink
virtual bool MouseMove(const MouseEvent &rMEvt) override
virtual void SdrObjCreated(const SdrObject &rObj) override
virtual void InitSdrModel() override
Link< ContourWindow &, void > aPipetteLink
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
tools::Rectangle aWorkRect
virtual bool MouseButtonUp(const MouseEvent &rMEvt) override
ContourWindow(weld::Dialog *pDialog)
Link< ContourWindow &, void > aWorkplaceClickLink
virtual bool MouseButtonUp(const MouseEvent &rMEvt) override
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
std::unique_ptr< SdrView > pView
std::unique_ptr< SdrModel > pModel
void SetEditMode(const bool bEditMode)
const Graphic & GetGraphic() const
virtual bool MouseMove(const MouseEvent &rMEvt) override
virtual void InitSdrModel()
const Size & GetGraphicSize() const
GraphicType GetType() const
void Draw(OutputDevice &rOutDev, const Point &rDestPt) const
const Point & GetPosPixel() const
SAL_WARN_UNUSED_RESULT Point LogicToPixel(const Point &rLogicPt) const
Color GetPixel(const Point &rPt) const
constexpr tools::Long Y() const
constexpr tools::Long X() const
virtual void InsertObject(SdrObject *pObj, size_t nPos=SAL_MAX_SIZE)
SdrObject * GetObj(size_t nNum) const
size_t GetObjCount() const
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
OutputDevice & GetTargetOutputDevice()
void SetOutputToWindow(bool bOutputToWindow)
const basegfx::B2DPolyPolygon & GetPathPoly() const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
constexpr tools::Long Height() const
constexpr tools::Long Width() const
void append(const B2DPolygon &rPolygon, sal_uInt32 nCount=1)
virtual OutputDevice & get_ref_device()=0
constexpr ::Color COL_LIGHTRED(0xFF, 0x00, 0x00)
constexpr ::Color COL_WHITE(0xFF, 0xFF, 0xFF)
constexpr ::Color COL_BLACK(0x00, 0x00, 0x00)
B2DPolygon adaptiveSubdivideByAngle(const B2DPolygon &rCandidate, double fAngleBound)
@ PathFill
open Bezier-curve