NovaSVG 0.10.0
A header-only SVG library
Loading...
Searching...
No Matches
novasvg::SVGNode Class Referenceabstract

#include <svgelement.h>

Inheritance diagram for novasvg::SVGNode:

Public Member Functions

 SVGNode (Document *document)
 
virtual ~SVGNode ()=default
 
virtual bool isTextNode () const
 
virtual bool isElement () const
 
virtual bool isPaintElement () const
 
virtual bool isGraphicsElement () const
 
virtual bool isGeometryElement () const
 
virtual bool isTextPositioningElement () const
 
Document * document () const
 
SVGRootElement * rootElement () const
 
SVGElement * parentElement () const
 
void setParentElement (SVGElement *parent)
 
bool isRootElement () const
 
virtual std::unique_ptr< SVGNode > clone (bool deep) const =0
 

Detailed Description

Definition at line 685 of file svgelement.h.

Constructor & Destructor Documentation

◆ SVGNode()

novasvg::SVGNode::SVGNode ( Document *  document)
inline

Definition at line 687 of file svgelement.h.

◆ ~SVGNode()

virtual novasvg::SVGNode::~SVGNode ( )
virtualdefault

Member Function Documentation

◆ clone()

virtual std::unique_ptr< SVGNode > novasvg::SVGNode::clone ( bool  deep) const
pure virtual

◆ document()

Document * novasvg::SVGNode::document ( ) const
inline

◆ isElement()

virtual bool novasvg::SVGNode::isElement ( ) const
inlinevirtual

◆ isGeometryElement()

virtual bool novasvg::SVGNode::isGeometryElement ( ) const
inlinevirtual

Reimplemented in novasvg::SVGGeometryElement.

Definition at line 696 of file svgelement.h.

Referenced by novasvg::toSVGGeometryElement().

◆ isGraphicsElement()

virtual bool novasvg::SVGNode::isGraphicsElement ( ) const
inlinevirtual

Reimplemented in novasvg::SVGGraphicsElement.

Definition at line 695 of file svgelement.h.

◆ isPaintElement()

virtual bool novasvg::SVGNode::isPaintElement ( ) const
inlinevirtual

Reimplemented in novasvg::SVGPaintElement.

Definition at line 694 of file svgelement.h.

◆ isRootElement()

bool novasvg::SVGNode::isRootElement ( ) const
inline

Definition at line 705 of file svgelement.h.

Referenced by novasvg::SVGSVGElement::localTransform().

◆ isTextNode()

virtual bool novasvg::SVGNode::isTextNode ( ) const
inlinevirtual

◆ isTextPositioningElement()

virtual bool novasvg::SVGNode::isTextPositioningElement ( ) const
inlinevirtual

Reimplemented in novasvg::SVGTextPositioningElement.

Definition at line 697 of file svgelement.h.

Referenced by novasvg::toSVGTextPositioningElement().

◆ parentElement()

◆ rootElement()

◆ setParentElement()

void novasvg::SVGNode::setParentElement ( SVGElement *  parent)
inline

Definition at line 703 of file svgelement.h.

Referenced by novasvg::SVGElement::addChild().


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