Dhanya Thattil 38cd10d4e6
Qt5 built in qwt (#570)
- qt4->qt5
- in built qt5 6.1.5 because rhel7 is not upto date with qt5, removed findqwt.cmake
- made a fix in qwt lib (qwt_plot_layout.h) to work with 5.15 and lower versions for qrect constr.
- qt5 forms fixed, qt4 many hard coding forms switched to forms including qtabwidget, scrolls etc, fonts moved to forms
 - docking option enabled by default, removed option to disable docking feature from "Mode"
- added qVersionResolve utility functions to handle compatibility before and after qt5.12
- qtplots (ian's code) takes in gain mode enable to set some settings within the class, with proper gain plot ticks
- ensure gain plots have no zooming of z axis in 2d and y axis in 1d
- removed placeholder text in qpalette in main window form as its not supportd until 5.12 (so using qt5.9 designer insted of qt5.15 to cope)
- tab order
Servers:
- fixed some error messages that were empty for fail in funcs (mostly minor as if this error, major issues)
2022-11-11 15:15:10 +01:00

111 lines
2.5 KiB
Groff

.TH "QwtClipper" 3 "Mon Jun 1 2020" "Version 6.1.5" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtClipper \- Some clipping algorithms\&.
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_clipper\&.h>\fP
.SS "Static Public Member Functions"
.in +1c
.ti -1c
.RI "static QPolygon \fBclipPolygon\fP (const QRect &, const QPolygon &, bool closePolygon=false)"
.br
.ti -1c
.RI "static QPolygon \fBclipPolygon\fP (const QRectF &, const QPolygon &, bool closePolygon=false)"
.br
.ti -1c
.RI "static QPolygonF \fBclipPolygonF\fP (const QRectF &, const QPolygonF &, bool closePolygon=false)"
.br
.ti -1c
.RI "static QVector< \fBQwtInterval\fP > \fBclipCircle\fP (const QRectF &, const QPointF &, double radius)"
.br
.in -1c
.SH "Detailed Description"
.PP
Some clipping algorithms\&.
.SH "Member Function Documentation"
.PP
.SS "QVector< \fBQwtInterval\fP > QwtClipper::clipCircle (const QRectF & clipRect, const QPointF & center, double radius)\fC [static]\fP"
Circle clipping
.PP
\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\&.
.PP
\fBParameters\fP
.RS 4
\fIclipRect\fP Clip rectangle
.br
\fIcenter\fP Center of the circle
.br
\fIradius\fP Radius of the circle
.RE
.PP
\fBReturns\fP
.RS 4
Arcs of the circle
.RE
.PP
.SS "QPolygon QwtClipper::clipPolygon (const QRect & clipRect, const QPolygon & polygon, bool closePolygon = \fCfalse\fP)\fC [static]\fP"
Sutherland-Hodgman polygon clipping
.PP
\fBParameters\fP
.RS 4
\fIclipRect\fP Clip rectangle
.br
\fIpolygon\fP Polygon
.br
\fIclosePolygon\fP True, when the polygon is closed
.RE
.PP
\fBReturns\fP
.RS 4
Clipped polygon
.RE
.PP
.SS "QPolygon QwtClipper::clipPolygon (const QRectF & clipRect, const QPolygon & polygon, bool closePolygon = \fCfalse\fP)\fC [static]\fP"
Sutherland-Hodgman polygon clipping
.PP
\fBParameters\fP
.RS 4
\fIclipRect\fP Clip rectangle
.br
\fIpolygon\fP Polygon
.br
\fIclosePolygon\fP True, when the polygon is closed
.RE
.PP
\fBReturns\fP
.RS 4
Clipped polygon
.RE
.PP
.SS "QPolygonF QwtClipper::clipPolygonF (const QRectF & clipRect, const QPolygonF & polygon, bool closePolygon = \fCfalse\fP)\fC [static]\fP"
Sutherland-Hodgman polygon clipping
.PP
\fBParameters\fP
.RS 4
\fIclipRect\fP Clip rectangle
.br
\fIpolygon\fP Polygon
.br
\fIclosePolygon\fP True, when the polygon is closed
.RE
.PP
\fBReturns\fP
.RS 4
Clipped polygon
.RE
.PP
.SH "Author"
.PP
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.