OpenShot Library | libopenshot 0.5.0
Loading...
Searching...
No Matches
openshot::RendererBase Class Referenceabstract

This is the base class of all Renderers in libopenshot. More...

#include <RendererBase.h>

Inheritance diagram for openshot::RendererBase:
VideoRenderer

Public Member Functions

virtual void OverrideWidget (int64_t qwidget_address)=0
 Allow manual override of the QWidget that is used to display.
void paint (const std::shared_ptr< openshot::Frame > &frame)
 Paint(render) a video Frame.

Protected Member Functions

virtual void render (std::shared_ptr< QImage > image)=0
 RendererBase ()
virtual ~RendererBase ()

Detailed Description

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.

Constructor & Destructor Documentation

◆ RendererBase()

RendererBase::RendererBase ( )
protected

Definition at line 16 of file RendererBase.cpp.

◆ ~RendererBase()

RendererBase::~RendererBase ( )
protectedvirtual

Definition at line 20 of file RendererBase.cpp.

Member Function Documentation

◆ OverrideWidget()

virtual void openshot::RendererBase::OverrideWidget ( int64_t qwidget_address)
pure virtual

Allow manual override of the QWidget that is used to display.

Implemented in VideoRenderer.

◆ paint()

void RendererBase::paint ( const std::shared_ptr< openshot::Frame > & frame)

Paint(render) a video Frame.

Definition at line 24 of file RendererBase.cpp.

◆ render()

virtual void openshot::RendererBase::render ( std::shared_ptr< QImage > image)
protectedpure virtual

Implemented in VideoRenderer.

Referenced by paint().


The documentation for this class was generated from the following files: