LeechCraft Monocle  0.6.70-18450-gabe19ee3b0
Modular document viewer for LeechCraft
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
 
 requires (P::Relativity==R) P TopLeft() const
 
 requires (P::Relativity==R) P 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 = QRectF
 
- 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
inlineexplicit

Definition at line 124 of file coordsbase.h.

◆ Rect() [3/3]

LC::Monocle::Rect< R >::Rect
inlineexplicit

Definition at line 119 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::PageAbsolutePosBase::ToPageRelative().

+ Here is the call graph for this function:

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