ACF $AcfVersion:0$
ITextLabelParams.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 <QtCore/QString>
7
8// ACF includes
9#include <istd/IChangeable.h>
10#include <istd/CIndex2d.h>
11
12
13namespace iview
14{
15
16
21{
22public:
36
40 virtual TextAlign GetTextAlign() const = 0;
41
45 virtual void SetTextAlign(TextAlign align) = 0;
46
50 virtual const istd::CIndex2d& GetDrawOffset() const = 0;
51
55 virtual void SetDrawOffset(const istd::CIndex2d& offset) = 0;
56};
57
58
59} // namespace iview
60
61
62
63
Index implementation for addressing elements in 2D-space.
Definition CIndex2d.h:21
Common interface for data model objects, which can be changed.
Definition IChangeable.h:28
Interface for text label drawing parameters.
virtual const istd::CIndex2d & GetDrawOffset() const =0
Get the drawing offset for the label.
virtual TextAlign GetTextAlign() const =0
Get text alignment modein label shape.
TextAlign
Text alignment mode.
virtual void SetTextAlign(TextAlign align)=0
Set text alignment mode.
virtual void SetDrawOffset(const istd::CIndex2d &offset)=0
Set the drawing offset for the label.
In this library is defined 2D view concept and standard visualisation objects.