1#ifndef IV_SRC_MIMICS_TEXT_HPP_
2#define IV_SRC_MIMICS_TEXT_HPP_
26 std::optional<iv::types::color> colorControlState,
iv::eLanguage drawingLanguage)
override;
48 [[nodiscard]]
virtual std::set<std::string>
prvGetTexts()
const = 0;
52 double lengthText)
const;
59 static constexpr std::string_view
anchorPoint {
"AnchorPoint"};
60 static constexpr std::string_view
textColor {
"Color"};
65 static constexpr std::string_view
lengthLine {
"UnderlineLength"};
66 static constexpr std::string_view
lineWidth {
"UnderlineWidth"};
70 static constexpr std::string
string {};
Definition AbstractComponentGUI.hpp:30
Definition IGraphics.hpp:20
Definition xmlFile.hpp:15
Definition AbstractMimicElement.hpp:21
virtual std::string prvGetText(iv::eLanguage activeLanguage) const =0
std::unique_ptr< CDrawText > m_drawText
Definition Text.hpp:54
bool m_hasUnderline
Definition Text.hpp:36
iv::mimics::elements::eTextAnchorPoint m_anchorPoint
Definition Text.hpp:34
iv::math::geometry::Point2d getCenter() const
Definition Text.cpp:83
iv::types::color m_underlineColor
Definition Text.hpp:37
AbstractComponentGUI * prvPanelEditUnderline()
Definition Text.cpp:243
void drawSpecific(IGraphics *graphics, std::optional< iv::types::color > colorWorkingState, std::optional< iv::types::color > colorControlState, iv::eLanguage drawingLanguage) override
Draws the specific abstract element shape.
Definition Text.cpp:104
iv::types::color m_textColor
Definition Text.hpp:32
AbstractComponentGUI * panelEditControl() override
UI methods ///.
Definition Text.cpp:225
bool load(const iv::file::xml::node &nodeControlMimic) override
Definition Text.cpp:41
iv::types::length m_underlineLength
Definition Text.hpp:38
bool save(iv::file::xml::node &nodeControlMimic) const override
Definition Text.cpp:62
std::unique_ptr< CRectangleGraphics > m_rectangleOpt
Definition Text.hpp:55
iv::types::width m_underlineWidth
Definition Text.hpp:39
void executeCommand(const std::string &strAction) const override
Run actions ///.
Definition Text.cpp:79
iv::math::geometry::Point2d prvPosInitialLine(double xOrg, double yOrg, double lengthLine, double lengthText) const
Definition Text.cpp:286
virtual std::set< std::string > prvGetTexts() const =0
constexpr iv::types::color White
Definition color.hpp:222
constexpr iv::types::color Red
Definition color.hpp:179
eTextAnchorPoint
Definition enums.hpp:106
Definition GeneratorPmsBuilders.cpp:9
eMimicElementType
Definition enums.hpp:8
double length
Definition types.hpp:15
double width
Definition types.hpp:23
uint32_t color
Definition types.hpp:12
eLanguage
Definition enums.hpp:37
Definition structs.hpp:16
static constexpr iv::types::length lengthLine
Definition Text.hpp:75
static constexpr iv::types::color underlineColor
Definition Text.hpp:74
static constexpr iv::types::color textColor
Definition Text.hpp:72
static constexpr iv::types::width lineWidth
Definition Text.hpp:76
static constexpr bool hasUnderline
Definition Text.hpp:73
static constexpr auto anchorPoint
Definition Text.hpp:71
static constexpr std::string_view underlineColor
Definition Text.hpp:64
static constexpr std::string_view lineWidth
Definition Text.hpp:66
static constexpr std::string_view hasUnderline
Definition Text.hpp:63
static constexpr std::string_view textColor
Definition Text.hpp:60
static constexpr std::string_view lengthLine
Definition Text.hpp:65
static constexpr std::string_view backgroundColor
Definition Text.hpp:62
static constexpr std::string_view hasBackground
Definition Text.hpp:61
static constexpr std::string_view anchorPoint
Definition Text.hpp:59
static constexpr std::string_view textAttributes
Definition Text.hpp:80