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
qsvgdebug.cpp File Reference

(e9913b70717f55efb88e3022254299c848bcb940)

#include "qsvgvisitor_p.h"
#include <QDebug>
+ Include dependency graph for qsvgdebug.cpp:

Go to the source code of this file.

Classes

class  SvgDebugVisitor
 

Functions

static const char * typeName (const QSvgNode *node)
 
QDebug operator<< (QDebug debug, const QSvgTinyDocument &doc)
 

Variables

static QT_BEGIN_NAMESPACE const char * nodeTypeStrings []
 

Function Documentation

◆ operator<<()

QDebug operator<< ( QDebug debug,
const QSvgTinyDocument & doc )

Definition at line 177 of file qsvgdebug.cpp.

References debug, and SvgDebugVisitor::write().

+ Here is the call graph for this function:

◆ typeName()

static const char * typeName ( const QSvgNode * node)
static

Definition at line 32 of file qsvgdebug.cpp.

References nodeTypeStrings, and QSvgNode::type().

+ Here is the call graph for this function:

Variable Documentation

◆ nodeTypeStrings

QT_BEGIN_NAMESPACE const char* nodeTypeStrings[]
static
Initial value:
= {
"DOC",
"G",
"DEFS",
"SWITCH",
"ANIMATION",
"ARC",
"CIRCLE",
"ELLIPSE",
"IMAGE",
"LINE",
"PATH",
"POLYGON",
"POLYLINE",
"RECT",
"TEXT",
"TEXTAREA",
"TSPAN",
"USE",
"VIDEO"
}

Definition at line 9 of file qsvgdebug.cpp.

Referenced by typeName().