#include <novasvg.h>
Definition at line 363 of file novasvg.h.
◆ Node() [1/2]
◆ Node() [2/2]
| novasvg::Node::Node |
( |
SVGNode * |
node | ) |
|
|
inlineprotected |
◆ isElement()
| bool novasvg::Node::isElement |
( |
| ) |
const |
|
inline |
◆ isNull()
| bool novasvg::Node::isNull |
( |
| ) |
const |
|
inline |
Checks if the node is null.
- Returns
- True if the node is null, false otherwise.
Definition at line 404 of file novasvg.h.
◆ isTextNode()
| bool novasvg::Node::isTextNode |
( |
| ) |
const |
|
inline |
◆ node()
| SVGNode * novasvg::Node::node |
( |
| ) |
const |
|
inlineprotected |
◆ operator bool()
| novasvg::Node::operator bool |
( |
| ) |
const |
|
inline |
Checks if the node is not null.
- Returns
- True if the node is not null, false otherwise.
Definition at line 410 of file novasvg.h.
◆ operator!=()
| bool novasvg::Node::operator!= |
( |
const Node & |
node | ) |
const |
|
inline |
Checks if two nodes are not equal.
- Parameters
-
| element | The node to compare. |
- Returns
- True if not equal, otherwise false.
Definition at line 424 of file novasvg.h.
References m_node.
◆ operator==()
| bool novasvg::Node::operator== |
( |
const Node & |
node | ) |
const |
|
inline |
Checks if two nodes are equal.
- Parameters
-
| element | The node to compare. |
- Returns
- True if equal, otherwise false.
Definition at line 417 of file novasvg.h.
References m_node.
◆ parentElement()
| Element novasvg::Node::parentElement |
( |
| ) |
const |
|
inline |
◆ toElement()
| Element novasvg::Node::toElement |
( |
| ) |
const |
|
inline |
◆ toTextNode()
| TextNode novasvg::Node::toTextNode |
( |
| ) |
const |
|
inline |
◆ Element
◆ m_node
| SVGNode* novasvg::Node::m_node {nullptr} |
|
protected |
Definition at line 429 of file novasvg.h.
Referenced by novasvg::Element::children(), novasvg::TextNode::data(), novasvg::Element::getAttribute(), novasvg::Element::getBoundingBox(), novasvg::Element::getGlobalMatrix(), novasvg::Element::getLocalMatrix(), novasvg::Element::hasAttribute(), isElement(), isTextNode(), operator!=(), operator==(), parentElement(), novasvg::Element::render(), novasvg::Element::renderToBitmap(), novasvg::Element::setAttribute(), novasvg::TextNode::setData(), toElement(), and toTextNode().
The documentation for this class was generated from the following file:
- /home/runner/work/novasvg/novasvg/include/novasvg/novasvg.h