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 | ColorShiftType : quint8 { Matrix , Saturate , HueRotate , LuminanceToAlpha } |
typedef QGenericMatrix< 5, 5, qreal > | Matrix |
typedef QGenericMatrix< 5, 1, qreal > | Vector |
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 64 of file qsvgfilter_p.h.
typedef QGenericMatrix<5, 5, qreal> QSvgFeColorMatrix::Matrix |
Definition at line 74 of file qsvgfilter_p.h.
typedef QGenericMatrix<5, 1, qreal> QSvgFeColorMatrix::Vector |
Definition at line 75 of file qsvgfilter_p.h.
|
strong |
Enumerator | |
---|---|
Matrix | |
Saturate | |
HueRotate | |
LuminanceToAlpha |
Definition at line 67 of file qsvgfilter_p.h.
QSvgFeColorMatrix::QSvgFeColorMatrix | ( | QSvgNode * | parent, |
QString | input, | ||
QString | result, | ||
const QSvgRectF & | rect, | ||
ColorShiftType | type, | ||
Matrix | matrix ) |
Definition at line 83 of file qsvgfilter.cpp.
References QGenericMatrix< N, M, T >::data(), QGenericMatrix< N, M, T >::fill(), HueRotate, LuminanceToAlpha, M_PI, qBound(), Saturate, and void.
|
overridevirtual |
Implements QSvgFeFilterPrimitive.
Definition at line 185 of file qsvgfilter.cpp.
References a2, QImageIOHandler::allocateImage(), QSvgFeFilterPrimitive::clipToTransformedBounds(), QGenericMatrix< N, M, T >::data(), QImage::Format_RGBA8888, QSvgFeFilterPrimitive::globalFilterBoundingBox(), i, QRect::intersected(), item, j, QSvgFeFilterPrimitive::localFilterBoundingBox(), QSvgFeFilterPrimitive::m_input, Q_ASSERT, qAlpha(), qBlue(), qBound(), qCWarning, qGreen(), qRed(), QRgb, qRgba(), r2, QSvgFeFilterPrimitive::result(), QRectF::toRect(), and Qt::transparent.
|
overridevirtual |
Implements QSvgNode.
Definition at line 180 of file qsvgfilter.cpp.
References QSvgNode::FeColormatrix.