krita
KoThumbnailAdapter Class Reference
List of all members.Detailed Description
Definition at line 105 of file kobirdeyepanel.h.
Public Member Functions | |
| KoThumbnailAdapter () | |
| ~KoThumbnailAdapter () | |
| virtual QSize | pixelSize ()=0 |
| virtual QImage | image (QRect r, QSize thumbnailSize)=0 |
Member Function Documentation
| virtual QSize KoThumbnailAdapter::pixelSize | ( | ) | [pure virtual] |
Returns the size of the document in pixels.
If the document is a KoDocument that uses a KoPageLayout, the same formula as in the generatePreview() method should be used to go from points to pixels.
- Returns:
- the size in pixels.
| virtual QImage KoThumbnailAdapter::image | ( | QRect | r, | |
| QSize | thumbnailSize | |||
| ) | [pure virtual] |
Returns the specified rectangle of the thumbnail as a QImage.
thumbnailSize gives the dimensions of the whole document thumbnail, and r specifies a rectangle within that.
- Parameters:
-
r the rectangle in the thumbnail to be rendered thumbnailSize the size in pixels of the full thumbnail
The documentation for this class was generated from the following files:

