Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qsvgfilter_p.h>
Static Public Member Functions | |
static const QSvgFeFilterPrimitive * | castToFilterPrimitive (const QSvgNode *node) |
Protected Attributes | |
QString | m_input |
QString | m_result |
QSvgRectF | m_rect |
Protected Attributes inherited from QSvgStructureNode | |
QList< QSvgNode * > | m_renderers |
QHash< QString, QSvgNode * > | m_scope |
QList< QSvgStructureNode * > | m_linkedScopes |
bool | m_recursing = false |
Protected Attributes inherited from QSvgNode | |
QSvgStyle | m_style |
Additional Inherited Members | |
Public Types inherited from QSvgNode | |
enum | Type { Doc , Group , Defs , Switch , Animation , 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 , FeUnsupported } |
enum | DisplayMode { InlineMode , BlockMode , ListItemMode , RunInMode , CompactMode , MarkerMode , TableMode , InlineTableMode , TableRowGroupMode , TableHeaderGroupMode , TableFooterGroupMode , TableRowMode , TableColumnGroupMode , TableColumnMode , TableCellMode , TableCaptionMode , NoneMode , InheritMode } |
Static Protected Member Functions inherited from QSvgNode | |
static qreal | strokeWidth (QPainter *p) |
static void | initPainter (QPainter *p) |
Definition at line 29 of file qsvgfilter_p.h.
QSvgFeFilterPrimitive::QSvgFeFilterPrimitive | ( | QSvgNode * | parent, |
QString | input, | ||
QString | result, | ||
const QSvgRectF & | rect ) |
Definition at line 18 of file qsvgfilter.cpp.
|
pure virtual |
Implemented in QSvgFeColorMatrix, QSvgFeGaussianBlur, QSvgFeOffset, QSvgFeMerge, QSvgFeMergeNode, QSvgFeComposite, QSvgFeFlood, and QSvgFeUnsupported.
|
inlineoverridevirtual |
Reimplemented from QSvgNode.
Definition at line 35 of file qsvgfilter_p.h.
|
static |
Definition at line 69 of file qsvgfilter.cpp.
References QSvgNode::FeColormatrix, QSvgNode::FeComposite, QSvgNode::FeFlood, QSvgNode::FeGaussianblur, QSvgNode::FeMerge, QSvgNode::FeOffset, and QSvgNode::type().
Referenced by QSvgFilterContainer::applyFilter().
void QSvgFeFilterPrimitive::clipToTransformedBounds | ( | QImage * | buffer, |
QPainter * | p, | ||
const QRectF & | localRect ) const |
Definition at line 51 of file qsvgfilter.cpp.
References QPainterPath::addPolygon(), QPainterPath::addRect(), QRect::adjusted(), QPainter::CompositionMode_SourceIn, QPainter::fillPath(), Qt::OddEvenFill, painter, QPainter::setCompositionMode(), QPainterPath::setFillRule(), QPainter::setRenderHints(), QPainter::translate(), and Qt::transparent.
Referenced by QSvgFeColorMatrix::apply(), QSvgFeGaussianBlur::apply(), QSvgFeOffset::apply(), QSvgFeMerge::apply(), QSvgFeComposite::apply(), and QSvgFeFlood::apply().
|
inlineoverridevirtual |
Implements QSvgNode.
Definition at line 33 of file qsvgfilter_p.h.
|
inlineoverridevirtual |
Reimplemented from QSvgNode.
Definition at line 34 of file qsvgfilter_p.h.
QRectF QSvgFeFilterPrimitive::globalFilterBoundingBox | ( | QSvgNode * | item, |
QPainter * | p, | ||
const QRectF & | itemBounds, | ||
const QRectF & | filterBounds, | ||
QtSvg::UnitTypes | primitiveUnits, | ||
QtSvg::UnitTypes | filterUnits ) const |
Definition at line 44 of file qsvgfilter.cpp.
References item, and localFilterBoundingBox().
Referenced by QSvgFeColorMatrix::apply(), QSvgFeGaussianBlur::apply(), and QSvgFeComposite::apply().
|
inline |
Definition at line 47 of file qsvgfilter_p.h.
QRectF QSvgFeFilterPrimitive::localFilterBoundingBox | ( | QSvgNode * | item, |
const QRectF & | itemBounds, | ||
const QRectF & | filterBounds, | ||
QtSvg::UnitTypes | primitiveUnits, | ||
QtSvg::UnitTypes | filterUnits ) const |
Definition at line 28 of file qsvgfilter.cpp.
References QSvgRectF::combinedWithLocalRect(), QSvgNode::document(), QRectF::intersected(), m_rect, QtSvg::userSpaceOnUse, and QSvgTinyDocument::viewBox().
Referenced by QSvgFeColorMatrix::apply(), QSvgFeGaussianBlur::apply(), QSvgFeOffset::apply(), QSvgFeMerge::apply(), QSvgFeComposite::apply(), QSvgFeFlood::apply(), and globalFilterBoundingBox().
|
virtual |
Reimplemented in QSvgFeMerge, and QSvgFeComposite.
Definition at line 64 of file qsvgfilter.cpp.
References m_input.
Referenced by QSvgFeComposite::requiresSourceAlpha().
|
inline |
Definition at line 50 of file qsvgfilter_p.h.
Referenced by QSvgFeColorMatrix::apply(), QSvgFeGaussianBlur::apply(), QSvgFeOffset::apply(), QSvgFeMerge::apply(), QSvgFeComposite::apply(), and QSvgFeFlood::apply().
|
protected |
Definition at line 57 of file qsvgfilter_p.h.
Referenced by QSvgFeColorMatrix::apply(), QSvgFeGaussianBlur::apply(), QSvgFeOffset::apply(), QSvgFeMergeNode::apply(), QSvgFeComposite::apply(), and requiresSourceAlpha().
|
protected |
Definition at line 59 of file qsvgfilter_p.h.
Referenced by localFilterBoundingBox().
|
protected |
Definition at line 58 of file qsvgfilter_p.h.