19#include <kritaui_export.h>
83 void gridSize(QPointF *offset, QSizeF *spacing)
const override;
91 QPoint documentOffset()
const;
176 void fetchProofingOptions();
177 void updateProofingState();
185 void setProofingConfigUpdated(
bool updated);
194 void setCursor(
const QCursor &cursor)
override;
197 void refetchDataFromImage();
209 void setRenderingLimit(
const QRect &rc);
228 QString colorManagementReport()
const;
248 void updateCanvasProjection(
const QRectF &docRect);
249 void updateCanvasDecorations();
250 void updateCanvasDecorations(
const QRectF &docRect);
251 void updateCanvasToolOutlineDoc(
const QRectF &docRect);
252 void updateCanvasToolOutlineWdg(
const QRect &widgetRect);
253 void updateCanvasScene();
255 void startResizingImage();
256 void finishResizingImage(qint32 w, qint32 h);
259 qreal rotationAngle()
const;
261 bool xAxisMirrored()
const;
262 bool yAxisMirrored()
const;
263 void slotSoftProofing();
264 void slotGamutCheck();
265 void slotChangeGlobalProofingConfig();
266 void slotChangeProofingConfig();
267 void slotPopupPaletteRequestedZoomChange(
int zoom);
269 void channelSelectionChanged();
271 void startUpdateInPatches(
const QRect &imageRect);
273 void slotTrySwitchShapeManager();
278 void slotConfigChanged();
280 void slotScreenChanged(QScreen *screen);
287 void startUpdateCanvasProjection(
const QRect & rc);
288 void updateCanvasProjection();
290 void slotBeginUpdatesBatch();
291 void slotEndUpdatesBatch();
292 void slotSetLodUpdatesBlocked(
bool value);
294 void slotEffectiveZoomChanged(qreal newZoom);
295 void slotCanvasStateChanged();
297 void slotSelectionChanged();
299 void slotDoCanvasUpdate();
301 void bootstrapFinished();
303 void slotUpdateRegionOfInterest();
304 void slotUpdateReferencesBounds();
306 void slotImageColorSpaceChanged();
310 void setWrapAroundViewingMode(
bool value);
311 bool wrapAroundViewingMode()
const;
316 void setLodPreferredInCanvas(
bool value);
317 bool lodPreferredInCanvas()
const;
319 void initializeImage();
320 void disconnectImage();
327 void requestCanvasUpdateMaybeCompressed();
328 void connectCurrentCanvas();
329 void createCanvas(
bool useOpenGL);
330 void createQPainterCanvas();
331 void createOpenGLCanvas();
332 void updateCanvasWidgetImpl(
const QRect &rc = QRect());
334 void resetCanvas(
bool useOpenGL);
337 void notifyLevelOfDetailChange();
345 void initializeFpsDecoration();
349 class KisCanvas2Private;
350 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 KoColorDisplayRendererInterface * displayRendererInterface() const
displayRendererInterface The display renderer interface has a number of color conversion functions wh...
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...