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
QSvgFeMerge Class Reference

#include <qsvgfilter_p.h>

Inheritance diagram for QSvgFeMerge:
Collaboration diagram for QSvgFeMerge:

Public Member Functions

 QSvgFeMerge (QSvgNode *parent, const QString &input, const QString &result, const QSvgRectF &rect)
 ~QSvgFeMerge () override
Type type () const override
QImage apply (const QMap< QString, QImage > &sources, QPainter *p, const QRectF &itemBounds, const QRectF &filterBounds, QtSvg::UnitTypes primitiveUnits, QtSvg::UnitTypes filterUnits) const override
bool requiresSourceAlpha () const override
Public Member Functions inherited from QSvgFeFilterPrimitive
 QSvgFeFilterPrimitive (QSvgNode *parent, const QString &input, const QString &result, const QSvgRectF &rect)
 ~QSvgFeFilterPrimitive () override
void drawCommand (QPainter *, QSvgExtraStates &) override
bool shouldDrawNode (QPainter *, QSvgExtraStates &) const override
QRectF internalFastBounds (QPainter *, QSvgExtraStates &) const override
QRectF internalBounds (QPainter *, QSvgExtraStates &) const override
QRectF localSubRegion (const QRectF &itemBounds, const QRectF &filterBounds, QtSvg::UnitTypes primitiveUnits, QtSvg::UnitTypes filterUnits) const
QRectF globalSubRegion (QPainter *p, const QRectF &itemBounds, const QRectF &filterBounds, QtSvg::UnitTypes primitiveUnits, QtSvg::UnitTypes filterUnits) const
void clipToTransformedBounds (QImage *buffer, QPainter *p, const QRectF &localRect) const
QString input () const
QString result () const
QSvgRectF rect () const
Public Member Functions inherited from QSvgStructureNode
 QSvgStructureNode (QSvgNode *parent)
 ~QSvgStructureNode () override
void addChild (QSvgDocument *doc, std::unique_ptr< QSvgNode > child, const QString &id)
QRectF internalBounds (QPainter *p, QSvgExtraStates &states) const override
QRectF decoratedInternalBounds (QPainter *p, QSvgExtraStates &states) const override
QSvgNode * previousSiblingNode (QSvgNode *n) const
const std::list< std::unique_ptr< QSvgNode > > & renderers () const
Public Member Functions inherited from QSvgNode
 QSvgNode (QSvgNode *parent=0)
virtual ~QSvgNode ()
void draw (QPainter *p, QSvgExtraStates &states)
virtual bool separateFillStroke (const QPainter *, const QSvgExtraStates &) const
void fillThenStroke (QPainter *p, QSvgExtraStates &states)
QImage drawIntoBuffer (QPainter *p, QSvgExtraStates &states, const QRect &boundsRect)
void applyMaskToBuffer (QImage *proxy, const QImage &mask) const
void drawWithMask (QPainter *p, QSvgExtraStates &states, const QImage &mask, const QRect &boundsRect)
void applyBufferToCanvas (QPainter *p, const QImage &proxy) const
QSvgNode * parent () const
bool isDescendantOf (const QSvgNode *parent) const
void appendStyleProperty (QSvgStylePropertyPtr prop)
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
QSvgStyleProperty * styleProperty (QSvgStyleProperty::Type type) const
QLatin1StringView typeName () const
QRectF bounds (QPainter *p, QSvgExtraStates &states) const
QRectF bounds (const QSvgDocument *doc) const
virtual QRectF decoratedBounds (QPainter *p, QSvgExtraStates &states) const
void setRequiredFeatures (const QStringList &lst)
const QStringList & requiredFeatures () const
void setRequiredExtensions (const QStringList &lst)
const QStringList & requiredExtensions () const
void setRequiredLanguages (const QStringList &lst)
const QStringList & requiredLanguages () const
void setRequiredFormats (const QStringList &lst)
const QStringList & requiredFormats () const
void setRequiredFonts (const QStringList &lst)
const QStringList & requiredFonts () 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
const QSvgStaticStyle & style () 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 , Font
}
enum  DisplayMode {
  InlineMode , BlockMode , ListItemMode , RunInMode ,
  CompactMode , MarkerMode , TableMode , InlineTableMode ,
  TableRowGroupMode , TableHeaderGroupMode , TableFooterGroupMode , TableRowMode ,
  TableColumnGroupMode , TableColumnMode , TableCellMode , TableCaptionMode ,
  NoneMode , InheritMode
}
Static Public Member Functions inherited from QSvgFeFilterPrimitive
static const QSvgFeFilterPrimitive * castToFilterPrimitive (const QSvgNode *node)
Protected Types inherited from QSvgNode
enum  BoundsMode { Simplistic , IncludeMiterLimit }
Protected Member Functions inherited from QSvgStructureNode
void releaseDescendants ()
Protected Member Functions inherited from QSvgNode
QRectF filterRegion (const QSvgDocument *doc, 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 QSvgFeFilterPrimitive
QString m_input
QString m_result
QSvgRectF m_rect
Protected Attributes inherited from QSvgStructureNode
std::list< std::unique_ptr< QSvgNode > > m_renderers
bool m_recursing = false
Protected Attributes inherited from QSvgNode
QSvgStaticStyle m_style
QSvgAnimatedStyle m_animatedStyle

Detailed Description

Definition at line 141 of file qsvgfilter_p.h.

Constructor & Destructor Documentation

◆ QSvgFeMerge()

QSvgFeMerge::QSvgFeMerge ( QSvgNode * parent,
const QString & input,
const QString & result,
const QSvgRectF & rect )

Definition at line 519 of file qsvgfilter.cpp.

◆ ~QSvgFeMerge()

QSvgFeMerge::~QSvgFeMerge ( )
overridedefault

Member Function Documentation

◆ apply()

QImage QSvgFeMerge::apply ( const QMap< QString, QImage > & sources,
QPainter * p,
const QRectF & itemBounds,
const QRectF & filterBounds,
QtSvg::UnitTypes primitiveUnits,
QtSvg::UnitTypes filterUnits ) const
overridevirtual

Implements QSvgFeFilterPrimitive.

Definition at line 534 of file qsvgfilter.cpp.

◆ requiresSourceAlpha()

bool QSvgFeMerge::requiresSourceAlpha ( ) const
overridevirtual

Reimplemented from QSvgFeFilterPrimitive.

Definition at line 569 of file qsvgfilter.cpp.

◆ type()

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

Implements QSvgNode.

Definition at line 529 of file qsvgfilter.cpp.


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