54 lines
1.2 KiB
C++
Executable File
54 lines
1.2 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Interface of Text
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "abstract_single_point_map_object.h"
|
|
|
|
//----------------------------------------------------------------------------
|
|
namespace SituationMap
|
|
{
|
|
|
|
/**
|
|
* @brief The Polyline class supports polylines.
|
|
*/
|
|
class Text : public virtual AbstractSinglePointMapObject
|
|
{
|
|
|
|
using BaseClass = AbstractSinglePointMapObject;
|
|
|
|
public:
|
|
|
|
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
* Don't use "= default" because of bug in VS2015 JT 2016/11/7
|
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
Text() : BaseClass() {;} ///< Contructor
|
|
|
|
virtual ~Text() = default; ///< Destructor
|
|
|
|
/**
|
|
* @brief Set flag 'showAnchorMarker' to switch on additional anchor marker graphic
|
|
* @return value of flag 'showAnchorPosition'
|
|
*
|
|
* If 'showAnchorMarker' is switched on, some additional graphic is drawn to visualize anchor points of text lines. Per default 'showAnchorMarker' is switched off.
|
|
*/
|
|
virtual void setShowAnchorMarker(bool on) = 0;
|
|
|
|
/**
|
|
* @brief Get flag 'showAnchorPosition'
|
|
* @return value of flag 'showAnchorMarker'
|
|
*/
|
|
virtual bool showAnchorMarker() const = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace SituationMap
|