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

#include "coordsbase.h"

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

Public Member Functions

PageAbsoluteRectBase ToPageAbsolute (QSizeF) const
 
 Rect ()=default
 
 Rect (const Type &r)
 
 Rect (Pos< R > topLeft, Pos< R > bottomRight)
 
- Public Member Functions inherited from LC::Monocle::Rect< Relativity::PageRelative >
 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::PageRelative >
using Type
 
- Public Attributes inherited from LC::Monocle::Rect< Relativity::PageRelative >
Type R_
 
- Static Public Attributes inherited from LC::Monocle::Rect< Relativity::PageRelative >
static constexpr auto Relativity
 

Detailed Description

Definition at line 208 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.

◆ ToPageAbsolute()

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

Definition at line 235 of file coordsbase.h.

References LC::Monocle::detail::Convert(), and LC::Monocle::PageRelativePosBase::ToPageAbsolute().

+ Here is the call graph for this function:

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