19#include <kritaui_export.h>
83 void gridSize(QPointF *offset, QSizeF *spacing)
const override;
91 QPoint documentOffset()
const;
174 void fetchProofingOptions();
175 void updateProofingState();
183 void setProofingConfigUpdated(
bool updated);
192 void setCursor(
const QCursor &cursor)
override;
195 void refetchDataFromImage();
207 void setRenderingLimit(
const QRect &rc);
226 QString colorManagementReport()
const;
246 void updateCanvasProjection(
const QRectF &docRect);
247 void updateCanvasDecorations();
248 void updateCanvasDecorations(
const QRectF &docRect);
249 void updateCanvasToolOutlineDoc(
const QRectF &docRect);
250 void updateCanvasToolOutlineWdg(
const QRect &widgetRect);
251 void updateCanvasScene();
253 void startResizingImage();
254 void finishResizingImage(qint32 w, qint32 h);
257 qreal rotationAngle()
const;
259 bool xAxisMirrored()
const;
260 bool yAxisMirrored()
const;
261 void slotSoftProofing();
262 void slotGamutCheck();
263 void slotChangeGlobalProofingConfig();
264 void slotChangeProofingConfig();
265 void slotPopupPaletteRequestedZoomChange(
int zoom);
267 void channelSelectionChanged();
269 void startUpdateInPatches(
const QRect &imageRect);
271 void slotTrySwitchShapeManager();
276 void slotConfigChanged();
278 void slotScreenChanged(QScreen *screen);
285 void startUpdateCanvasProjection(
const QRect & rc);
286 void updateCanvasProjection();
288 void slotBeginUpdatesBatch();
289 void slotEndUpdatesBatch();
290 void slotSetLodUpdatesBlocked(
bool value);
292 void slotEffectiveZoomChanged(qreal newZoom);
293 void slotCanvasStateChanged();
295 void slotSelectionChanged();
297 void slotDoCanvasUpdate();
299 void bootstrapFinished();
301 void slotUpdateRegionOfInterest();
302 void slotUpdateReferencesBounds();
304 void slotImageColorSpaceChanged();
308 void setWrapAroundViewingMode(
bool value);
309 bool wrapAroundViewingMode()
const;
314 void setLodPreferredInCanvas(
bool value);
315 bool lodPreferredInCanvas()
const;
317 void initializeImage();
318 void disconnectImage();
325 void requestCanvasUpdateMaybeCompressed();
326 void connectCurrentCanvas();
327 void createCanvas(
bool useOpenGL);
328 void createQPainterCanvas();
329 void createOpenGLCanvas();
330 void updateCanvasWidgetImpl(
const QRect &rc = QRect());
332 void resetCanvas(
bool useOpenGL);
335 void notifyLevelOfDetailChange();
343 void initializeFpsDecoration();
347 class KisCanvas2Private;
348 KisCanvas2Private *
const m_d;
float value(const T *src, size_t ch)
KisMagneticGraph::vertex_descriptor source(typename KisMagneticGraph::edge_descriptor e, KisMagneticGraph g)
bool proofingConfigUpdated()
proofingConfigUpdated ask the canvas whether or not it updated the proofing config.
KisCanvas2Private *const m_d
KoSelectedShapesProxy * selectedShapesProxy() const override
const KisCoordinatesConverter * coordinatesConverter() const
const QWidget * canvasWidget() const override
void sigCanvasStateChanged()
void sigContinueResizeImage(qint32 w, qint32 h)
KisPopupPalette * popupPalette()
KoShapeManager * shapeManager() const override
QRect renderingLimit() const
KisOpenGL::FilterMode openGLFilterMode() const
KisAnimationFrameCacheSP frameCache() const
QRect regionOfInterest() const
QWidget * canvasWidget() override
KoToolProxy * toolProxy() const override
void sigCanvasEngineChanged()
void sigRegionOfInterestChanged(const QRect &roi)
KisInputActionGroupsMaskInterface::SharedInterface inputActionGroupsMaskInterface()
KisDisplayColorConverter * displayColorConverter() const
void sigCanvasCacheUpdated()
void updateCanvasRequested(const QRect &rc)
The KisCanvasAnimationState class stores all of the canvas-specific animation state.
KisDisplayConfig This class keeps track of the color management configuration for image to display....
The KisDisplayFilter class is the base class for filters that are applied by the canvas to the projec...
virtual KoShape * currentShapeManagerOwnerShape() const
the shape that owns the currently active shape manager
virtual void setCurrentShapeManagerOwnerShape(KoShape *source)
sets the group shape that is supposed to be "entered"
virtual void disconnectCanvasObserver(QObject *object)
virtual void setCursor(const QCursor &cursor)=0
virtual void gridSize(QPointF *offset, QSizeF *spacing) const =0
virtual bool canvasIsOpenGL() const
virtual KoUnit unit() const =0
virtual QPoint documentOrigin() const
virtual const KoViewConverter * viewConverter() const =0
virtual void updateCanvas(const QRectF &rc)=0
virtual void addCommand(KUndo2Command *command)=0
virtual bool snapToGrid() const =0
The KoSelectedShapesProxy class is a special interface of KoCanvasBase to have a stable connection to...