karbon
vclipgroup.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __VCLIP_H__
00021 #define __VCLIP_H__
00022
00023 #include "vgroup.h"
00024 #include "vvisitor.h"
00025 #include <koffice_export.h>
00026 class VPainter;
00027
00033 class KARBONBASE_EXPORT VClipGroup : public VGroup
00034 {
00035 public:
00036 VClipGroup( VObject* parent, VState state = normal );
00037 VClipGroup ( const VClipGroup& group );
00038
00039 virtual ~VClipGroup();
00040
00041 virtual void draw( VPainter* painter, const KoRect* rect = 0L ) const;
00042
00043 virtual VClipGroup* clone() const;
00044
00045 virtual void save( QDomElement& element ) const;
00046 virtual void load( const QDomElement& element );
00047 };
00048
00049
00050 class PathRenderer : public VVisitor
00051 {
00052 public:
00053 PathRenderer( VPainter *p_painter );
00054
00055 virtual ~PathRenderer();
00056
00057 protected:
00058 virtual void visitVSubpath( VSubpath& path );
00059
00060 private:
00061 VPainter *m_painter;
00062 };
00063
00064 #endif
|