Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CanvasRoundedRectangle Class Reference

A descendent of QCanvasPolygon for rectangles with rounded corners. More...

#include <canvasshapes.h>

List of all members.

Public Methods

 CanvasRoundedRectangle (int x, int y, int w, int h, int rad, QCanvas *canvas)
 Constructor.

 ~CanvasRoundedRectangle ()
 Deconstructor.

int rtti () const
 Runtime typing value.

QPointArray outlinePoints ()
 Gets internal outline points array.


Private Attributes

QPointArray outlinepoints
 Array of outline points.


Detailed Description

Author:
Ryan Rusaw

Definition at line 24 of file canvasshapes.h.


Constructor & Destructor Documentation

CanvasRoundedRectangle::CanvasRoundedRectangle int    x,
int    y,
int    w,
int    h,
int    rad,
QCanvas *    canvas
 

Parameters:
x  x value of top left corner of bounding rectangle on canvas.
y  y value of top left corner of bounding rectangle on canvas.
w  width of bounding rectangle
h  height of bounding rectangle
rad  radius of rounded corners
canvas  canvas containing for item

CanvasRoundedRectangle::~CanvasRoundedRectangle   [inline]
 

Definition at line 40 of file canvasshapes.h.

00040 { this->hide(); };


Member Function Documentation

QPointArray CanvasRoundedRectangle::outlinePoints   [inline]
 

Returns:
outlinepoints

Definition at line 50 of file canvasshapes.h.

References outlinepoints.

00050 { return outlinepoints; };

int CanvasRoundedRectangle::rtti  
 

Returns:
Runtime typing value


Member Data Documentation

QPointArray CanvasRoundedRectangle::outlinepoints [private]
 

Definition at line 55 of file canvasshapes.h.

Referenced by outlinePoints().


The documentation for this class was generated from the following file:
Generated on Sun Feb 2 21:28:29 2003 for PoqetPresenter by doxygen1.2.18