QwtClipper.3 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. .TH "QwtClipper" 3 "Mon Dec 28 2020" "Version 6.1.6" "Qwt User's Guide" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. QwtClipper \- Some clipping algorithms\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <qwt_clipper\&.h>\fP
  11. .SS "Static Public Member Functions"
  12. .in +1c
  13. .ti -1c
  14. .RI "static QPolygon \fBclipPolygon\fP (const QRect &, const QPolygon &, bool closePolygon=false)"
  15. .br
  16. .ti -1c
  17. .RI "static QPolygon \fBclipPolygon\fP (const QRectF &, const QPolygon &, bool closePolygon=false)"
  18. .br
  19. .ti -1c
  20. .RI "static QPolygonF \fBclipPolygonF\fP (const QRectF &, const QPolygonF &, bool closePolygon=false)"
  21. .br
  22. .ti -1c
  23. .RI "static QVector< \fBQwtInterval\fP > \fBclipCircle\fP (const QRectF &, const QPointF &, double radius)"
  24. .br
  25. .in -1c
  26. .SH "Detailed Description"
  27. .PP
  28. Some clipping algorithms\&.
  29. .SH "Member Function Documentation"
  30. .PP
  31. .SS "QVector< \fBQwtInterval\fP > QwtClipper::clipCircle (const QRectF & clipRect, const QPointF & center, double radius)\fC [static]\fP"
  32. Circle clipping
  33. .PP
  34. \fBclipCircle()\fP divides 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\&.
  35. .PP
  36. \fBParameters\fP
  37. .RS 4
  38. \fIclipRect\fP Clip rectangle
  39. .br
  40. \fIcenter\fP Center of the circle
  41. .br
  42. \fIradius\fP Radius of the circle
  43. .RE
  44. .PP
  45. \fBReturns\fP
  46. .RS 4
  47. Arcs of the circle
  48. .RE
  49. .PP
  50. .SS "QPolygon QwtClipper::clipPolygon (const QRect & clipRect, const QPolygon & polygon, bool closePolygon = \fCfalse\fP)\fC [static]\fP"
  51. Sutherland-Hodgman polygon clipping
  52. .PP
  53. \fBParameters\fP
  54. .RS 4
  55. \fIclipRect\fP Clip rectangle
  56. .br
  57. \fIpolygon\fP Polygon
  58. .br
  59. \fIclosePolygon\fP True, when the polygon is closed
  60. .RE
  61. .PP
  62. \fBReturns\fP
  63. .RS 4
  64. Clipped polygon
  65. .RE
  66. .PP
  67. .SS "QPolygon QwtClipper::clipPolygon (const QRectF & clipRect, const QPolygon & polygon, bool closePolygon = \fCfalse\fP)\fC [static]\fP"
  68. Sutherland-Hodgman polygon clipping
  69. .PP
  70. \fBParameters\fP
  71. .RS 4
  72. \fIclipRect\fP Clip rectangle
  73. .br
  74. \fIpolygon\fP Polygon
  75. .br
  76. \fIclosePolygon\fP True, when the polygon is closed
  77. .RE
  78. .PP
  79. \fBReturns\fP
  80. .RS 4
  81. Clipped polygon
  82. .RE
  83. .PP
  84. .SS "QPolygonF QwtClipper::clipPolygonF (const QRectF & clipRect, const QPolygonF & polygon, bool closePolygon = \fCfalse\fP)\fC [static]\fP"
  85. Sutherland-Hodgman polygon clipping
  86. .PP
  87. \fBParameters\fP
  88. .RS 4
  89. \fIclipRect\fP Clip rectangle
  90. .br
  91. \fIpolygon\fP Polygon
  92. .br
  93. \fIclosePolygon\fP True, when the polygon is closed
  94. .RE
  95. .PP
  96. \fBReturns\fP
  97. .RS 4
  98. Clipped polygon
  99. .RE
  100. .PP
  101. .SH "Author"
  102. .PP
  103. Generated automatically by Doxygen for Qwt User's Guide from the source code\&.