Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeManager::PaintJob Struct Reference

#include <KoShapeManager.h>

Public Types

using ShapesStorage = std::vector<std::unique_ptr<KoShape>>
 
using SharedSafeStorage = std::shared_ptr<ShapesStorage>
 

Public Member Functions

bool isEmpty () const
 
 PaintJob ()=default
 
 PaintJob (QRectF _docUpdateRect, QRect _viewUpdateRect)
 

Public Attributes

SharedSafeStorage allClonedShapes
 
QRectF docUpdateRect
 
QList< KoShape * > shapes
 
QRect viewUpdateRect
 

Detailed Description

Definition at line 101 of file KoShapeManager.h.

Member Typedef Documentation

◆ ShapesStorage

using KoShapeManager::PaintJob::ShapesStorage = std::vector<std::unique_ptr<KoShape>>

Definition at line 102 of file KoShapeManager.h.

◆ SharedSafeStorage

Definition at line 103 of file KoShapeManager.h.

Constructor & Destructor Documentation

◆ PaintJob() [1/2]

KoShapeManager::PaintJob::PaintJob ( )
default

◆ PaintJob() [2/2]

KoShapeManager::PaintJob::PaintJob ( QRectF _docUpdateRect,
QRect _viewUpdateRect )
inline

Definition at line 106 of file KoShapeManager.h.

107 : docUpdateRect(_docUpdateRect),
108 viewUpdateRect(_viewUpdateRect)
109 {
110 }

Member Function Documentation

◆ isEmpty()

bool KoShapeManager::PaintJob::isEmpty ( ) const
inline

Definition at line 112 of file KoShapeManager.h.

112 {
113 return shapes.isEmpty();
114 }
QList< KoShape * > shapes

Member Data Documentation

◆ allClonedShapes

SharedSafeStorage KoShapeManager::PaintJob::allClonedShapes

Definition at line 120 of file KoShapeManager.h.

◆ docUpdateRect

QRectF KoShapeManager::PaintJob::docUpdateRect

Definition at line 116 of file KoShapeManager.h.

◆ shapes

QList<KoShape*> KoShapeManager::PaintJob::shapes

Definition at line 119 of file KoShapeManager.h.

◆ viewUpdateRect

QRect KoShapeManager::PaintJob::viewUpdateRect

Definition at line 117 of file KoShapeManager.h.


The documentation for this struct was generated from the following file: