Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSvgUse Class Reference

#include <qsvggraphics_p.h>

Inheritance diagram for QSvgUse:
Collaboration diagram for QSvgUse:

Public Member Functions

 QSvgUse (const QPointF &start, QSvgNode *parent, QSvgNode *link)
 QSvgUse (const QPointF &start, QSvgNode *parent, const QString &linkId)
void drawCommand (QPainter *p, QSvgExtraStates &states) override
Type type () const override
QRectF internalBounds (QPainter *p, QSvgExtraStates &states) const override
QRectF decoratedInternalBounds (QPainter *p, QSvgExtraStates &states) const override
bool isResolved () const
const QStringlinkId () const
void setLink (QSvgNode *link)
QSvgNodelink () const
QPointF start () const
bool isRecursing () const
Public Member Functions inherited from QSvgNode
 QSvgNode (QSvgNode *parent=0)
virtual ~QSvgNode ()
void draw (QPainter *p, QSvgExtraStates &states)
virtual bool separateFillStroke (const QSvgExtraStates &) const
void fillThenStroke (QPainter *p, QSvgExtraStates &states)
QImage drawIntoBuffer (QPainter *p, QSvgExtraStates &states, const QRect &boundsRect)
void applyMaskToBuffer (QImage *proxy, QImage mask) const
void drawWithMask (QPainter *p, QSvgExtraStates &states, const QImage &mask, const QRect &boundsRect)
void applyBufferToCanvas (QPainter *p, QImage proxy) const
QSvgNodeparent () const
bool isDescendantOf (const QSvgNode *parent) const
void appendStyleProperty (QSvgStyleProperty *prop, const QString &id)
void applyStyle (QPainter *p, QSvgExtraStates &states) const
void applyStyleRecursive (QPainter *p, QSvgExtraStates &states) const
void revertStyle (QPainter *p, QSvgExtraStates &states) const
void revertStyleRecursive (QPainter *p, QSvgExtraStates &states) const
void applyAnimatedStyle (QPainter *p, QSvgExtraStates &states) const
void revertAnimatedStyle (QPainter *p, QSvgExtraStates &states) const
QSvgStylePropertystyleProperty (QSvgStyleProperty::Type type) const
QSvgPaintStylePropertystyleProperty (QStringView id) const
QSvgTinyDocumentdocument () const
QString typeName () const
virtual QRectF internalFastBounds (QPainter *p, QSvgExtraStates &states) const
QRectF bounds (QPainter *p, QSvgExtraStates &states) const
QRectF bounds () const
virtual QRectF decoratedBounds (QPainter *p, QSvgExtraStates &states) const
void setRequiredFeatures (const QStringList &lst)
const QStringListrequiredFeatures () const
void setRequiredExtensions (const QStringList &lst)
const QStringListrequiredExtensions () const
void setRequiredLanguages (const QStringList &lst)
const QStringListrequiredLanguages () const
void setRequiredFormats (const QStringList &lst)
const QStringListrequiredFormats () const
void setRequiredFonts (const QStringList &lst)
const QStringListrequiredFonts () const
void setVisible (bool visible)
bool isVisible () const
void setDisplayMode (DisplayMode display)
DisplayMode displayMode () const
QString nodeId () const
void setNodeId (const QString &i)
QString xmlClass () const
void setXmlClass (const QString &str)
QString maskId () const
void setMaskId (const QString &str)
bool hasMask () const
QString filterId () const
void setFilterId (const QString &str)
bool hasFilter () const
QString markerStartId () const
void setMarkerStartId (const QString &str)
bool hasMarkerStart () const
QString markerMidId () const
void setMarkerMidId (const QString &str)
bool hasMarkerMid () const
QString markerEndId () const
void setMarkerEndId (const QString &str)
bool hasMarkerEnd () const
bool hasAnyMarker () const
virtual bool requiresGroupRendering () const
virtual bool shouldDrawNode (QPainter *p, QSvgExtraStates &states) const
const QSvgStaticStylestyle () const

Additional Inherited Members

Public Types inherited from QSvgNode
enum  Type {
  Doc , Group , Defs , Switch ,
  AnimateColor , AnimateTransform , Circle , Ellipse ,
  Image , Line , Path , Polygon ,
  Polyline , Rect , Text , Textarea ,
  Tspan , Use , Video , Mask ,
  Symbol , Marker , Pattern , Filter ,
  FeMerge , FeMergenode , FeColormatrix , FeGaussianblur ,
  FeOffset , FeComposite , FeFlood , FeBlend ,
  FeUnsupported
}
enum  DisplayMode {
  InlineMode , BlockMode , ListItemMode , RunInMode ,
  CompactMode , MarkerMode , TableMode , InlineTableMode ,
  TableRowGroupMode , TableHeaderGroupMode , TableFooterGroupMode , TableRowMode ,
  TableColumnGroupMode , TableColumnMode , TableCellMode , TableCaptionMode ,
  NoneMode , InheritMode
}
Protected Types inherited from QSvgNode
enum  BoundsMode { Simplistic , IncludeMiterLimit }
Protected Member Functions inherited from QSvgNode
QRectF filterRegion (QRectF bounds) const
Static Protected Member Functions inherited from QSvgNode
static qreal strokeWidth (QPainter *p)
static void initPainter (QPainter *p)
static QRectF boundsOnStroke (QPainter *p, const QPainterPath &path, qreal width, BoundsMode mode)
Protected Attributes inherited from QSvgNode
QSvgStaticStyle m_style
QSvgAnimatedStyle m_animatedStyle

Detailed Description

Definition at line 238 of file qsvggraphics_p.h.

Constructor & Destructor Documentation

◆ QSvgUse() [1/2]

QSvgUse::QSvgUse ( const QPointF & start,
QSvgNode * parent,
QSvgNode * link )

Definition at line 565 of file qsvggraphics.cpp.

References QSvgUse().

Referenced by QSvgUse().

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

◆ QSvgUse() [2/2]

QSvgUse::QSvgUse ( const QPointF & start,
QSvgNode * parent,
const QString & linkId )
inline

Definition at line 242 of file qsvggraphics_p.h.

Member Function Documentation

◆ decoratedInternalBounds()

QRectF QSvgUse::decoratedInternalBounds ( QPainter * p,
QSvgExtraStates & states ) const
overridevirtual

Reimplemented from QSvgNode.

Definition at line 674 of file qsvggraphics.cpp.

◆ drawCommand()

void QSvgUse::drawCommand ( QPainter * p,
QSvgExtraStates & states )
overridevirtual

Implements QSvgNode.

Definition at line 571 of file qsvggraphics.cpp.

◆ internalBounds()

QRectF QSvgUse::internalBounds ( QPainter * p,
QSvgExtraStates & states ) const
overridevirtual

Reimplemented from QSvgNode.

Definition at line 662 of file qsvggraphics.cpp.

◆ isRecursing()

bool QSvgUse::isRecursing ( ) const
inline

Definition at line 254 of file qsvggraphics_p.h.

◆ isResolved()

bool QSvgUse::isResolved ( ) const
inline

Definition at line 249 of file qsvggraphics_p.h.

◆ link()

QSvgNode * QSvgUse::link ( ) const
inline

Definition at line 252 of file qsvggraphics_p.h.

◆ linkId()

const QString & QSvgUse::linkId ( ) const
inline

Definition at line 250 of file qsvggraphics_p.h.

◆ setLink()

void QSvgUse::setLink ( QSvgNode * link)
inline

Definition at line 251 of file qsvggraphics_p.h.

◆ start()

QPointF QSvgUse::start ( ) const
inline

Definition at line 253 of file qsvggraphics_p.h.

◆ type()

QSvgNode::Type QSvgUse::type ( ) const
overridevirtual

Implements QSvgNode.

Definition at line 652 of file qsvggraphics.cpp.


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