karbon
vdrawselection.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __VDRAWSELECTION_H__
00021 #define __VDRAWSELECTION_H__
00022
00023 #include "vgroup.h"
00024 #include "vvisitor.h"
00025 #include <koffice_export.h>
00030 class KARBONBASE_EXPORT VDrawSelection : public VVisitor
00031 {
00032 public:
00033 VDrawSelection( const VObjectList& selection, VPainter *painter, bool nodeediting = false, uint nodeSize = 2 )
00034 : m_selection( selection ), m_painter( painter ), m_nodeediting( nodeediting ), m_nodeSize( nodeSize ) {}
00035
00036 virtual void visitVPath( VPath& composite );
00037
00038 private:
00039 VObjectList m_selection;
00040 VPainter *m_painter;
00041 bool m_nodeediting;
00042 uint m_nodeSize;
00043 };
00044
00045 #endif
00046
|