ACF
$AcfVersion:0$
Acf
Include
iview
CStarShape.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2
#pragma once
3
4
5
// Qt includes
6
#include <QtGui/QPainter>
7
8
// ACF includes
9
#include <
i2d/CPosition2d.h
>
10
#include <
iview/CInteractiveShapeBase.h
>
11
#include <
iview/CPinShape.h
>
12
13
14
namespace
iview
15
{
16
17
18
class
CStarShape
:
public
CPinShape
19
{
20
public
:
21
typedef
CPinShape
BaseClass
;
22
typedef
CInteractiveShapeBase
ShapeBaseClass
;
23
24
// reimplemented (iview::IVisualizable)
25
virtual
void
Draw
(QPainter& drawContext)
const override
;
26
27
protected
:
28
// reimplemented (iview::CShapeBase)
29
virtual
i2d::CRect
CalcBoundingBox
()
const override
;
30
};
31
32
33
}
// namespace iview
34
35
36
CInteractiveShapeBase.h
CPinShape.h
CPosition2d.h
i2d::CRect
Simple rectangle with integer bounds.
Definition
CRect.h:22
iview::CInteractiveShapeBase
Definition
CInteractiveShapeBase.h:26
iview::CPinShape
Definition
CPinShape.h:16
iview::CStarShape
Definition
CStarShape.h:19
iview::CStarShape::CalcBoundingBox
virtual i2d::CRect CalcBoundingBox() const override
Calculate bounding box.
iview::CStarShape::ShapeBaseClass
CInteractiveShapeBase ShapeBaseClass
Definition
CStarShape.h:22
iview::CStarShape::BaseClass
CPinShape BaseClass
Definition
CStarShape.h:21
iview::CStarShape::Draw
virtual void Draw(QPainter &drawContext) const override
Draw this shape using draw context.
iview
In this library is defined 2D view concept and standard visualisation objects.
Definition
IViewProvider.h:12
Generated by
1.9.8