![]() |
LeechCraft Monocle 0.6.70-17609-g3dde4097dd
Modular document viewer for LeechCraft
|
#include "coordsbase.h"
Public Types | |
using | Type = QRectF |
Public Member Functions | |
Rect ()=default | |
Rect (const Type &r) | |
Rect (Pos< R > topLeft, Pos< R > bottomRight) | |
auto | operator<=> (const Rect &) const =default |
template<typename P> requires (P::Relativity == R) | |
P | TopLeft () const |
template<typename P> requires (P::Relativity == R) | |
P | BottomRight () const |
void | SetLeft (qreal x) |
void | SetRight (qreal x) |
Type | ToRectF () const |
bool | IsEmpty () const |
template<typename Self> | |
Self | operator| (this const Self &r1, const Self &r2) |
template<typename Self> | |
Self | operator& (this const Self &r1, const Self &r2) |
Public Attributes | |
Type | R_ {} |
Static Public Attributes | |
static constexpr auto | Relativity = R |
Definition at line 109 of file coordsbase.h.
using LC::Monocle::Rect< R >::Type = QRectF |
Definition at line 113 of file coordsbase.h.
|
default |
|
inlineexplicit |
Definition at line 119 of file coordsbase.h.
References R_.
|
inlineexplicit |
Definition at line 124 of file coordsbase.h.
References R_.
|
inline |
Definition at line 140 of file coordsbase.h.
References BottomRight(), and R_.
Referenced by BottomRight().
|
inline |
Definition at line 160 of file coordsbase.h.
References R_.
|
inline |
Definition at line 172 of file coordsbase.h.
|
default |
|
inline |
Definition at line 166 of file coordsbase.h.
|
inline |
Definition at line 145 of file coordsbase.h.
References R_.
|
inline |
Definition at line 150 of file coordsbase.h.
References R_.
|
inline |
Definition at line 133 of file coordsbase.h.
Referenced by TopLeft().
|
inline |
Definition at line 155 of file coordsbase.h.
References R_.
Type LC::Monocle::Rect< R >::R_ {} |
Definition at line 115 of file coordsbase.h.
Referenced by Rect(), Rect(), BottomRight(), IsEmpty(), SetLeft(), SetRight(), TopLeft(), and ToRectF().
|
staticconstexpr |
Definition at line 111 of file coordsbase.h.