kpresenter

KPrEllipseObject Class Reference

Inheritance diagram for KPrEllipseObject:

KPr2DObject KPrShadowObject KPrObject List of all members.

Detailed Description

Definition at line 34 of file KPrEllipseObject.h.


Public Member Functions

 KPrEllipseObject ()
 KPrEllipseObject (const KoPen &_pen, const QBrush &_brush, FillType _fillType, const QColor &_gColor1, const QColor &_gColor2, BCType _gType, bool _unbalanced, int _xfactor, int _yfactor)
virtual ~KPrEllipseObject ()
virtual DCOPObject * dcopObject ()
KPrEllipseObjectoperator= (const KPrEllipseObject &)
virtual ObjType getType () const
virtual QString getTypeString () const
virtual KoSize getRealSize () const

Protected Member Functions

virtual const char * getOasisElementName () const
virtual bool saveOasisObjectAttributes (KPOasisSaveContext &sc) const
virtual void paint (QPainter *_painter, KoTextZoomHandler *_zoomHandler, int, bool drawingShadow, bool drawContour=FALSE)

Member Function Documentation

const char * KPrEllipseObject::getOasisElementName  )  const [protected, virtual]
 

Get the element name for saving the object.

Implements KPrObject.

Definition at line 124 of file KPrEllipseObject.cpp.

void KPrEllipseObject::paint QPainter *  _painter,
KoTextZoomHandler *  _zoomHandler,
int  ,
bool  drawingShadow,
bool  drawContour = FALSE
[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.
This method isn't pure virtual because some objects implement draw() directly.

Reimplemented from KPrShadowObject.

Definition at line 60 of file KPrEllipseObject.cpp.


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