![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "stage/output/pixbuf-displayer.hpp"
PixbufDisplayer is a class which is responsible for rendering a video image via GDK.
Definition at line 44 of file pixbuf-displayer.hpp.
Public Member Functions | |
| PixbufDisplayer (Gtk::Image &drawing_area, uint width, uint height) | |
| Constructor. | |
Public Member Functions inherited from Displayer | |
| virtual | ~Displayer () |
| Displayer (uint w, uint h) | |
Private Member Functions | |
| void | put (void *const image) |
| Put an image of a given width and height with the expected input format (as indicated by the format method). | |
| bool | usable () override |
| Indicates if this object can be used to render images on the running system. | |
| DisplayerInput | format () override |
| Indicates the format required by the abstract put method. | |
Private Attributes | |
| Gtk::Image & | drawingArea_ |
Additional Inherited Members | |
Protected Member Functions inherited from Displayer | |
| void | calculateVideoLayout (int widgetWidth, int widgetHeight, int &imgOrg_x, int &imgOrg_y, int &imgWidth, int &imgHeight) |
| Calculates the coordinates for placing a video image inside a widget. | |
Protected Attributes inherited from Displayer | |
| const uint | videoWidth |
| const uint | videoHeight |
| PixbufDisplayer | ( | Gtk::Image & | drawing_area, |
| uint | width, | ||
| uint | height | ||
| ) |
Constructor.
| [in] | drawing_area | The widget into which the video image will be drawn. This value must not be NULL. |
| [in] | width | The width of the video image in pixels. This value must be greater than zero. |
| [in] | height | The height of the video image in pixels. This value must be greater than zero. |
Definition at line 31 of file pixbuf-displayer.cpp.
References PixbufDisplayer::drawingArea_.
|
privatevirtual |
Put an image of a given width and height with the expected input format (as indicated by the format method).
| [in] | image | The video image array to draw. |
Implements Displayer.
Definition at line 50 of file pixbuf-displayer.cpp.
References Displayer::calculateVideoLayout(), PixbufDisplayer::drawingArea_, Displayer::videoHeight, and Displayer::videoWidth.
Here is the call graph for this function:
|
overrideprivatevirtual |
Indicates if this object can be used to render images on the running system.
Implements Displayer.
Definition at line 44 of file pixbuf-displayer.cpp.
|
inlineoverrideprivatevirtual |
Indicates the format required by the abstract put method.
Reimplemented from Displayer.
Definition at line 72 of file pixbuf-displayer.hpp.
References lumiera::DISPLAY_RGB.
|
private |
Definition at line 47 of file pixbuf-displayer.hpp.
Referenced by PixbufDisplayer::PixbufDisplayer(), and PixbufDisplayer::put().
Inheritance diagram for PixbufDisplayer:
Collaboration diagram for PixbufDisplayer: