◆ Ptr
◆ PresentationInterfaceStub()
| anonymous_namespace{determine-size-test.cc}::PresentationInterfaceStub::PresentationInterfaceStub |
( |
Scroom::Utils::Rectangle< double > const & |
rect_ | ) |
|
|
inlineexplicitprotected |
70 {
71 }
static Ptr create()
Definition context.cc:15
Scroom::Utils::Rectangle< double > rect
Definition determine-size-test.cc:63
Scroom::Utils::Context::ConstPtr context
Definition determine-size-test.cc:64
◆ close()
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 |
std::shared_ptr< PresentationInterfaceStub > Ptr
Definition determine-size-test.cc:60
PresentationInterfaceStub(Scroom::Utils::Rectangle< double > const &rect_)
Definition determine-size-test.cc:67
◆ getContext()
◆ 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()
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.
◆ context
◆ rect
The documentation for this class was generated from the following file: