1
.TH "QwtMetricsMap" 3 "24 May 2008" "Version 5.1.1" "Qwt User's Guide" \" -*- nroff -*-
9
.SH "Detailed Description"
11
A Map to translate between layout, screen and paint device metrics.
13
Definition at line 31 of file qwt_layout_metrics.h.
14
.SS "Public Member Functions"
18
.RI "\fBQwtMetricsMap\fP ()"
21
.RI "bool \fBisIdentity\fP () const"
24
.RI "void \fBsetMetrics\fP (const QPaintDevice *layoutMetrics, const QPaintDevice *deviceMetrics)"
27
.RI "int \fBlayoutToDeviceX\fP (int x) const"
30
.RI "int \fBdeviceToLayoutX\fP (int x) const"
33
.RI "int \fBscreenToLayoutX\fP (int x) const"
36
.RI "int \fBlayoutToScreenX\fP (int x) const"
39
.RI "int \fBlayoutToDeviceY\fP (int y) const"
42
.RI "int \fBdeviceToLayoutY\fP (int y) const"
45
.RI "int \fBscreenToLayoutY\fP (int y) const"
48
.RI "int \fBlayoutToScreenY\fP (int y) const"
51
.RI "QPoint \fBlayoutToDevice\fP (const QPoint &, const QPainter *=NULL) const"
54
.RI "QPoint \fBdeviceToLayout\fP (const QPoint &, const QPainter *=NULL) const"
57
.RI "QPoint \fBscreenToLayout\fP (const QPoint &) const"
60
.RI "QPoint \fBlayoutToScreen\fP (const QPoint &point) const "
63
.RI "QSize \fBlayoutToDevice\fP (const QSize &) const "
66
.RI "QSize \fBdeviceToLayout\fP (const QSize &) const "
69
.RI "QSize \fBscreenToLayout\fP (const QSize &) const "
72
.RI "QSize \fBlayoutToScreen\fP (const QSize &) const "
75
.RI "QRect \fBlayoutToDevice\fP (const QRect &, const QPainter *=NULL) const"
78
.RI "QRect \fBdeviceToLayout\fP (const QRect &, const QPainter *=NULL) const"
81
.RI "QRect \fBscreenToLayout\fP (const QRect &) const "
84
.RI "QRect \fBlayoutToScreen\fP (const QRect &) const "
87
.RI "QwtPolygon \fBlayoutToDevice\fP (const QwtPolygon &, const QPainter *=NULL) const"
90
.RI "QwtPolygon \fBdeviceToLayout\fP (const QwtPolygon &, const QPainter *=NULL) const"
93
.SS "Static Public Member Functions"
97
.RI "static QwtPolygon \fBtranslate\fP (const QMatrix &, const QwtPolygon &)"
100
.RI "static QRect \fBtranslate\fP (const QMatrix &, const QRect &)"
103
.SH "Member Function Documentation"
105
.SS "QwtPolygon QwtMetricsMap::translate (const QMatrix & m, const QwtPolygon & pa)\fC [static]\fP"
107
Wrapper for QMatrix::map.
113
\fIpa\fP Polygon to translate
123
Definition at line 322 of file qwt_layout_metrics.cpp.
125
Referenced by QwtScaleDraw::labelRect().
126
.SS "QRect QwtMetricsMap::translate (const QMatrix & m, const QRect & rect)\fC [static]\fP"
128
Wrapper for QMatrix::mapRect.
134
\fIrect\fP Rectangle to translate
144
Definition at line 309 of file qwt_layout_metrics.cpp.
148
Generated automatically by Doxygen for Qwt User's Guide from the source code.