|
Krita Source Code Documentation
|
This class provides the render context for filter effects. More...
#include <KoFilterEffectRenderContext.h>
Inheritance diagram for KoFilterEffectRenderContext:Public Member Functions | |
| QRectF | filterRegion () const |
| Returns the filter region the filter is applied to. | |
| KoFilterEffectRenderContext (const KoViewConverter &converter) | |
| Private (const KoViewConverter &viewConverter) | |
| void | setFilterRegion (const QRectF &filterRegion) |
| Sets the filter region the filter is applied to. | |
| void | setShapeBoundingBox (const QRectF &bound) |
| Sets the shape bounding box used to convert to user space coordinates. | |
| QPointF | toUserSpace (const QPointF &value) const |
| Converts point from bounding box coordinates to user space coordinates. | |
| qreal | toUserSpaceX (qreal value) const |
| Converts x-coordinate from bounding box coordinates to user space coordinates. | |
| qreal | toUserSpaceY (qreal value) const |
| Converts y-coordinate from bounding box coordinates to user space coordinates. | |
| const KoViewConverter * | viewConverter () const |
| Returns the view converter. | |
| ~KoFilterEffectRenderContext () | |
Public Attributes | |
| const KoViewConverter & | converter |
| QRectF | filterRegion |
| QRectF | shapeBound |
Private Attributes | |
| Private *const | d |
Private Attributes inherited from Private | |
| KisCanvas2 * | canvas |
| int | displayedFrame |
| int | intendedFrame |
Additional Inherited Members | |
Private Member Functions inherited from Private | |
| Private (KisCanvas2 *c) | |
This class provides the render context for filter effects.
Definition at line 12 of file KoFilterEffectRenderContext.cpp.
|
explicit |
Definition at line 24 of file KoFilterEffectRenderContext.cpp.
| KoFilterEffectRenderContext::~KoFilterEffectRenderContext | ( | ) |
| QRectF KoFilterEffectRenderContext::filterRegion | ( | ) | const |
Returns the filter region the filter is applied to.
|
inline |
Definition at line 15 of file KoFilterEffectRenderContext.cpp.
| void KoFilterEffectRenderContext::setFilterRegion | ( | const QRectF & | filterRegion | ) |
Sets the filter region the filter is applied to.
Definition at line 39 of file KoFilterEffectRenderContext.cpp.
References d, and filterRegion.
| void KoFilterEffectRenderContext::setShapeBoundingBox | ( | const QRectF & | bound | ) |
Sets the shape bounding box used to convert to user space coordinates.
Definition at line 44 of file KoFilterEffectRenderContext.cpp.
References d.
| QPointF KoFilterEffectRenderContext::toUserSpace | ( | const QPointF & | value | ) | const |
Converts point from bounding box coordinates to user space coordinates.
Definition at line 49 of file KoFilterEffectRenderContext.cpp.
| qreal KoFilterEffectRenderContext::toUserSpaceX | ( | qreal | value | ) | const |
| qreal KoFilterEffectRenderContext::toUserSpaceY | ( | qreal | value | ) | const |
| const KoViewConverter * KoFilterEffectRenderContext::viewConverter | ( | ) | const |
Returns the view converter.
Definition at line 64 of file KoFilterEffectRenderContext.cpp.
References d.
| const KoViewConverter& KoFilterEffectRenderContext::converter |
Definition at line 21 of file KoFilterEffectRenderContext.cpp.
|
private |
Definition at line 48 of file KoFilterEffectRenderContext.h.
| QRectF KoFilterEffectRenderContext::filterRegion |
Definition at line 19 of file KoFilterEffectRenderContext.cpp.
| QRectF KoFilterEffectRenderContext::shapeBound |
Definition at line 20 of file KoFilterEffectRenderContext.cpp.