OpenShot Library | libopenshot
0.4.0
|
This is the base class of all Renderers in libopenshot. More...
#include <RendererBase.h>
Public Member Functions | |
virtual void | OverrideWidget (int64_t qwidget_address)=0 |
Allow manual override of the QWidget that is used to display. More... | |
void | paint (const std::shared_ptr< openshot::Frame > &frame) |
Paint(render) a video Frame. More... | |
Protected Member Functions | |
virtual void | render (std::shared_ptr< QImage > image)=0 |
RendererBase () | |
virtual | ~RendererBase () |
This is the base class of all Renderers in libopenshot.
Renderers are responsible for rendering images of a video onto a display device.
Definition at line 30 of file RendererBase.h.
|
protected |
Definition at line 16 of file RendererBase.cpp.
|
protectedvirtual |
Definition at line 20 of file RendererBase.cpp.
|
pure virtual |
Allow manual override of the QWidget that is used to display.
Implemented in VideoRenderer.
Referenced by openshot::QtPlayer::SetQWidget().
void RendererBase::paint | ( | const std::shared_ptr< openshot::Frame > & | frame | ) |
Paint(render) a video Frame.
Definition at line 24 of file RendererBase.cpp.
|
protectedpure virtual |
Implemented in VideoRenderer.
Referenced by paint().