20#ifndef __VSELECTOBJECTS_H__
21#define __VSELECTOBJECTS_H__
26#include "vcomposite.h"
42 : m_selection( selection ), m_select( select ), m_rectMode( true ), m_insideGroups( false ) {}
44 VSelectObjects( VObjectList& selection, const KoRect& rect, bool select = true )
45 : m_selection( selection ), m_select( select ), m_rect( rect ), m_rectMode( true ), m_insideGroups( false ) { }
47 VSelectObjects( VObjectList& selection, const KoPoint& point, bool select = true, bool insideGroups = false )
48 : m_selection( selection ), m_select( select ), m_point( point ), m_rectMode( false ), m_insideGroups( insideGroups ) {}
54 { visitVObject( img ); }
58 void visitVObject( VObject& object );
60 VObjectList& m_selection;
Base class for all sort of VObject conglomerats.
VLayer manages a set of vobjects.
The base class for all karbon objects.
A composite path consists of one or many subpaths.
This visitor visits a selection and selects objects that are contained in a paramater selection recta...
virtual void visitVGroup(VGroup &group) Visit method for a VGroup.
virtual void visitVLayer(VLayer &layer) Visit method for a VLayer.
virtual void visitVImage(VImage &img) Visit method for a VImage.
virtual void visitVPath(VPath &composite) Visit method for a VPath.
virtual void visitVText(VText &text) Visit method for a VText.
The abstract visitor class.
|