LeechCraft Monocle  0.6.70-18450-gabe19ee3b0
Modular document viewer for LeechCraft
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
 
 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::PageRelative >
using Type = QRectF
 
- 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
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.

◆ ToPageAbsolute()

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

Definition at line 235 of file coordsbase.h.

References LC::Monocle::PageRelativePosBase::ToPageAbsolute().

+ Here is the call graph for this function:

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