◆ 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()
◆ getPixelAverages()
Returns the average pixel values for each component, contained in the area.
- Parameters
-
| area | selected area to get the pixel values from. |
Implements PipetteViewInterface.
◆ getProperty()
| bool DummyPresentation::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()
Return the dimensions of your presentation
Implements PresentationInterface.
27 {
return {0, 0, 100, 100}; }
◆ getTitle()
| std::string DummyPresentation::getTitle |
( |
| ) |
|
|
inlineoverridevirtual |
◆ isPropertyDefined()
| bool DummyPresentation::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.
The documentation for this class was generated from the following file: