| KWin
    | 
#include <output.h>
| Public Types | |
| enum | Kind { Normal = 0 , Rotate90 = 1 , Rotate180 = 2 , Rotate270 = 3 , FlipX = 4 , FlipX90 = 5 , FlipX180 = 6 , FlipX270 = 7 , FlipY = FlipX180 , FlipY90 = FlipX270 , FlipY180 = FlipX , FlipY270 = FlipX90 } | 
| Public Member Functions | |
| OutputTransform ()=default | |
| OutputTransform (Kind kind) | |
| bool | operator<=> (const OutputTransform &other) const =default | 
| Kind | kind () const | 
| OutputTransform | inverted () const | 
| QSizeF | map (const QSizeF &size) const | 
| QSize | map (const QSize &size) const | 
| QRectF | map (const QRectF &rect, const QSizeF &bounds) const | 
| QRect | map (const QRect &rect, const QSize &bounds) const | 
| QPointF | map (const QPointF &point, const QSizeF &bounds) const | 
| QPoint | map (const QPoint &point, const QSize &bounds) const | 
| OutputTransform | combine (OutputTransform other) const | 
| QMatrix4x4 | toMatrix () const | 
The OutputTransform type is used to describe the transform applied to the output content.
| 
 | default | 
| OutputTransform KWin::OutputTransform::combine | ( | OutputTransform | other | ) | const | 
Returns an output transform that is equivalent to applying this transform and other transform sequentially.
Definition at line 268 of file output.cpp.
| OutputTransform KWin::OutputTransform::inverted | ( | ) | const | 
Returns the inverse transform. The inverse transform can be used for mapping between surface and buffer coordinate systems.
Definition at line 69 of file output.cpp.
| OutputTransform::Kind KWin::OutputTransform::kind | ( | ) | const | 
Returns the transform kind.
Definition at line 64 of file output.cpp.
| QPoint KWin::OutputTransform::map | ( | const QPoint & | point, | 
| const QSize & | bounds ) const | 
Definition at line 211 of file output.cpp.
| QPointF KWin::OutputTransform::map | ( | const QPointF & | point, | 
| const QSizeF & | bounds ) const | 
Applies the output transform to the given point.
Definition at line 180 of file output.cpp.
| QRect KWin::OutputTransform::map | ( | const QRect & | rect, | 
| const QSize & | bounds ) const | 
Definition at line 135 of file output.cpp.
| QRectF KWin::OutputTransform::map | ( | const QRectF & | rect, | 
| const QSizeF & | bounds ) const | 
Applies the output transform to the given rect within a buffer with dimensions bounds.
Definition at line 90 of file output.cpp.
| QSize KWin::OutputTransform::map | ( | const QSize & | size | ) | const | 
Definition at line 255 of file output.cpp.
| QSizeF KWin::OutputTransform::map | ( | const QSizeF & | size | ) | const | 
Applies the output transform to the given size.
Definition at line 242 of file output.cpp.
| 
 | default | 
| QMatrix4x4 KWin::OutputTransform::toMatrix | ( | ) | const | 
Returns the matrix corresponding to this output transform.
Definition at line 300 of file output.cpp.