kpresenter
KPrPieObject Class Reference
Inheritance diagram for KPrPieObject:

Detailed Description
Definition at line 31 of file KPrPieObject.h.
Public Member Functions | |
KPrPieObject () | |
KPrPieObject (const KoPen &_pen, const QBrush &_brush, FillType _fillType, const QColor &_gColor1, const QColor &_gColor2, BCType _gType, PieType _pieType, int _p_angle, int _p_len, LineEnd _lineBegin, LineEnd _lineEnd, bool _unbalanced, int _xfactor, int _yfactor) | |
virtual | ~KPrPieObject () |
virtual DCOPObject * | dcopObject () |
KPrPieObject & | operator= (const KPrPieObject &) |
virtual void | setPieType (PieType _pieType) |
virtual void | setPieAngle (int _p_angle) |
virtual void | setPieLength (int _p_len) |
virtual void | setLineBegin (LineEnd _lineBegin) |
virtual void | setLineEnd (LineEnd _lineEnd) |
virtual ObjType | getType () const |
virtual QString | getTypeString () const |
virtual PieType | getPieType () const |
virtual int | getPieAngle () const |
virtual int | getPieLength () const |
virtual LineEnd | getLineBegin () const |
virtual LineEnd | getLineEnd () const |
virtual QDomDocumentFragment | save (QDomDocument &doc, double offset) |
virtual double | load (const QDomElement &element) |
virtual void | flip (bool horizontal) |
virtual void | loadOasis (const QDomElement &element, KoOasisContext &context, KPrLoadingInfo *info) |
virtual KoSize | getRealSize () const |
virtual KoPoint | getRealOrig () const |
Protected Member Functions | |
virtual const char * | getOasisElementName () const |
virtual bool | saveOasisObjectAttributes (KPOasisSaveContext &sc) const |
virtual void | fillStyle (KoGenStyle &styleObjectAuto, KoGenStyles &mainStyles) const |
virtual void | paint (QPainter *_painter, KoTextZoomHandler *_zoomHandler, int, bool drawingShadow, bool drawContour) |
void | setMinMax (double &min_x, double &min_y, double &max_x, double &max_y, KoPoint point) const |
void | getRealSizeAndOrig (KoSize &size, KoPoint &realOrig) const |
void | setEndPoints (KoPointArray &points) const |
Protected Attributes | |
PieType | pieType |
int | p_angle |
int | p_len |
Member Function Documentation
const char * KPrPieObject::getOasisElementName | ( | ) | const [protected, virtual] |
Get the element name for saving the object.
Implements KPrObject.
Definition at line 126 of file KPrPieObject.cpp.
void KPrPieObject::paint | ( | QPainter * | _painter, | |
KoTextZoomHandler * | _zoomHandler, | |||
int | , | |||
bool | drawingShadow, | |||
bool | drawContour | |||
) | [protected, virtual] |
This method is to be implemented by all KPShadowObjects, to draw themselves.
draw() took care of the shadow and of preparing painter
for rotation. paint() must take care of the gradient itself!
- Parameters:
-
drawingShadow true if called to draw the shadow of the object. Usually objects will want to draw a simpler version of themselves in that case.
Reimplemented from KPrShadowObject.
Definition at line 198 of file KPrPieObject.cpp.
The documentation for this class was generated from the following files: