4#ifndef QPDFOUTPUTINTENT_H
5#define QPDFOUTPUTINTENT_H
7#include <QtGui/qtguiglobal.h>
11#include <QtCore/qshareddata.h>
19class QPdfOutputIntentPrivate;
20QT_DECLARE_QESDP_SPECIALIZATION_DTOR_WITH_EXPORT(QPdfOutputIntentPrivate, Q_GUI_EXPORT)
26 QPdfOutputIntent(
const QPdfOutputIntent &other);
27 QPdfOutputIntent(QPdfOutputIntent &&other)
noexcept =
default;
28 QPdfOutputIntent &operator=(
const QPdfOutputIntent &other);
29 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QPdfOutputIntent)
32 void swap(QPdfOutputIntent &other)
noexcept { d.swap(other.d); }
34 QString outputConditionIdentifier()
const;
35 void setOutputConditionIdentifier(
const QString &identifier);
37 QString outputCondition()
const;
38 void setOutputCondition(
const QString &condition);
40 QUrl registryName()
const;
41 void setRegistryName(
const QUrl &name);
43 QColorSpace outputProfile()
const;
44 void setOutputProfile(
const QColorSpace &profile);
47 QExplicitlySharedDataPointer<QPdfOutputIntentPrivate> d;
void streamImage(int w, int h, uint object)
QList< uint > graphicStates
QList< uint > annotations
ByteStream(QByteArray *ba, bool fileBacking=false)
ByteStream(bool fileBacking=false)
static int maxMemorySize()
const char * toHex(ushort u, char *buffer)
QByteArray generatePath(const QPainterPath &path, const QTransform &matrix, PathFlags flags)
QByteArray ascii85Encode(const QByteArray &input)
QByteArray generateDashes(const QPen &pen)
QByteArray patternForBrush(const QBrush &b)
QByteArray generateMatrix(const QTransform &matrix)
Q_GUI_EXPORT bool qt_isExtendedRadialGradient(const QBrush &brush)
const char * qt_int_to_string(int val, char *buf)
static void initResources()
static bool is_monochrome(const QList< QRgb > &colorTable)
Q_DECLARE_TYPEINFO(QGradientBound, Q_PRIMITIVE_TYPE)
static void removeTransparencyFromBrush(QBrush &brush)
static void lineToHook(qfixed x, qfixed y, void *data)
const char * qt_real_to_string(qreal val, char *buf)
constexpr QPaintEngine::PaintEngineFeatures qt_pdf_decide_features()
static const bool interpolateImages
static void moveToHook(qfixed x, qfixed y, void *data)
static const char *const pattern_for_brush[]
static void cubicToHook(qfixed c1x, qfixed c1y, qfixed c2x, qfixed c2y, qfixed ex, qfixed ey, void *data)
static const bool do_compress
void setPen(const QPen &pen, QPainter::RenderHints hints)
void strokePath(const QPainterPath &path)