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>
Public Types | |
enum class | Operator : quint8 { Over , In , Out , Atop , Xor , Lighter , Arithmetic } |
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 } |
Additional Inherited Members | |
Static Public Member Functions inherited from QSvgFeFilterPrimitive | |
static const QSvgFeFilterPrimitive * | castToFilterPrimitive (const QSvgNode *node) |
Static Protected Member Functions inherited from QSvgNode | |
static qreal | strokeWidth (QPainter *p) |
static void | initPainter (QPainter *p) |
Protected Attributes inherited from QSvgFeFilterPrimitive | |
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 |
Definition at line 144 of file qsvgfilter_p.h.
|
strong |
Enumerator | |
---|---|
Over | |
In | |
Out | |
Atop | |
Xor | |
Lighter | |
Arithmetic |
Definition at line 147 of file qsvgfilter_p.h.
QSvgFeComposite::QSvgFeComposite | ( | QSvgNode * | parent, |
QString | input, | ||
QString | result, | ||
const QSvgRectF & | rect, | ||
QString | input2, | ||
Operator | op, | ||
QVector4D | k ) |
Definition at line 501 of file qsvgfilter.cpp.
|
overridevirtual |
Implements QSvgFeFilterPrimitive.
Definition at line 516 of file qsvgfilter.cpp.
References QImageIOHandler::allocateImage(), Arithmetic, Atop, QSvgFeFilterPrimitive::clipToTransformedBounds(), QPainter::CompositionMode_DestinationAtop, QPainter::CompositionMode_DestinationIn, QPainter::CompositionMode_DestinationOut, QPainter::CompositionMode_DestinationOver, QPainter::CompositionMode_Lighten, QPainter::CompositionMode_Xor, QImage::Format_RGBA8888, QSvgFeFilterPrimitive::globalFilterBoundingBox(), i, In, QRect::intersected(), item, j, k1, Lighter, QSvgFeFilterPrimitive::localFilterBoundingBox(), QSvgFeFilterPrimitive::m_input, Out, Over, Q_ASSERT, qAlpha(), qBlue(), qBound(), qCWarning, qGreen(), qRed(), QRgb, qRgba(), QSvgFeFilterPrimitive::result(), s2, QRectF::toRect(), Qt::transparent, QRect::united(), QVector4D::w(), QVector4D::x(), Xor, QVector4D::y(), and QVector4D::z().
|
overridevirtual |
Reimplemented from QSvgFeFilterPrimitive.
Definition at line 636 of file qsvgfilter.cpp.
References QSvgFeFilterPrimitive::requiresSourceAlpha().
|
overridevirtual |
Implements QSvgNode.
Definition at line 511 of file qsvgfilter.cpp.
References QSvgNode::FeComposite.