|
Scroom
0.14
|
#include <viewinterface.hh>


Public Types | |
| using | Ptr = boost::shared_ptr< PostRenderer > |
Public Member Functions | |
| virtual void | render (boost::shared_ptr< ViewInterface > const &vi, cairo_t *cr, Scroom::Utils::Rectangle< double > presentationArea, int zoom)=0 |
Additional Inherited Members | |
Private Member Functions inherited from Interface | |
| Interface ()=default | |
| Interface (const Interface &)=delete | |
| Interface & | operator= (const Interface &)=delete |
| Interface (const Interface &&)=delete | |
| Interface & | operator= (const Interface &&)=delete |
| virtual | ~Interface ()=default |
Interface provided to something that wants to draw on top of the current presentation.
| using PostRenderer::Ptr = boost::shared_ptr<PostRenderer> |
|
pure virtual |
This function is called after the presentation finishes redrawing.
| vi | The ViewInterface on whose behalf the request is made |
| cr | The context to with, the origin of the context is translated to be the same as the origin of the presentation. |
| presentationArea | the area that is to be drawn. The given x and y coordinates should map on 0,0 of the given context cr. |
| zoom | The requested zoom level. One pixel should have size 2**zoom when drawn. zoom may be negative. |