VR-Forces 4.0.4 Class Documentation
include/symbolMapper/ttfSymbolDesc.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2000 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: ttfSymbolDesc.h,v $ $Revision: 1.12 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef TTFSYMBOLDESC_H
00013 #define TTFSYMBOLDESC_H
00014 
00015 #include "symbolMapper/symbolDesc.h"
00016 
00017 class DtSymbol;
00018 
00021 #include "symbolMapper/symbolMapperDefines.h"
00022 class DT_DLL_symbolMapper DtTtfSymbolDescriptor : public DtSymbolDescriptor
00023 {
00024 public:
00025 
00027    DtTtfSymbolDescriptor();
00028 
00030    virtual ~DtTtfSymbolDescriptor();
00031 
00033    DtTtfSymbolDescriptor(const DtTtfSymbolDescriptor& orig);
00034 
00036    virtual DtSymbolDescriptor& operator=(const DtSymbolDescriptor& rhs);
00037    virtual bool operator==(const DtSymbolDescriptor&) const;
00038 
00039    virtual QString type() const;
00040 
00041    virtual QString info() const;
00042 
00043    virtual DtSymbol* createSymbol(DtSymbolDrawer& drawer, const DtEntityMapperKey& key) const;
00044 
00045    virtual const QString& fontname() const;
00046    virtual void setFontname(const QString& s);
00047 
00048    virtual const QString& value() const;
00049    virtual void setValue(const QString& s);
00050 
00051    virtual QString secondaryInfo() const;
00052 
00055    virtual void setFontScalingFactor(double scale);
00056    virtual double fontScalingFactor() const;
00057 
00058    virtual DtSymbolDescriptor* clone();
00059 
00060    virtual QString descriptorInformation() const;
00061 
00062 protected:
00063    QString myFontname;
00064    QString myValue;
00065    double  myFontScalingFactor;
00066 };
00067 
00068 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)