Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QPdfDocumentRenderOptions Class Reference

#include <qpdfdocumentrenderoptions.h>

+ Collaboration diagram for QPdfDocumentRenderOptions:

Public Types

enum class  Rotation { None , Clockwise90 , Clockwise180 , Clockwise270 }
 
enum class  RenderFlag {
  None = 0x000 , Annotations = 0x001 , OptimizedForLcd = 0x002 , Grayscale = 0x004 ,
  ForceHalftone = 0x008 , TextAliased = 0x010 , ImageAliased = 0x020 , PathAliased = 0x040
}
 

Public Member Functions

constexpr QPdfDocumentRenderOptions () noexcept
 
constexpr Rotation rotation () const noexcept
 
constexpr void setRotation (Rotation r) noexcept
 
constexpr RenderFlags renderFlags () const noexcept
 
constexpr void setRenderFlags (RenderFlags r) noexcept
 
constexpr QRect scaledClipRect () const noexcept
 
constexpr void setScaledClipRect (const QRect &r) noexcept
 
constexpr QSize scaledSize () const noexcept
 
constexpr void setScaledSize (const QSize &s) noexcept
 

Friends

constexpr bool operator== (const QPdfDocumentRenderOptions &lhs, const QPdfDocumentRenderOptions &rhs) noexcept
 

Detailed Description

Definition at line 14 of file qpdfdocumentrenderoptions.h.

Member Enumeration Documentation

◆ RenderFlag

Enumerator
None 
Annotations 
OptimizedForLcd 
Grayscale 
ForceHalftone 
TextAliased 
ImageAliased 
PathAliased 

Definition at line 24 of file qpdfdocumentrenderoptions.h.

◆ Rotation

Enumerator
None 
Clockwise90 
Clockwise180 
Clockwise270 

Definition at line 17 of file qpdfdocumentrenderoptions.h.

Constructor & Destructor Documentation

◆ QPdfDocumentRenderOptions()

constexpr QPdfDocumentRenderOptions::QPdfDocumentRenderOptions ( )
inlineconstexprnoexcept

Definition at line 36 of file qpdfdocumentrenderoptions.h.

Member Function Documentation

◆ renderFlags()

constexpr RenderFlags QPdfDocumentRenderOptions::renderFlags ( ) const
inlineconstexprnoexcept

Definition at line 41 of file qpdfdocumentrenderoptions.h.

◆ rotation()

constexpr Rotation QPdfDocumentRenderOptions::rotation ( ) const
inlineconstexprnoexcept

Definition at line 38 of file qpdfdocumentrenderoptions.h.

◆ scaledClipRect()

constexpr QRect QPdfDocumentRenderOptions::scaledClipRect ( ) const
inlineconstexprnoexcept

Definition at line 44 of file qpdfdocumentrenderoptions.h.

◆ scaledSize()

constexpr QSize QPdfDocumentRenderOptions::scaledSize ( ) const
inlineconstexprnoexcept

Definition at line 47 of file qpdfdocumentrenderoptions.h.

◆ setRenderFlags()

constexpr void QPdfDocumentRenderOptions::setRenderFlags ( RenderFlags r)
inlineconstexprnoexcept

Definition at line 42 of file qpdfdocumentrenderoptions.h.

◆ setRotation()

constexpr void QPdfDocumentRenderOptions::setRotation ( Rotation r)
inlineconstexprnoexcept

Definition at line 39 of file qpdfdocumentrenderoptions.h.

◆ setScaledClipRect()

constexpr void QPdfDocumentRenderOptions::setScaledClipRect ( const QRect & r)
inlineconstexprnoexcept

Definition at line 45 of file qpdfdocumentrenderoptions.h.

Referenced by QPdfIOHandler::read().

+ Here is the caller graph for this function:

◆ setScaledSize()

constexpr void QPdfDocumentRenderOptions::setScaledSize ( const QSize & s)
inlineconstexprnoexcept

Definition at line 48 of file qpdfdocumentrenderoptions.h.

Referenced by QPdfIOHandler::read().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator==

constexpr bool operator== ( const QPdfDocumentRenderOptions & lhs,
const QPdfDocumentRenderOptions & rhs )
friend

Definition at line 65 of file qpdfdocumentrenderoptions.h.


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