|
| void | initializePainter (QPainter &painter, QPaintDevice &device, const QRect &blitRect) |
| | CanvasPainter::initializePainter Enriches the painter with a context and sets it's initial matrix.
|
| |
| void | paintOnionSkinOnLayer (QPainter &painter, const QRect &blitRect, Layer *layer) |
| |
| void | paintOnionSkin (QPainter &painter, const QRect &blitRect) |
| |
| void | renderPostLayers (QPainter &painter, const QRect &blitRect) |
| |
| void | renderPreLayers (QPainter &painter, const QRect &blitRect) |
| |
| void | paintCurrentFrame (QPainter &painter, const QRect &blitRect, int startLayer, int endLayer) |
| | Paints layers within the specified range for the current frame.
|
| |
| void | paintTransformedSelection (QPainter &painter, BitmapImage *bitmapImage, const QRect &selection) const |
| |
| void | paintBitmapOnionSkinFrame (QPainter &painter, const QRect &blitRect, Layer *layer, int nFrame, bool colorize) |
| |
| void | paintVectorOnionSkinFrame (QPainter &painter, const QRect &blitRect, Layer *layer, int nFrame, bool colorize) |
| |
| void | paintOnionSkinFrame (QPainter &painter, QPainter &onionSkinPainter, int nFrame, bool colorize, qreal frameOpacity) |
| |
| void | paintCurrentBitmapFrame (QPainter &painter, const QRect &blitRect, Layer *layer, bool isCurrentLayer) |
| |
| void | paintCurrentVectorFrame (QPainter &painter, const QRect &blitRect, Layer *layer, bool isCurrentLayer) |
| |
Definition at line 53 of file canvaspainter.h.
◆ CanvasPainter()
| CanvasPainter::CanvasPainter |
( |
QPixmap & |
canvas | ) |
|
|
explicit |
◆ ~CanvasPainter()
| CanvasPainter::~CanvasPainter |
( |
| ) |
|
|
virtual |
◆ ignoreTransformedSelection()
| void CanvasPainter::ignoreTransformedSelection |
( |
| ) |
|
◆ initializePainter()
CanvasPainter::initializePainter Enriches the painter with a context and sets it's initial matrix.
- Parameters
-
| painter | The in/out painter |
| pixmap | The paint device ie. a pixmap |
| blitRect | The rect where the blitting will occur |
Definition at line 125 of file canvaspainter.cpp.
◆ paint()
| void CanvasPainter::paint |
( |
const QRect & |
blitRect | ) |
|
◆ paintBitmapOnionSkinFrame()
| void CanvasPainter::paintBitmapOnionSkinFrame |
( |
QPainter & |
painter, |
|
|
const QRect & |
blitRect, |
|
|
Layer * |
layer, |
|
|
int |
nFrame, |
|
|
bool |
colorize |
|
) |
| |
|
private |
◆ paintCached()
| void CanvasPainter::paintCached |
( |
const QRect & |
blitRect | ) |
|
◆ paintCurrentBitmapFrame()
| void CanvasPainter::paintCurrentBitmapFrame |
( |
QPainter & |
painter, |
|
|
const QRect & |
blitRect, |
|
|
Layer * |
layer, |
|
|
bool |
isCurrentLayer |
|
) |
| |
|
private |
◆ paintCurrentFrame()
| void CanvasPainter::paintCurrentFrame |
( |
QPainter & |
painter, |
|
|
const QRect & |
blitRect, |
|
|
int |
startLayer, |
|
|
int |
endLayer |
|
) |
| |
|
private |
Paints layers within the specified range for the current frame.
- Parameters
-
| painter | The painter to paint to |
| startLayer | The first layer to paint (inclusive) |
| endLayer | The last layer to paint (inclusive) |
Definition at line 412 of file canvaspainter.cpp.
◆ paintCurrentVectorFrame()
| void CanvasPainter::paintCurrentVectorFrame |
( |
QPainter & |
painter, |
|
|
const QRect & |
blitRect, |
|
|
Layer * |
layer, |
|
|
bool |
isCurrentLayer |
|
) |
| |
|
private |
◆ paintOnionSkin()
| void CanvasPainter::paintOnionSkin |
( |
QPainter & |
painter, |
|
|
const QRect & |
blitRect |
|
) |
| |
|
private |
◆ paintOnionSkinFrame()
| void CanvasPainter::paintOnionSkinFrame |
( |
QPainter & |
painter, |
|
|
QPainter & |
onionSkinPainter, |
|
|
int |
nFrame, |
|
|
bool |
colorize, |
|
|
qreal |
frameOpacity |
|
) |
| |
|
private |
◆ paintOnionSkinOnLayer()
| void CanvasPainter::paintOnionSkinOnLayer |
( |
QPainter & |
painter, |
|
|
const QRect & |
blitRect, |
|
|
Layer * |
layer |
|
) |
| |
|
private |
◆ paintTransformedSelection()
| void CanvasPainter::paintTransformedSelection |
( |
QPainter & |
painter, |
|
|
BitmapImage * |
bitmapImage, |
|
|
const QRect & |
selection |
|
) |
| const |
|
private |
◆ paintVectorOnionSkinFrame()
| void CanvasPainter::paintVectorOnionSkinFrame |
( |
QPainter & |
painter, |
|
|
const QRect & |
blitRect, |
|
|
Layer * |
layer, |
|
|
int |
nFrame, |
|
|
bool |
colorize |
|
) |
| |
|
private |
◆ renderPostLayers()
| void CanvasPainter::renderPostLayers |
( |
QPainter & |
painter, |
|
|
const QRect & |
blitRect |
|
) |
| |
|
private |
◆ renderPreLayers()
| void CanvasPainter::renderPreLayers |
( |
QPainter & |
painter, |
|
|
const QRect & |
blitRect |
|
) |
| |
|
private |
◆ reset()
| void CanvasPainter::reset |
( |
| ) |
|
◆ resetLayerCache()
| void CanvasPainter::resetLayerCache |
( |
| ) |
|
◆ setOnionSkinOptions()
◆ setOptions()
◆ setPaintSettings()
| void CanvasPainter::setPaintSettings |
( |
const Object * |
object, |
|
|
int |
currentLayer, |
|
|
int |
frame, |
|
|
TiledBuffer * |
tilledBuffer |
|
) |
| |
◆ setTransformedSelection()
| void CanvasPainter::setTransformedSelection |
( |
QRect |
selection, |
|
|
QTransform |
transform |
|
) |
| |
◆ setViewTransform()
◆ mCanvas
◆ mCurrentLayerIndex
| int CanvasPainter::mCurrentLayerIndex = 0 |
|
private |
◆ mCurrentLayerPixmap
| QPixmap CanvasPainter::mCurrentLayerPixmap |
|
private |
◆ mFrameNumber
| int CanvasPainter::mFrameNumber = 0 |
|
private |
◆ mObject
| const Object* CanvasPainter::mObject = nullptr |
|
private |
◆ mOnionSkinPainterOptions
◆ mOnionSkinPixmap
| QPixmap CanvasPainter::mOnionSkinPixmap |
|
private |
◆ mOnionSkinSubPainter
◆ mOptions
◆ mPointZero
| const QPointF CanvasPainter::mPointZero |
|
private |
◆ mPostLayersPixmap
| QPixmap CanvasPainter::mPostLayersPixmap |
|
private |
◆ mPostLayersPixmapCacheValid
| bool CanvasPainter::mPostLayersPixmapCacheValid = false |
|
private |
◆ mPreLayersPixmap
| QPixmap CanvasPainter::mPreLayersPixmap |
|
private |
◆ mPreLayersPixmapCacheValid
| bool CanvasPainter::mPreLayersPixmapCacheValid = false |
|
private |
◆ mRenderTransform
| bool CanvasPainter::mRenderTransform = false |
|
private |
◆ mScaledBitmap
| QImage CanvasPainter::mScaledBitmap |
|
private |
◆ mSelection
| QRect CanvasPainter::mSelection |
|
private |
◆ mSelectionTransform
◆ mTiledBuffer
◆ mViewInverse
◆ mViewTransform
◆ OVERLAY_SAFE_CENTER_CROSS_SIZE
| const int CanvasPainter::OVERLAY_SAFE_CENTER_CROSS_SIZE = 25 |
|
staticprivate |
The documentation for this class was generated from the following files: