#include "qsvggenerator.h"
#include "qpainterpath.h"
#include "private/qpaintengine_p.h"
#include "private/qtextengine_p.h"
#include "private/qdrawhelper_p.h"
#include "qfile.h"
#include "qtextcodec.h"
#include "qtextstream.h"
#include "qbuffer.h"
#include "qmath.h"
#include "qdebug.h"
Go to the source code of this file.
◆ svgEngineFeatures()
static QPaintEngine::PaintEngineFeatures svgEngineFeatures |
( |
| ) |
|
|
inlinestatic |
◆ translate_color()
static void translate_color |
( |
const QColor & |
color, |
|
|
QString * |
color_string, |
|
|
QString * |
opacity_string |
|
) |
| |
|
static |
Definition at line 62 of file qsvggenerator.cpp.
Referenced by QSvgPaintEngine::qbrushToSvg(), and QSvgPaintEngine::qpenToSvg().
static QString number(int, int base=10)
This is an overloaded member function, provided for convenience. It differs from the above function o...
qreal alphaF() const
Returns the alpha color component of this color.
ushort red
Returns the red color component of this color.
QString arg(qlonglong a, int fieldwidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
ushort blue
Returns the blue color component of this color.
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
ushort green
Returns the green color component of this color.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
◆ translate_dashPattern()
Definition at line 76 of file qsvggenerator.cpp.
Referenced by QSvgPaintEngine::qpenToSvg().
81 foreach (
qreal entry, pattern)
84 pattern_string->
chop(1);
void chop(int n)
Removes n characters from the end of the string.
QString arg(qlonglong a, int fieldwidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...