.TH "QwtSimpleCompassRose" 3 "Mon Aug 1 2011" "Version 5.2.2" "Qwt User's Guide" \" -*- nroff -*- .ad l .nh .SH NAME QwtSimpleCompassRose \- .PP A simple rose for \fBQwtCompass\fP. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBQwtCompassRose\fP. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual void \fBdraw\fP (QPainter *, const QPoint ¢er, int radius, double north, QPalette::ColorGroup=QPalette::Active) const " .br .ti -1c .RI "int \fBnumThornLevels\fP () const " .br .ti -1c .RI "int \fBnumThorns\fP () const " .br .ti -1c .RI "const QPalette & \fBpalette\fP () const " .br .ti -1c .RI "\fBQwtSimpleCompassRose\fP (int numThorns=8, int numThornLevels=-1)" .br .ti -1c .RI "void \fBsetNumThornLevels\fP (int count)" .br .ti -1c .RI "void \fBsetNumThorns\fP (int count)" .br .ti -1c .RI "virtual void \fBsetPalette\fP (const QPalette &p)" .br .ti -1c .RI "void \fBsetShrinkFactor\fP (double factor)" .br .ti -1c .RI "void \fBsetWidth\fP (double w)" .br .ti -1c .RI "double \fBshrinkFactor\fP () const " .br .ti -1c .RI "double \fBwidth\fP () const " .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static void \fBdrawRose\fP (QPainter *, const QPalette &, const QPoint ¢er, int radius, double origin, double width, int numThorns, int numThornLevels, double shrinkFactor)" .br .in -1c .SH "Detailed Description" .PP A simple rose for \fBQwtCompass\fP. .SH "Constructor & Destructor Documentation" .PP .SS "QwtSimpleCompassRose::QwtSimpleCompassRose (intnumThorns = \fC8\fP, intnumThornLevels = \fC-1\fP)"Constructor .PP \fBParameters:\fP .RS 4 \fInumThorns\fP Number of thorns .br \fInumThornLevels\fP Number of thorn levels .RE .PP .SH "Member Function Documentation" .PP .SS "void QwtSimpleCompassRose::draw (QPainter *painter, const QPoint ¢er, intradius, doublenorth, QPalette::ColorGroupcg = \fCQPalette::Active\fP) const\fC [virtual]\fP"Draw the rose .PP \fBParameters:\fP .RS 4 \fIpainter\fP Painter .br \fIcenter\fP Center point .br \fIradius\fP Radius of the rose .br \fInorth\fP Position .br \fIcg\fP Color group .RE .PP .PP Implements \fBQwtCompassRose\fP. .SS "void QwtSimpleCompassRose::drawRose (QPainter *painter, const QPalette &palette, const QPoint ¢er, intradius, doublenorth, doublewidth, intnumThorns, intnumThornLevels, doubleshrinkFactor)\fC [static]\fP"Draw the rose .PP \fBParameters:\fP .RS 4 \fIpainter\fP Painter .br \fIpalette\fP Palette .br \fIcenter\fP Center of the rose .br \fIradius\fP Radius of the rose .br \fInorth\fP Position pointing to north .br \fIwidth\fP Width of the rose .br \fInumThorns\fP Number of thorns .br \fInumThornLevels\fP Number of thorn levels .br \fIshrinkFactor\fP Factor to shrink the thorns with each level .RE .PP .SS "int QwtSimpleCompassRose::numThornLevels () const"\fBReturns:\fP .RS 4 Number of thorn levels .RE .PP \fBSee also:\fP .RS 4 \fBsetNumThorns()\fP, \fBsetNumThornLevels()\fP .RE .PP .SS "int QwtSimpleCompassRose::numThorns () const"\fBReturns:\fP .RS 4 Number of thorns .RE .PP \fBSee also:\fP .RS 4 \fBsetNumThorns()\fP, \fBsetNumThornLevels()\fP .RE .PP .SS "const QPalette& QwtCompassRose::palette () const\fC [inline, inherited]\fP"\fBReturns:\fP .RS 4 Current palette .RE .PP .SS "void QwtSimpleCompassRose::setNumThornLevels (intnumThornLevels)"Set the of thorns levels .PP \fBParameters:\fP .RS 4 \fInumThornLevels\fP Number of thorns levels .RE .PP \fBSee also:\fP .RS 4 \fBsetNumThorns()\fP, \fBnumThornLevels()\fP .RE .PP .SS "void QwtSimpleCompassRose::setNumThorns (intnumThorns)"Set the number of thorns on one level The number is aligned to a multiple of 4, with a minimum of 4 .PP \fBParameters:\fP .RS 4 \fInumThorns\fP Number of thorns .RE .PP \fBSee also:\fP .RS 4 \fBnumThorns()\fP, \fBsetNumThornLevels()\fP .RE .PP .SS "virtual void QwtCompassRose::setPalette (const QPalette &p)\fC [inline, virtual, inherited]\fP" .PP Assign a palette. .SS "void QwtSimpleCompassRose::setWidth (doublewidth)"Set the width of the rose heads. Lower value make thinner heads. The range is limited from 0.03 to 0.4. .PP \fBParameters:\fP .RS 4 \fIwidth\fP Width .RE .PP .SS "double QwtSimpleCompassRose::width () const\fC [inline]\fP"\fBSee also:\fP .RS 4 \fBsetWidth()\fP .RE .PP .SH "Author" .PP Generated automatically by Doxygen for Qwt User's Guide from the source code.