.TH "QwtSimpleCompassRose" 3 "Sun Jul 18 2021" "Version 6.2.0" "Qwt User's Guide" \" -*- nroff -*- .ad l .nh .SH NAME QwtSimpleCompassRose \- 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 "\fBQwtSimpleCompassRose\fP (int \fBnumThorns\fP=8, int \fBnumThornLevels\fP=\-1)" .br .ti -1c .RI "virtual \fB~QwtSimpleCompassRose\fP ()" .br .RI "Destructor\&. " .ti -1c .RI "void \fBsetWidth\fP (double)" .br .ti -1c .RI "double \fBwidth\fP () const" .br .ti -1c .RI "void \fBsetNumThorns\fP (int)" .br .ti -1c .RI "int \fBnumThorns\fP () const" .br .ti -1c .RI "void \fBsetNumThornLevels\fP (int)" .br .ti -1c .RI "int \fBnumThornLevels\fP () const" .br .ti -1c .RI "void \fBsetShrinkFactor\fP (double factor)" .br .ti -1c .RI "double \fBshrinkFactor\fP () const" .br .ti -1c .RI "virtual void \fBdraw\fP (QPainter *, const QPointF ¢er, double radius, double north, QPalette::ColorGroup=QPalette::Active) const override" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static void \fBdrawRose\fP (QPainter *, const QPalette &, const QPointF ¢er, double radius, double north, double \fBwidth\fP, int \fBnumThorns\fP, int \fBnumThornLevels\fP, double \fBshrinkFactor\fP)" .br .in -1c .SH "Detailed Description" .PP A simple rose for \fBQwtCompass\fP\&. .PP Definition at line 52 of file qwt_compass_rose\&.h\&. .SH "Constructor & Destructor Documentation" .PP .SS "QwtSimpleCompassRose::QwtSimpleCompassRose (int numThorns = \fC8\fP, int numThornLevels = \fC\-1\fP)" Constructor .PP \fBParameters\fP .RS 4 \fInumThorns\fP Number of thorns .br \fInumThornLevels\fP Number of thorn levels .RE .PP .PP Definition at line 78 of file qwt_compass_rose\&.cpp\&. .SH "Member Function Documentation" .PP .SS "void QwtSimpleCompassRose::draw (QPainter * painter, const QPointF & center, double radius, double north, QPalette::ColorGroup cg = \fCQPalette::Active\fP) const\fC [override]\fP, \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\&. .PP Definition at line 131 of file qwt_compass_rose\&.cpp\&. .SS "void QwtSimpleCompassRose::drawRose (QPainter * painter, const QPalette & palette, const QPointF & center, double radius, double north, double width, int numThorns, int numThornLevels, double shrinkFactor)\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 .PP Definition at line 154 of file qwt_compass_rose\&.cpp\&. .SS "int QwtSimpleCompassRose::numThornLevels () const" .PP \fBReturns\fP .RS 4 Number of thorn levels .RE .PP \fBSee also\fP .RS 4 \fBsetNumThorns()\fP, \fBsetNumThornLevels()\fP .RE .PP .PP Definition at line 293 of file qwt_compass_rose\&.cpp\&. .SS "int QwtSimpleCompassRose::numThorns () const" .PP \fBReturns\fP .RS 4 Number of thorns .RE .PP \fBSee also\fP .RS 4 \fBsetNumThorns()\fP, \fBsetNumThornLevels()\fP .RE .PP .PP Definition at line 273 of file qwt_compass_rose\&.cpp\&. .SS "void QwtSimpleCompassRose::setNumThornLevels (int numThornLevels)" 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 .PP Definition at line 284 of file qwt_compass_rose\&.cpp\&. .SS "void QwtSimpleCompassRose::setNumThorns (int numThorns)" 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 .PP Definition at line 258 of file qwt_compass_rose\&.cpp\&. .SS "void QwtSimpleCompassRose::setShrinkFactor (double factor)" Set the Factor how to shrink the thorns with each level The default value is 0\&.9\&. .PP \fBParameters\fP .RS 4 \fIfactor\fP Shrink factor .RE .PP \fBSee also\fP .RS 4 \fBshrinkFactor()\fP .RE .PP .PP Definition at line 108 of file qwt_compass_rose\&.cpp\&. .SS "void QwtSimpleCompassRose::setWidth (double width)" 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 .PP Definition at line 232 of file qwt_compass_rose\&.cpp\&. .SS "double QwtSimpleCompassRose::shrinkFactor () const" .PP \fBReturns\fP .RS 4 Factor how to shrink the thorns with each level .RE .PP \fBSee also\fP .RS 4 \fBsetShrinkFactor()\fP .RE .PP .PP Definition at line 117 of file qwt_compass_rose\&.cpp\&. .SS "double QwtSimpleCompassRose::width () const" .PP \fBReturns\fP .RS 4 Width of the rose .RE .PP \fBSee also\fP .RS 4 \fBsetWidth()\fP .RE .PP .PP Definition at line 246 of file qwt_compass_rose\&.cpp\&. .SH "Author" .PP Generated automatically by Doxygen for Qwt User's Guide from the source code\&.