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
SvgDebugVisitor Class Reference
+ Inheritance diagram for SvgDebugVisitor:
+ Collaboration diagram for SvgDebugVisitor:

Public Member Functions

 SvgDebugVisitor (QDebug &stream)
 
void write (const QSvgTinyDocument *doc)
 
- Public Member Functions inherited from QSvgVisitor
void traverse (const QSvgStructureNode *node)
 
void traverse (const QSvgNode *node)
 
virtual ~QSvgVisitor ()
 

Protected Member Functions

void visitNode (const QSvgNode *) override
 
bool visitStructureNodeStart (const QSvgStructureNode *node) override
 
void visitStructureNodeEnd (const QSvgStructureNode *) override
 
void visitAnimationNode (const QSvgAnimation *node) override
 
void visitEllipseNode (const QSvgEllipse *node) override
 
void visitImageNode (const QSvgImage *node) override
 
void visitLineNode (const QSvgLine *node) override
 
void visitPathNode (const QSvgPath *node) override
 
void visitPolygonNode (const QSvgPolygon *node) override
 
void visitPolylineNode (const QSvgPolyline *node) override
 
void visitRectNode (const QSvgRect *node) override
 
void visitTextNode (const QSvgText *node) override
 
void visitUseNode (const QSvgUse *node) override
 
void visitVideoNode (const QSvgVideo *node) override
 
- Protected Member Functions inherited from QSvgVisitor
virtual void visitTspanNode (const QSvgTspan *node)
 
virtual bool visitDocumentNodeStart (const QSvgTinyDocument *node)
 
virtual void visitDocumentNodeEnd (const QSvgTinyDocument *node)
 
virtual bool visitGroupNodeStart (const QSvgG *node)
 
virtual void visitGroupNodeEnd (const QSvgG *node)
 
virtual bool visitDefsNodeStart (const QSvgDefs *node)
 
virtual void visitDefsNodeEnd (const QSvgDefs *node)
 
virtual bool visitSwitchNodeStart (const QSvgSwitch *node)
 
virtual void visitSwitchNodeEnd (const QSvgSwitch *node)
 
virtual bool visitMaskNodeStart (const QSvgMask *node)
 
virtual void visitMaskNodeEnd (const QSvgMask *node)
 

Detailed Description

Definition at line 40 of file qsvgdebug.cpp.

Constructor & Destructor Documentation

◆ SvgDebugVisitor()

SvgDebugVisitor::SvgDebugVisitor ( QDebug & stream)
inline

Definition at line 43 of file qsvgdebug.cpp.

Member Function Documentation

◆ visitAnimationNode()

void SvgDebugVisitor::visitAnimationNode ( const QSvgAnimation * node)
overrideprotectedvirtual

Reimplemented from QSvgVisitor.

Definition at line 96 of file qsvgdebug.cpp.

References Qt::endl().

+ Here is the call graph for this function:

◆ visitEllipseNode()

void SvgDebugVisitor::visitEllipseNode ( const QSvgEllipse * node)
overrideprotectedvirtual

Reimplemented from QSvgVisitor.

Definition at line 102 of file qsvgdebug.cpp.

References Qt::endl(), and QSvgEllipse::rect().

+ Here is the call graph for this function:

◆ visitImageNode()

void SvgDebugVisitor::visitImageNode ( const QSvgImage * node)
overrideprotectedvirtual

Reimplemented from QSvgVisitor.

Definition at line 108 of file qsvgdebug.cpp.

References Qt::endl(), and QSvgImage::image().

+ Here is the call graph for this function:

◆ visitLineNode()

void SvgDebugVisitor::visitLineNode ( const QSvgLine * node)
overrideprotectedvirtual

Reimplemented from QSvgVisitor.

Definition at line 114 of file qsvgdebug.cpp.

References Qt::endl(), and QSvgLine::line().

+ Here is the call graph for this function:

◆ visitNode()

void SvgDebugVisitor::visitNode ( const QSvgNode * node)
overrideprotectedvirtual

Reimplemented from QSvgVisitor.

Definition at line 77 of file qsvgdebug.cpp.

References Qt::endl().

+ Here is the call graph for this function:

◆ visitPathNode()

void SvgDebugVisitor::visitPathNode ( const QSvgPath * node)
overrideprotectedvirtual

Reimplemented from QSvgVisitor.

Definition at line 120 of file qsvgdebug.cpp.

References QPainterPath::elementCount(), Qt::endl(), and QSvgPath::path().

+ Here is the call graph for this function:

◆ visitPolygonNode()

void SvgDebugVisitor::visitPolygonNode ( const QSvgPolygon * node)
overrideprotectedvirtual

Reimplemented from QSvgVisitor.

Definition at line 126 of file qsvgdebug.cpp.

References Qt::endl(), QSvgPolygon::polygon(), and QList< T >::size().

+ Here is the call graph for this function:

◆ visitPolylineNode()

void SvgDebugVisitor::visitPolylineNode ( const QSvgPolyline * node)
overrideprotectedvirtual

Reimplemented from QSvgVisitor.

Definition at line 132 of file qsvgdebug.cpp.

References Qt::endl(), QSvgPolyline::polygon(), and QList< T >::size().

+ Here is the call graph for this function:

◆ visitRectNode()

void SvgDebugVisitor::visitRectNode ( const QSvgRect * node)
overrideprotectedvirtual

Reimplemented from QSvgVisitor.

Definition at line 138 of file qsvgdebug.cpp.

References Qt::endl(), QSvgRect::radius(), and QSvgRect::rect().

+ Here is the call graph for this function:

◆ visitStructureNodeEnd()

void SvgDebugVisitor::visitStructureNodeEnd ( const QSvgStructureNode * node)
overrideprotectedvirtual

Reimplemented from QSvgVisitor.

Definition at line 90 of file qsvgdebug.cpp.

References Qt::endl(), and QSvgNode::nodeId().

+ Here is the call graph for this function:

◆ visitStructureNodeStart()

bool SvgDebugVisitor::visitStructureNodeStart ( const QSvgStructureNode * node)
overrideprotectedvirtual

Reimplemented from QSvgVisitor.

Definition at line 83 of file qsvgdebug.cpp.

References Qt::endl(), QSvgNode::nodeId(), QSvgNode::type(), and typeName.

+ Here is the call graph for this function:

◆ visitTextNode()

void SvgDebugVisitor::visitTextNode ( const QSvgText * node)
overrideprotectedvirtual

Reimplemented from QSvgVisitor.

Definition at line 144 of file qsvgdebug.cpp.

References Qt::endl(), QStringLiteral, text, and QSvgText::tspans().

+ Here is the call graph for this function:

◆ visitUseNode()

void SvgDebugVisitor::visitUseNode ( const QSvgUse * node)
overrideprotectedvirtual

Reimplemented from QSvgVisitor.

Definition at line 157 of file qsvgdebug.cpp.

References Qt::endl(), and QSvgUse::linkId().

+ Here is the call graph for this function:

◆ visitVideoNode()

void SvgDebugVisitor::visitVideoNode ( const QSvgVideo * node)
overrideprotectedvirtual

Reimplemented from QSvgVisitor.

Definition at line 163 of file qsvgdebug.cpp.

References Qt::endl().

+ Here is the call graph for this function:

◆ write()

void SvgDebugVisitor::write ( const QSvgTinyDocument * doc)

Definition at line 169 of file qsvgdebug.cpp.

References Qt::endl(), QSvgTinyDocument::size(), QSvgVisitor::traverse(), and QSvgTinyDocument::viewBox().

Referenced by operator<<().

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

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