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

#include "coordsbase.h"

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

Public Member Functions

PageAbsolutePosBase ToPageAbsolute (QSizeF) const
 
 Pos ()=default
 
 Pos (Type p)
 
 Pos (qreal x, qreal y)
 
- Public Member Functions inherited from LC::Monocle::Pos< Relativity::PageRelative >
 Pos ()=default
 
 Pos (Type p)
 
 Pos (qreal x, qreal y)
 
auto operator<=> (const Pos &) const=default
 
auto ClearedX (this const Self &self)
 
auto ClearedY (this const Self &self)
 
Self Shifted (this const Self &self, qreal dx, qreal dy)
 
Type ToPointF () const
 
Self operator+ (this Self p1, Self p2)
 
Self operator- (this Self p1, Self p2)
 
Self operator* (this Self p, qreal factor)
 
Self operator/ (this Self p, qreal factor)
 
bool BothGeqThan (Pos p) const
 
bool BothLeqThan (Pos p) const
 

Additional Inherited Members

- Public Types inherited from LC::Monocle::Pos< Relativity::PageRelative >
using Type
 
- Public Attributes inherited from LC::Monocle::Pos< Relativity::PageRelative >
Type P_
 
- Static Public Attributes inherited from LC::Monocle::Pos< Relativity::PageRelative >
static constexpr auto Relativity
 

Detailed Description

Definition at line 181 of file coordsbase.h.

Member Function Documentation

◆ Pos() [1/3]

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

◆ Pos() [2/3]

LC::Monocle::Pos< R >::Pos ( qreal x,
qreal y )
inlineexplicit

Definition at line 40 of file coordsbase.h.

◆ Pos() [3/3]

LC::Monocle::Pos< R >::Pos ( Type p)
inlineexplicit

Definition at line 35 of file coordsbase.h.

◆ ToPageAbsolute()

PageAbsolutePosBase LC::Monocle::PageRelativePosBase::ToPageAbsolute ( QSizeF size) const
inline

Definition at line 195 of file coordsbase.h.

References LC::Monocle::Pos< Relativity::PageRelative >::P_.

Referenced by LC::Monocle::PageRelativeRectBase::ToPageAbsolute().

+ Here is the caller graph for this function:

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