![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtGui More...
#include <qpdfoutputintent.h>
Public Member Functions | |
QPdfOutputIntent () | |
Constructs a new PDF output intent. | |
QPdfOutputIntent (const QPdfOutputIntent &other) | |
Constructs a copy of the output intent other. | |
QPdfOutputIntent (QPdfOutputIntent &&other) noexcept=default | |
Constructs a QPdfOutputIntent object by moving from other. | |
QPdfOutputIntent & | operator= (const QPdfOutputIntent &other) |
Assigns the output intent other over this intent. | |
~QPdfOutputIntent () | |
Destroys this output intent. | |
void | swap (QPdfOutputIntent &other) noexcept |
\memberswap{output intent} | |
QString | outputConditionIdentifier () const |
Returns the identifier of the output condition. | |
void | setOutputConditionIdentifier (const QString &identifier) |
Sets the identifier of the output condition to identifier. | |
QString | outputCondition () const |
Returns the human-readable output condition. | |
void | setOutputCondition (const QString &condition) |
Sets the human-readable output condition to condition. | |
QUrl | registryName () const |
Returns the URL of a characterization registry for the intended printing condition. | |
void | setRegistryName (const QUrl &name) |
Sets the URL of the characterization registry to name. | |
QColorSpace | outputProfile () const |
Returns the output device profile. | |
void | setOutputProfile (const QColorSpace &profile) |
Sets the output device profile to profile. |
\inmodule QtGui
The QPdfOutputIntent class contains metadata that characterize the printing condition for which painting data has been prepared when generating a PDF file.
Definition at line 22 of file qpdfoutputintent.h.
QPdfOutputIntent::QPdfOutputIntent | ( | ) |
Constructs a new PDF output intent.
Definition at line 50 of file qpdfoutputintent.cpp.
|
default |
Constructs a copy of the output intent other.
|
defaultnoexcept |
Constructs a QPdfOutputIntent object by moving from other.
|
default |
Destroys this output intent.
|
default |
Assigns the output intent other over this intent.
Move-assigns the output intent other over this intent.
QString QPdfOutputIntent::outputCondition | ( | ) | const |
Returns the human-readable output condition.
This is a string that concisely identifies the characterized printing condition in a form that will be meaningful to a human operator.
The default output condition is {sRGB IEC61966 v2.1 with black scaling}.
Definition at line 127 of file qpdfoutputintent.cpp.
QString QPdfOutputIntent::outputConditionIdentifier | ( | ) | const |
Returns the identifier of the output condition.
If a registry name is provided, then this identifier should should match the reference name of an entry in that registry.
The default identifier is {sRGB_IEC61966-2-1_black_scaled}.
Definition at line 96 of file qpdfoutputintent.cpp.
QColorSpace QPdfOutputIntent::outputProfile | ( | ) | const |
Returns the output device profile.
The default profile is the sRGB v2 profile available from the \l{https://www.color.org/srgbprofiles.xalter#v2}{International Color Consortium}.
Definition at line 175 of file qpdfoutputintent.cpp.
QUrl QPdfOutputIntent::registryName | ( | ) | const |
Returns the URL of a characterization registry for the intended printing condition.
The default registry is {http://www.color.org}.
Definition at line 151 of file qpdfoutputintent.cpp.
Sets the human-readable output condition to condition.
Definition at line 137 of file qpdfoutputintent.cpp.
Sets the identifier of the output condition to identifier.
If a registry name is provided, then this identifier should should match the reference name of an entry in that registry.
Definition at line 109 of file qpdfoutputintent.cpp.
void QPdfOutputIntent::setOutputProfile | ( | const QColorSpace & | profile | ) |
Sets the output device profile to profile.
Definition at line 189 of file qpdfoutputintent.cpp.
Sets the URL of the characterization registry to name.
Definition at line 161 of file qpdfoutputintent.cpp.
|
inlinenoexcept |
\memberswap{output intent}
Definition at line 32 of file qpdfoutputintent.h.