19#include <kritaui_export.h>
83 void gridSize(QPointF *offset, QSizeF *spacing)
const override;
91 QPoint documentOffset()
const;
171 void fetchProofingOptions();
172 void updateProofingState();
180 void setProofingConfigUpdated(
bool updated);
189 void setCursor(
const QCursor &cursor)
override;
192 void refetchDataFromImage();
204 void setRenderingLimit(
const QRect &rc);
223 QString colorManagementReport()
const;
243 void updateCanvasProjection(
const QRectF &docRect);
244 void updateCanvasDecorations();
245 void updateCanvasDecorations(
const QRectF &docRect);
246 void updateCanvasToolOutlineDoc(
const QRectF &docRect);
247 void updateCanvasToolOutlineWdg(
const QRect &widgetRect);
248 void updateCanvasScene();
250 void startResizingImage();
251 void finishResizingImage(qint32 w, qint32 h);
254 qreal rotationAngle()
const;
256 bool xAxisMirrored()
const;
257 bool yAxisMirrored()
const;
258 void slotSoftProofing();
259 void slotGamutCheck();
260 void slotChangeGlobalProofingConfig();
261 void slotChangeProofingConfig();
262 void slotPopupPaletteRequestedZoomChange(
int zoom);
264 void channelSelectionChanged();
266 void startUpdateInPatches(
const QRect &imageRect);
268 void slotTrySwitchShapeManager();
273 void slotConfigChanged();
275 void slotScreenChanged(QScreen *screen);
282 void startUpdateCanvasProjection(
const QRect & rc);
283 void updateCanvasProjection();
285 void slotBeginUpdatesBatch();
286 void slotEndUpdatesBatch();
287 void slotSetLodUpdatesBlocked(
bool value);
289 void slotEffectiveZoomChanged(qreal newZoom);
290 void slotCanvasStateChanged();
292 void slotSelectionChanged();
294 void slotDoCanvasUpdate();
296 void bootstrapFinished();
298 void slotUpdateRegionOfInterest();
299 void slotUpdateReferencesBounds();
301 void slotImageColorSpaceChanged();
305 void setWrapAroundViewingMode(
bool value);
306 bool wrapAroundViewingMode()
const;
311 void setLodPreferredInCanvas(
bool value);
312 bool lodPreferredInCanvas()
const;
314 void initializeImage();
315 void disconnectImage();
322 void requestCanvasUpdateMaybeCompressed();
323 void connectCurrentCanvas();
324 void createCanvas(
bool useOpenGL);
325 void createQPainterCanvas();
326 void createOpenGLCanvas();
327 void updateCanvasWidgetImpl(
const QRect &rc = QRect());
329 void resetCanvas(
bool useOpenGL);
332 void notifyLevelOfDetailChange();
340 void initializeFpsDecoration();
344 class KisCanvas2Private;
345 KisCanvas2Private *
const m_d;
float value(const T *src, size_t ch)
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 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...