Implement automatic scaling

This commit is contained in:
WandererFan
2016-08-05 14:12:47 -04:00
committed by wmayer
parent 498e37b39c
commit f20320d2b7
16 changed files with 198 additions and 78 deletions

View File

@@ -27,7 +27,6 @@
#ifndef _DrawViewAnnotation_h_
#define _DrawViewAnnotation_h_
#include <App/DocumentObject.h>
#include <App/PropertyLinks.h>
#include <App/PropertyStandard.h>
@@ -39,8 +38,6 @@ namespace TechDraw
{
/** Base class of all View Features in the drawing module
*/
class TechDrawExport DrawViewAnnotation : public TechDraw::DrawView
{
PROPERTY_HEADER(TechDraw::DrawViewAnnotation);
@@ -58,6 +55,8 @@ public:
App::PropertyEnumeration TextStyle; // Plain,Bold,Italic,Bold-Italic
App::PropertyFloat MaxWidth;
virtual QRectF getRect() const;
/** @name methods overide Feature */
//@{
/// recalculate the Feature