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
QwtClipper(3) Qwt User's Guide QwtClipper(3)

QwtClipper -

#include <qwt_clipper.h>


static QwtArray
 
< QwtDoubleInterval > clipCircle (const QwtDoubleRect &, const QwtDoublePoint &, double radius)"
 
static QwtPolygon clipPolygon (const QRect &, const QwtPolygon &)
 
static QwtPolygonF clipPolygonF (const QwtDoubleRect &, const QwtPolygonF &)
 

Some clipping algos.

Circle clipping
clipCircle() devides a circle into intervals of angles representing arcs of the circle. When the circle is completely inside the clip rectangle an interval [0.0, 2 * M_PI] is returned.
Parameters:
clipRect Clip rectangle
 
center Center of the circle
 
radius Radius of the circle
Returns:
Arcs of the circle

Sutherland-Hodgman polygon clipping
Parameters:
clipRect Clip rectangle
 
polygon Polygon
Returns:
Clipped polygon

Sutherland-Hodgman polygon clipping
Parameters:
clipRect Clip rectangle
 
polygon Polygon
Returns:
Clipped polygon

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.