◆ Ptr
◆ PresentationInterfaceStub()
| anonymous_namespace{determine-size-test.cc}::PresentationInterfaceStub::PresentationInterfaceStub |
( |
Scroom::Utils::Rectangle< double > const & |
rect_ | ) |
|
|
inlineexplicitprotected |
◆ close()
| void anonymous_namespace{determine-size-test.cc}::PresentationInterfaceStub::close |
( |
ViewInterface::WeakPtr |
vi | ) |
|
|
inlineoverridevirtual |
Gets called just before the View is destroyed
- Precondition
- Should be called from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements Viewable.
◆ create()
| static Ptr anonymous_namespace{determine-size-test.cc}::PresentationInterfaceStub::create |
( |
Scroom::Utils::Rectangle< double > const & |
rect | ) |
|
|
inlinestatic |
◆ getProperty()
| bool anonymous_namespace{determine-size-test.cc}::PresentationInterfaceStub::getProperty |
( |
const std::string & |
name, |
|
|
std::string & |
value |
|
) |
| |
|
inlineoverridevirtual |
Return the value of the requested property
- Parameters
-
| [in] | name | The name of the requested property |
| [out] | value | The value of the requested property |
- Return values
-
| true | if the property existed |
| false | if the property didn't exist |
Implements PresentationInterface.
◆ getRect()
◆ getTitle()
| std::string anonymous_namespace{determine-size-test.cc}::PresentationInterfaceStub::getTitle |
( |
| ) |
|
|
inlineoverridevirtual |
◆ isPropertyDefined()
| bool anonymous_namespace{determine-size-test.cc}::PresentationInterfaceStub::isPropertyDefined |
( |
const std::string & |
name | ) |
|
|
inlineoverridevirtual |
◆ open()
| void anonymous_namespace{determine-size-test.cc}::PresentationInterfaceStub::open |
( |
ViewInterface::WeakPtr |
vi | ) |
|
|
inlineoverridevirtual |
Gets called just after the View is created
- Precondition
- Should be called from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements Viewable.
◆ redraw()
Draw the requested ara at the requested zoom level
- Parameters
-
| 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.
◆ rect
The documentation for this class was generated from the following file: