~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to karbon/visitors/vdrawselection.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2006-04-20 21:38:53 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060420213853-j5lxluqvymxt2zny
Tags: 1:1.5.0-0ubuntu2
UbuntuĀ uploadĀ 

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
   You should have received a copy of the GNU Library General Public License
15
15
   along with this library; see the file COPYING.LIB.  If not, write to
16
 
   the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
 
   Boston, MA 02111-1307, USA.
 
16
   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
17
 * Boston, MA 02110-1301, USA.
18
18
*/
19
19
 
20
20
#ifndef __VDRAWSELECTION_H__
22
22
 
23
23
#include "vgroup.h"
24
24
#include "vvisitor.h"
25
 
 
 
25
#include <koffice_export.h>
26
26
/**
27
27
 *  Helper class to draw the outline of a composite path, including (?)
28
28
 *  optionally its bezier helper lines, depending on the state.
29
29
 */
30
 
class VDrawSelection : public VVisitor
 
30
class KARBONBASE_EXPORT VDrawSelection : public VVisitor
31
31
{
32
32
public:
33
 
        VDrawSelection( const VObjectList& selection, VPainter *painter, bool nodeediting = false )
34
 
                : m_selection( selection ), m_painter( painter ), m_nodeediting( nodeediting ) {}
 
33
        VDrawSelection( const VObjectList& selection, VPainter *painter, bool nodeediting = false, uint nodeSize = 2 )
 
34
                : m_selection( selection ), m_painter( painter ), m_nodeediting( nodeediting ), m_nodeSize( nodeSize ) {}
35
35
 
36
36
        virtual void visitVPath( VPath& composite );
37
37
 
39
39
        VObjectList             m_selection;
40
40
        VPainter                *m_painter;
41
41
        bool                    m_nodeediting;
 
42
        uint                    m_nodeSize;
42
43
};
43
44
 
44
45
#endif