GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
QwtSimpleCompassRose(3) Qwt User's Guide QwtSimpleCompassRose(3)

QwtSimpleCompassRose -

#include <qwt_compass_rose.h>
Inherits QwtCompassRose.


QwtSimpleCompassRose (int numThorns=8, int numThornLevels=-1)
 
virtual void draw (QPainter *, const QPoint &center, int radius, double north, QPalette::ColorGroup=QPalette::Active) const
 
int numThornLevels () const
 
int numThorns () const
 
void setNumThornLevels (int count)
 
void setNumThorns (int count)
 
void setShrinkFactor (double factor)
 
void setWidth (double w)
 
double shrinkFactor () const
 
double width () const
 


static void drawRose (QPainter *, const QPalette &, const QPoint &center, int radius, double origin, double width, int numThorns, int numThornLevels, double shrinkFactor)
 

A simple rose for QwtCompass.

Constructor
Parameters:
numThorns Number of thorns
 
numThornLevels Number of thorn levels

Draw the rose
Parameters:
painter Painter
 
center Center point
 
radius Radius of the rose
 
north Position
 
cg Color group
Implements QwtCompassRose.

Draw the rose
Parameters:
painter Painter
 
palette Palette
 
center Center of the rose
 
radius Radius of the rose
 
north Position pointing to north
 
width Width of the rose
 
numThorns Number of thorns
 
numThornLevels Number of thorn levels
 
shrinkFactor Factor to shrink the thorns with each level

Returns:
Number of thorn levels
See also:
setNumThorns(), setNumThornLevels()

Returns:
Number of thorns
See also:
setNumThorns(), setNumThornLevels()

Set the of thorns levels
Parameters:
numThornLevels Number of thorns levels
See also:
setNumThorns(), numThornLevels()

Set the number of thorns on one level The number is aligned to a multiple of 4, with a minimum of 4
Parameters:
numThorns Number of thorns
See also:
numThorns(), setNumThornLevels()

Set the width of the rose heads. Lower value make thinner heads. The range is limited from 0.03 to 0.4.
Parameters:
width Width

See also:
setWidth()

Generated automatically by Doxygen for Qwt User's Guide from the source code.
Tue Nov 20 2012 Version 5.2.3

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.