VR-Forces 4.0.4 Class Documentation
include/symbology/compositeLabelSymbol.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2004 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: compositeLabelSymbol.h,v $ $Revision: 1.7 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtCompositeLabelSymbol_H_
00013 #define DtCompositeLabelSymbol_H_
00014 
00015 #include "symbology/compositeSymbol.h"
00016 
00017 #include "symbology/symbologyDefines.h"
00018 class DT_DLL_symbology DtCompositeLabelSymbol : public DtCompositeSymbol
00019 {
00020 public:
00021 
00023    DtCompositeLabelSymbol( DtSymbolDrawer & drawer);
00024    DtCompositeLabelSymbol(const DtCompositeLabelSymbol& orig);
00025    DtCompositeLabelSymbol& operator=(const DtCompositeLabelSymbol& orig);
00026    virtual ~DtCompositeLabelSymbol();
00027 
00028    virtual DtSymbol * clone()const;
00029 
00030    virtual int resetLabelPositions(const DtCompositeSymbol* parent,
00031       const QSize& bbox, int labelPositions, const QPoint& lastLabelPosition);
00032 
00033    virtual void addSymbol(DtSymbol* symbol, bool isALabel = false);
00034 
00035    void setOffsetFromBottom(bool);
00036    bool offsetFromBottom() const;
00037 
00038 private:
00040    DtCompositeLabelSymbol();
00041 
00042 protected:
00043    bool  myOffsetFromBottom;
00044 };
00045 
00046 inline void DtCompositeLabelSymbol::setOffsetFromBottom(bool b)
00047 {
00048    myOffsetFromBottom = b;
00049 }
00050 
00051 inline bool DtCompositeLabelSymbol::offsetFromBottom() const
00052 {
00053    return myOffsetFromBottom;
00054 }
00055 
00056 #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)