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
QPdf Namespace Reference

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)
 

Enumeration Type Documentation

◆ PathFlags

Enumerator
ClipPath 
FillPath 
StrokePath 
FillAndStrokePath 

Definition at line 74 of file qpdf_p.h.

Function Documentation

◆ ascii85Encode()

QByteArray QPdf::ascii85Encode ( const QByteArray & input)

Definition at line 654 of file qpdf.cpp.

References base, i, out, output, and QByteArray::size().

+ Here is the call graph for this function:

◆ generateDashes()

QByteArray QPdf::generateDashes ( const QPen & pen)

Definition at line 379 of file qpdf.cpp.

References QPen::dashOffset(), QPen::dashPattern(), i, and QPen::widthF().

Referenced by QPdfEngine::setPen().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ generateMatrix()

QByteArray QPdf::generateMatrix ( const QTransform & matrix)

Definition at line 365 of file qpdf.cpp.

Referenced by QPdfEnginePrivate::addBrushPattern(), QPdfEngine::drawImage(), QPdfEngine::drawPixmap(), QPdfEngine::drawRects(), QPdfEngine::drawTextItem(), QPdfEnginePrivate::newPage(), and QPdfEngine::setupGraphicsState().

+ Here is the caller graph for this function:

◆ generatePath()

QByteArray QPdf::generatePath ( const QPainterPath & path,
const QTransform & matrix,
PathFlags flags )

Definition at line 303 of file qpdf.cpp.

References ClipPath, QPainterPath::CurveToDataElement, QPainterPath::CurveToElement, FillAndStrokePath, FillPath, i, QPainterPath::LineToElement, QPainterPath::MoveToElement, Q_ASSERT, qFatal, StrokePath, and Qt::WindingFill.

Referenced by QPdfEngine::drawPath(), and QPdfEngine::setupGraphicsState().

+ Here is the caller graph for this function:

◆ patternForBrush()

QByteArray QPdf::patternForBrush ( const QBrush & b)

Definition at line 555 of file qpdf.cpp.

References Qt::DiagCrossPattern, pattern_for_brush, and QByteArray().

Referenced by QPdfEnginePrivate::addBrushPattern().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toHex() [1/2]

const char * QPdf::toHex ( uchar u,
char * buffer )

Definition at line 726 of file qpdf.cpp.

References hex, and i.

◆ toHex() [2/2]

const char * QPdf::toHex ( ushort u,
char * buffer )

Definition at line 710 of file qpdf.cpp.

References hex, and i.

Referenced by QFontSubset::createToUnicodeMap(), QPdfEnginePrivate::drawTextItem(), and QFontSubset::glyphName().

+ Here is the caller graph for this function: