karbon

VComputeBoundingBox Class Reference

#include <vcomputeboundingbox.h>

Inheritance diagram for VComputeBoundingBox:

VVisitor List of all members.

Detailed Description

This visitor visits objects and calculates the combined bounding box of the objects and their child objects.

Definition at line 37 of file vcomputeboundingbox.h.


Public Member Functions

 VComputeBoundingBox (bool omitHidden=false)
virtual void visitVDocument (VDocument &document)
virtual void visitVLayer (VLayer &layer)
virtual void visitVGroup (VGroup &group)
virtual void visitVPath (VPath &composite)
virtual void visitVText (VText &text)
virtual void visitVImage (VImage &img)
const KoRect & boundingRect () const

Member Function Documentation

void VComputeBoundingBox::visitVDocument ( VDocument document  )  [virtual]

Visit method for a VDocument.

Pass a document 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 35 of file vcomputeboundingbox.cc.

void VComputeBoundingBox::visitVLayer ( VLayer layer  )  [virtual]

Visit method for a VLayer.

Pass a layer 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 51 of file vcomputeboundingbox.cc.

void VComputeBoundingBox::visitVGroup ( VGroup group  )  [virtual]

Visit method for a VGroup.

Pass a group of objects 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 67 of file vcomputeboundingbox.cc.

void VComputeBoundingBox::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 83 of file vcomputeboundingbox.cc.

void VComputeBoundingBox::visitVText ( VText text  )  [virtual]

Visit method for a VText.

Pass some text 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 89 of file vcomputeboundingbox.cc.

void VComputeBoundingBox::visitVImage ( VImage img  )  [virtual]

Visit method for a VImage.

Pass an image 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 95 of file vcomputeboundingbox.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys