LeechCraft Monocle 0.6.70-17335-ge406ffdcaf
Modular document viewer for LeechCraft
Loading...
Searching...
No Matches
LC::Monocle::PageAbsoluteRectBase Struct Reference

#include "coordsbase.h"

+ Inheritance diagram for LC::Monocle::PageAbsoluteRectBase:
+ Collaboration diagram for LC::Monocle::PageAbsoluteRectBase:

Public Member Functions

PageRelativeRectBase ToPageRelative (QSizeF) const
 
 Rect ()=default
 
 Rect (const Type &r)
 
 Rect (Pos< R > topLeft, Pos< R > bottomRight)
 
- Public Member Functions inherited from LC::Monocle::Rect< Relativity::PageAbsolute >
 Rect ()=default
 
 Rect (const Type &r)
 
 Rect (Pos< R > topLeft, Pos< R > bottomRight)
 
auto operator<=> (const Rect &) const=default
 
TopLeft () const
 
BottomRight () const
 
void SetLeft (qreal x)
 
void SetRight (qreal x)
 
Type ToRectF () const
 
bool IsEmpty () const
 
Self operator| (this const Self &r1, const Self &r2)
 
Self operator& (this const Self &r1, const Self &r2)
 

Additional Inherited Members

- Public Types inherited from LC::Monocle::Rect< Relativity::PageAbsolute >
using Type
 
- Public Attributes inherited from LC::Monocle::Rect< Relativity::PageAbsolute >
Type R_
 
- Static Public Attributes inherited from LC::Monocle::Rect< Relativity::PageAbsolute >
static constexpr auto Relativity
 

Detailed Description

Definition at line 215 of file coordsbase.h.

Member Function Documentation

◆ Rect() [1/3]

LC::Monocle::Rect< R >::Rect ( )
default

◆ Rect() [2/3]

LC::Monocle::Rect< R >::Rect ( const Type & r)
inlineexplicit

Definition at line 119 of file coordsbase.h.

◆ Rect() [3/3]

LC::Monocle::Rect< R >::Rect ( Pos< R > topLeft,
Pos< R > bottomRight )
inlineexplicit

Definition at line 124 of file coordsbase.h.

◆ ToPageRelative()

PageRelativeRectBase LC::Monocle::PageAbsoluteRectBase::ToPageRelative ( QSizeF size) const
inline

Definition at line 240 of file coordsbase.h.

References LC::Monocle::detail::Convert(), and LC::Monocle::PageAbsolutePosBase::ToPageRelative().

+ Here is the call graph for this function:

The documentation for this struct was generated from the following file: