![]() |
Qt 6.x
The Qt SDK
|
Classes | |
class | ByteStream |
struct | Stroker |
Enumerations | |
enum | PathFlags { ClipPath , FillPath , StrokePath , FillAndStrokePath } |
Functions | |
QByteArray | generatePath (const QPainterPath &path, const QTransform &matrix, PathFlags flags) |
QByteArray | generateMatrix (const QTransform &matrix) |
QByteArray | generateDashes (const QPen &pen) |
QByteArray | patternForBrush (const QBrush &b) |
QByteArray | ascii85Encode (const QByteArray &input) |
const char * | toHex (ushort u, char *buffer) |
const char * | toHex (uchar u, char *buffer) |
enum QPdf::PathFlags |
QByteArray QPdf::ascii85Encode | ( | const QByteArray & | input | ) |
Definition at line 659 of file qpdf.cpp.
References base, i, out, output, QString::size(), and QByteArray::size().
QByteArray QPdf::generateDashes | ( | const QPen & | pen | ) |
Definition at line 384 of file qpdf.cpp.
References QList< T >::at(), QPen::dashOffset(), QPen::dashPattern(), i, QList< T >::size(), and QPen::widthF().
Referenced by QPdfEngine::setPen().
QByteArray QPdf::generateMatrix | ( | const QTransform & | matrix | ) |
Definition at line 370 of file qpdf.cpp.
Referenced by QPdfEnginePrivate::addBrushPattern(), QPdfEngine::drawImage(), QPdfEngine::drawPixmap(), QPdfEngine::drawRects(), QPdfEngine::drawTextItem(), QPdfEnginePrivate::newPage(), and QPdfEngine::setupGraphicsState().
QByteArray QPdf::generatePath | ( | const QPainterPath & | path, |
const QTransform & | matrix, | ||
PathFlags | flags | ||
) |
Definition at line 308 of file qpdf.cpp.
References ClipPath, QPainterPath::CurveToDataElement, QPainterPath::CurveToElement, FillAndStrokePath, FillPath, i, QPainterPath::LineToElement, QPainterPath::MoveToElement, Q_ASSERT, qFatal, StrokePath, QPainterPath::Element::type, Qt::WindingFill, QPainterPath::Element::x, and QPainterPath::Element::y.
Referenced by QPdfEngine::drawPath(), and QPdfEngine::setupGraphicsState().
QByteArray QPdf::patternForBrush | ( | const QBrush & | b | ) |
Definition at line 560 of file qpdf.cpp.
References Qt::DiagCrossPattern, and pattern_for_brush.
Referenced by QPdfEnginePrivate::addBrushPattern().
const char * QPdf::toHex | ( | uchar | u, |
char * | buffer | ||
) |
const char * QPdf::toHex | ( | ushort | u, |
char * | buffer | ||
) |
Definition at line 715 of file qpdf.cpp.
Referenced by QFontSubset::createToUnicodeMap(), QPdfEnginePrivate::drawTextItem(), and QFontSubset::glyphName().