LeechCraft Monocle 0.6.70-17609-g3dde4097dd
Modular document viewer for LeechCraft
Loading...
Searching...
No Matches
LC::Monocle::PageAbsolutePosBase Struct Reference

#include "coordsbase.h"

Inheritance diagram for LC::Monocle::PageAbsolutePosBase:
Collaboration diagram for LC::Monocle::PageAbsolutePosBase:

Public Member Functions

PageRelativePosBase ToPageRelative (QSizeF) const
 Pos ()=default
 Pos (Type p)
 Pos (qreal x, qreal y)
Public Member Functions inherited from LC::Monocle::Pos< Relativity::PageAbsolute >
 Pos ()=default
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::PageAbsolute >
using Type
Public Attributes inherited from LC::Monocle::Pos< Relativity::PageAbsolute >
Type P_
Static Public Attributes inherited from LC::Monocle::Pos< Relativity::PageAbsolute >
static constexpr auto Relativity

Detailed Description

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

◆ ToPageRelative()

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

Definition at line 200 of file coordsbase.h.

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

Referenced by LC::Monocle::PageAbsoluteRectBase::ToPageRelative().

Here is the caller graph for this function:

The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.17609.g3dde4097dd-build/leechcraft-0.6.70-17609-g3dde4097dd/src/plugins/monocle/interfaces/monocle/coordsbase.h