Qt 4.8
Classes | Public Functions | Public Variables | List of all members
QSvgPaintEnginePrivate Class Reference
Inheritance diagram for QSvgPaintEnginePrivate:
QPaintEnginePrivate

Classes

struct  _attributes
 

Public Functions

QString generateGradientName ()
 
 QSvgPaintEnginePrivate ()
 
- Public Functions inherited from QPaintEnginePrivate
void drawBoxTextItem (const QPointF &p, const QTextItemInt &ti)
 
 QPaintEnginePrivate ()
 
void setSystemTransform (const QTransform &xform)
 
void setSystemViewport (const QRegion &region)
 
virtual void systemStateChanged ()
 
void transformSystemClip ()
 
virtual ~QPaintEnginePrivate ()
 

Public Variables

bool afterFirstUpdate
 
struct QSvgPaintEnginePrivate::_attributes attributes
 
QString body
 
QBrush brush
 
QString currentGradientName
 
QString defs
 
QFont font
 
QString header
 
QMatrix matrix
 
int numGradients
 
QIODeviceoutputDevice
 
QPen pen
 
int resolution
 
QSize size
 
QTextStreamstream
 
QRectF viewBox
 
- Public Variables inherited from QPaintEnginePrivate
QWidgetcurrentClipWidget
 
uint hasSystemTransform: 1
 
uint hasSystemViewport: 1
 
QPaintDevicepdev
 
QPaintEngineq_ptr
 
QRegion systemClip
 
QRect systemRect
 
QTransform systemTransform
 
QRegion systemViewport
 

Detailed Description

Definition at line 87 of file qsvggenerator.cpp.

Constructors and Destructors

◆ QSvgPaintEnginePrivate()

QSvgPaintEnginePrivate::QSvgPaintEnginePrivate ( )
inline

Definition at line 90 of file qsvggenerator.cpp.

91  {
92  size = QSize();
93  viewBox = QRectF();
94  outputDevice = 0;
95  resolution = 72;
96 
97  attributes.document_title = QLatin1String("Qt Svg Document");
98  attributes.document_description = QLatin1String("Generated with Qt");
101  attributes.font_style = QLatin1String("normal");
103 
104  afterFirstUpdate = false;
105  numGradients = 0;
106  }
struct QSvgPaintEnginePrivate::_attributes attributes
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QRectF class defines a rectangle in the plane using floating point precision. ...
Definition: qrect.h:511
The QSize class defines the size of a two-dimensional object using integer point precision.
Definition: qsize.h:53

Functions

◆ generateGradientName()

QString QSvgPaintEnginePrivate::generateGradientName ( )
inline

Definition at line 124 of file qsvggenerator.cpp.

124  {
125  ++numGradients;
127  return currentGradientName;
128  }
QString arg(qlonglong a, int fieldwidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
Definition: qstring.cpp:7186
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
Definition: qstring.cpp:4188

Properties

◆ afterFirstUpdate

bool QSvgPaintEnginePrivate::afterFirstUpdate

Definition at line 117 of file qsvggenerator.cpp.

Referenced by QSvgPaintEnginePrivate().

◆ attributes

struct QSvgPaintEnginePrivate::_attributes QSvgPaintEnginePrivate::attributes

Referenced by QSvgPaintEnginePrivate().

◆ body

QString QSvgPaintEnginePrivate::body

Definition at line 116 of file qsvggenerator.cpp.

◆ brush

QBrush QSvgPaintEnginePrivate::brush

Definition at line 119 of file qsvggenerator.cpp.

◆ currentGradientName

QString QSvgPaintEnginePrivate::currentGradientName

Definition at line 130 of file qsvggenerator.cpp.

Referenced by generateGradientName(), and QSvgPaintEngine::qbrushToSvg().

◆ defs

QString QSvgPaintEnginePrivate::defs

◆ font

QFont QSvgPaintEnginePrivate::font

Definition at line 122 of file qsvggenerator.cpp.

◆ header

QString QSvgPaintEnginePrivate::header

Definition at line 114 of file qsvggenerator.cpp.

◆ matrix

QMatrix QSvgPaintEnginePrivate::matrix

Definition at line 121 of file qsvggenerator.cpp.

◆ numGradients

int QSvgPaintEnginePrivate::numGradients

Definition at line 131 of file qsvggenerator.cpp.

Referenced by generateGradientName(), and QSvgPaintEnginePrivate().

◆ outputDevice

QIODevice* QSvgPaintEnginePrivate::outputDevice

Definition at line 110 of file qsvggenerator.cpp.

Referenced by QSvgPaintEnginePrivate().

◆ pen

QPen QSvgPaintEnginePrivate::pen

Definition at line 120 of file qsvggenerator.cpp.

◆ resolution

int QSvgPaintEnginePrivate::resolution

Definition at line 112 of file qsvggenerator.cpp.

Referenced by QSvgPaintEnginePrivate(), and QSvgPaintEngine::setResolution().

◆ size

QSize QSvgPaintEnginePrivate::size

Definition at line 108 of file qsvggenerator.cpp.

Referenced by QSvgPaintEnginePrivate(), and QSvgPaintEngine::setSize().

◆ stream

QTextStream* QSvgPaintEnginePrivate::stream

Definition at line 111 of file qsvggenerator.cpp.

Referenced by QSvgPaintEngine::qbrushToSvg(), and QSvgPaintEngine::qpenToSvg().

◆ viewBox

QRectF QSvgPaintEnginePrivate::viewBox

Definition at line 109 of file qsvggenerator.cpp.

Referenced by QSvgPaintEnginePrivate(), and QSvgPaintEngine::setViewBox().


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