|
Scroom 0.14-49-gb7ae7a6d
|
#include <examplepresentation.hh>


Private Member Functions | |
| void | fillPattern () |
Private Attributes | |
| Scroom::Utils::Context::Ptr | context |
| cairo_pattern_t * | pattern {nullptr} |
Additional Inherited Members | |
Public Types inherited from PresentationInterface | |
| using | Ptr = std::shared_ptr< PresentationInterface > |
| using | WeakPtr = std::weak_ptr< PresentationInterface > |
Public Types inherited from Viewable | |
| using | Ptr = std::shared_ptr< Viewable > |
| using | WeakPtr = std::weak_ptr< Viewable > |
Public Types inherited from Scroom::Utils::Observable< T > | |
| using | Observer = std::shared_ptr< T > |
| using | Ptr = std::shared_ptr< Observable< T > > |
Protected Member Functions inherited from Scroom::Utils::Observable< T > | |
| std::list< Observer > | getObservers () |
| virtual void | observerAdded (Observer const &observer, Scroom::Bookkeeping::Token const &token) |
| ExamplePresentation::ExamplePresentation | ( | ) |
|
override |
|
delete |
|
delete |
|
overridevirtual |
|
private |
Referenced by ExamplePresentation().


|
overridevirtual |
Implements PresentationInterface.
|
overridevirtual |
Return the value of the requested property
| [in] | name | The name of the requested property |
| [out] | value | The value of the requested property |
| true | if the property existed |
| false | if the property didn't exist |
Implements PresentationInterface.
|
overridevirtual |
Return the dimensions of your presentation
Implements PresentationInterface.
Referenced by redraw().

|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
delete |
|
delete |
|
overridevirtual |
Draw the requested ara at the requested zoom level
| vi | The ViewInterface on whose behalf the request is made |
| cr | The context to draw the area on |
| 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 of your presentation should have size 2**zoom when drawn. zoom may be negative. |
Implements PresentationInterface.

|
private |
Referenced by getContext().
|
private |
Referenced by fillPattern(), redraw(), and ~ExamplePresentation().