karbon

VDrawSelection Class Reference

#include <vdrawselection.h>

Inheritance diagram for VDrawSelection:
VVisitor

Public Member Functions

 VDrawSelection (const VObjectList &selection, VPainter *painter, bool nodeediting=false, uint nodeSize=2)
virtual void visitVPath (VPath &composite)
Public Member Functions inherited from VVisitor
 VVisitor ()
virtual bool visit (VObject &object)
virtual void visitVObject (VObject &object)
virtual void visitVDocument (VDocument &document)
virtual void visitVGroup (VGroup &group)
virtual void visitVLayer (VLayer &layer)
virtual void visitVSubpath (VSubpath &path)
virtual void visitVSelection (VSelection &selection)
virtual void visitVText (VText &text)
virtual void visitVImage (VImage &img)
bool success () const

Additional Inherited Members

Protected Member Functions inherited from VVisitor
virtual ~VVisitor ()
void setSuccess (bool success=true)

Detailed Description

Helper class to draw the outline of a composite path, including (?) optionally its bezier helper lines, depending on the state.

Definition at line 30 of file vdrawselection.h.

Constructor & Destructor Documentation

◆ VDrawSelection()

VDrawSelection::VDrawSelection ( const VObjectList & selection,
VPainter * painter,
bool nodeediting = false,
uint nodeSize = 2 )
inline

Definition at line 33 of file vdrawselection.h.

Member Function Documentation

◆ visitVPath()

void VDrawSelection::visitVPath ( VPath & composite)
virtual

Visit method for a VPath.

Pass a composite path to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.

Reimplemented from VVisitor.

Definition at line 30 of file vdrawselection.cpp.


The documentation for this class was generated from the following files: