123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- .TH "QwtSimpleCompassRose" 3 "Mon Dec 28 2020" "Version 6.1.6" "Qwt User's Guide" \" -*- nroff -*-
- .ad l
- .nh
- .SH NAME
- QwtSimpleCompassRose \- A simple rose for \fBQwtCompass\fP\&.
- .SH SYNOPSIS
- .br
- .PP
- .PP
- \fC#include <qwt_compass_rose\&.h>\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"
- .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\&.
- .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
- .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 [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 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
- .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
- .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
- .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
- .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
- .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
- .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
- .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
- .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
- .SH "Author"
- .PP
- Generated automatically by Doxygen for Qwt User's Guide from the source code\&.
|