65 lines
1.6 KiB
Objective-C
Executable File
65 lines
1.6 KiB
Objective-C
Executable File
/**
|
|
**
|
|
** @RDE_HEADER@
|
|
** Definition of rubberband class to define scaling transformation
|
|
** $Id$
|
|
** $HeadURL$
|
|
** $Author$
|
|
**
|
|
** -----------------------------------------------------------------------------------------------
|
|
**
|
|
** Hardware-Environment: Intel-PC
|
|
** Software-Environment: Windows 7, Qt 5.4. ArcGIS 10.2.5
|
|
**
|
|
** Language ........: C++ 11
|
|
**
|
|
** -----------------------------------------------------------------------------------------------
|
|
**
|
|
** Author ...........: Jörg Turla, SPD G, Tel. 3132
|
|
**
|
|
** -----------------------------------------------------------------------------------------------
|
|
**
|
|
** Notes .........:
|
|
**
|
|
** 07.04.2016, JT : First edition for use with Qt5
|
|
**
|
|
** -----------------------------------------------------------------------------------------------
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "rubberband_transform.h"
|
|
|
|
|
|
namespace SituationMap { namespace RB
|
|
{
|
|
|
|
/**
|
|
@class RubberbandTransformScale rubberband_transform_scale.h
|
|
@brief Implementation of a rubberband to scale features
|
|
@see Rubberband
|
|
*/
|
|
class SITUATIONMAP_EXPORT RubberbandTransformScale : public RubberbandTransform
|
|
{
|
|
Q_OBJECT
|
|
|
|
friend class RubberbandFactory;
|
|
|
|
/**
|
|
@name Construction & Destruction
|
|
@}
|
|
*/
|
|
|
|
explicit RubberbandTransformScale( SituationMap::Map * map, QObject * parent = nullptr );
|
|
|
|
public:
|
|
/** @} */
|
|
|
|
|
|
qreal scaleX() const; /**< Returns scaling factor in x direction */
|
|
qreal scaleY() const; /**< Returns scaling factor in y direction */
|
|
|
|
}; /* RubberbandTransformRotate */
|
|
|
|
} } /* namespace SituationMap::RB */
|