Qt 4.8
Public Functions | List of all members
QSvgDefs Class Reference

#include <qsvgstructure_p.h>

Inheritance diagram for QSvgDefs:
QSvgStructureNode QSvgNode

Public Functions

virtual void draw (QPainter *p, QSvgExtraStates &states)
 
 QSvgDefs (QSvgNode *parent)
 
Type type () const
 
- Public Functions inherited from QSvgStructureNode
void addChild (QSvgNode *child, const QString &id)
 
virtual QRectF bounds (QPainter *p, QSvgExtraStates &states) const
 
QSvgNodepreviousSiblingNode (QSvgNode *n) const
 
 QSvgStructureNode (QSvgNode *parent)
 
QList< QSvgNode * > renderers () const
 
QSvgNodescopeNode (const QString &id) const
 
 ~QSvgStructureNode ()
 
- Public Functions inherited from QSvgNode
void appendStyleProperty (QSvgStyleProperty *prop, const QString &id)
 
void applyStyle (QPainter *p, QSvgExtraStates &states) const
 
DisplayMode displayMode () const
 
QSvgTinyDocumentdocument () const
 
bool isVisible () const
 
QString nodeId () const
 
QSvgNodeparent () const
 
 QSvgNode (QSvgNode *parent=0)
 
const QStringListrequiredExtensions () const
 
const QStringListrequiredFeatures () const
 
const QStringListrequiredFonts () const
 
const QStringListrequiredFormats () const
 
const QStringListrequiredLanguages () const
 
void revertStyle (QPainter *p, QSvgExtraStates &states) const
 
void setDisplayMode (DisplayMode display)
 
void setNodeId (const QString &i)
 
void setRequiredExtensions (const QStringList &lst)
 
void setRequiredFeatures (const QStringList &lst)
 
void setRequiredFonts (const QStringList &lst)
 
void setRequiredFormats (const QStringList &lst)
 
void setRequiredLanguages (const QStringList &lst)
 
void setVisible (bool visible)
 
void setXmlClass (const QString &str)
 
QSvgStylePropertystyleProperty (QSvgStyleProperty::Type type) const
 
QSvgFillStylePropertystyleProperty (const QString &id) const
 
virtual QRectF transformedBounds (QPainter *p, QSvgExtraStates &states) const
 
QRectF transformedBounds () const
 
QString xmlClass () const
 
virtual ~QSvgNode ()
 

Additional Inherited Members

- Public Types inherited from QSvgNode
enum  DisplayMode {
  InlineMode, BlockMode, ListItemMode, RunInMode,
  CompactMode, MarkerMode, TableMode, InlineTableMode,
  TableRowGroupMode, TableHeaderGroupMode, TableFooterGroupMode, TableRowMode,
  TableColumnGroupMode, TableColumnMode, TableCellMode, TableCaptionMode,
  NoneMode, InheritMode
}
 
enum  Type {
  DOC, G, DEFS, SWITCH,
  ANIMATION, ARC, CIRCLE, ELLIPSE,
  IMAGE, LINE, PATH, POLYGON,
  POLYLINE, RECT, TEXT, TEXTAREA,
  TSPAN, USE, VIDEO
}
 
- Static Protected Functions inherited from QSvgNode
static qreal strokeWidth (QPainter *p)
 
- Protected Variables inherited from QSvgStructureNode
QList< QSvgStructureNode * > m_linkedScopes
 
QList< QSvgNode * > m_renderers
 
QHash< QString, QSvgNode * > m_scope
 
- Protected Variables inherited from QSvgNode
QSvgStyle m_style
 

Detailed Description

Definition at line 94 of file qsvgstructure_p.h.

Constructors and Destructors

◆ QSvgDefs()

QSvgDefs::QSvgDefs ( QSvgNode parent)

Definition at line 110 of file qsvgstructure.cpp.

111  : QSvgStructureNode(parent)
112 {
113 }
QSvgStructureNode(QSvgNode *parent)

Functions

◆ draw()

void QSvgDefs::draw ( QPainter p,
QSvgExtraStates states 
)
virtual

Implements QSvgNode.

Definition at line 115 of file qsvgstructure.cpp.

116 {
117  //noop
118 }

◆ type()

QSvgNode::Type QSvgDefs::type ( ) const
virtual

Implements QSvgNode.

Definition at line 120 of file qsvgstructure.cpp.

121 {
122  return DEFS;
123 }

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