karbon
VShadowDecorator Class Reference
Inheritance diagram for VShadowDecorator:

Detailed Description
Definition at line 29 of file vshadowdecorator.h.
Public Member Functions | |
VShadowDecorator (VObject *object, VObject *parent, int distance=2, int angle=0, float opacity=1.0) | |
VShadowDecorator (const VShadowDecorator &obj) | |
virtual | ~VShadowDecorator () |
virtual void | draw (VPainter *, const KoRect *=0L) const |
virtual const KoRect & | boundingBox () const |
VStroke * | stroke () const |
virtual void | setStroke (const VStroke &stroke) |
VFill * | fill () const |
virtual void | setFill (const VFill &fill) |
virtual void | accept (VVisitor &) |
virtual void | save (QDomElement &) const |
virtual void | load (const QDomElement &) |
virtual VObject * | clone () const |
VState | state () const |
virtual void | setState (const VState state) |
void | setShadow (int distance=2, int angle=0, float opacity=1.0) |
Protected Attributes | |
VObject * | m_object |
int | m_distance |
int | m_angle |
float | m_opacity |
Member Function Documentation
|
Accept a VVisitor.
Reimplemented from VObject. Definition at line 89 of file vshadowdecorator.cc. |
|
Calculates the tightest bounding box around the object.
Reimplemented from VObject. Definition at line 39 of file vshadowdecorator.h. |
|
Create an exact copy of this object.
Implements VObject. Definition at line 83 of file vshadowdecorator.cc. |
|
Draw the object to a painting device.
Reimplemented from VObject. Definition at line 48 of file vshadowdecorator.cc. |
|
Gets the object's actual fill.
Reimplemented from VObject. Definition at line 42 of file vshadowdecorator.h. |
|
Load this object's state from xml and initialize this object accordingly.
Reimplemented from VObject. Definition at line 48 of file vshadowdecorator.h. |
|
Save this object's state to xml.
Reimplemented from VObject. Definition at line 125 of file vshadowdecorator.cc. |
|
Sets the fill to a given new fill.
Reimplemented from VObject. Definition at line 112 of file vshadowdecorator.cc. |
|
Sets the state to a specified new state. Note that this will not have any visual effect until draw() is called on this object.
Reimplemented from VObject. Definition at line 118 of file vshadowdecorator.cc. |
|
Sets the stroke to a given new stroke.
Reimplemented from VObject. Definition at line 106 of file vshadowdecorator.cc. |
|
Get the state the object is in.
Reimplemented from VObject. Definition at line 52 of file vshadowdecorator.h. |
|
Gets the object's actual stroke.
Reimplemented from VObject. Definition at line 40 of file vshadowdecorator.h. |
The documentation for this class was generated from the following files: