krita

KoCanvasAdapter Class Reference

List of all members.

Detailed Description

Definition at line 36 of file kobirdeyepanel.h.


Public Member Functions

 KoCanvasAdapter ()
virtual ~KoCanvasAdapter ()
virtual KoRect visibleArea ()=0
virtual QRect size ()=0
virtual double zoomFactor ()=0
virtual void setViewCenterPoint (double x, double y)=0

Member Function Documentation

virtual KoRect KoCanvasAdapter::visibleArea (  )  [pure virtual]

Returns the area of the document that is visible, in pixels.

virtual QRect KoCanvasAdapter::size (  )  [pure virtual]

Returns the total area of the document in pixels.

Use KoPageLayout and KoZoomhandler to take care of zoom, points and whatnot when computing this.

virtual double KoCanvasAdapter::zoomFactor (  )  [pure virtual]

Return the current canvas zoom factor.

virtual void KoCanvasAdapter::setViewCenterPoint ( double  x,
double  y 
) [pure virtual]

Show pt in the center of the view.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys