OpenShot Library | libopenshot
0.3.3
RendererBase.cpp
Go to the documentation of this file.
1
9
// Copyright (c) 2008-2019 OpenShot Studios, LLC
10
//
11
// SPDX-License-Identifier: LGPL-3.0-or-later
12
13
#include "
RendererBase.h
"
14
using namespace
openshot
;
15
16
RendererBase::RendererBase
()
17
{
18
}
19
20
RendererBase::~RendererBase
()
21
{
22
}
23
24
void
RendererBase::paint
(
const
std::shared_ptr<Frame> & frame)
25
{
26
if
(frame)
27
this->
render
(frame->GetImage());
28
}
openshot::RendererBase::RendererBase
RendererBase()
Definition:
RendererBase.cpp:16
openshot
This namespace is the default namespace for all code in the openshot library.
Definition:
Compressor.h:28
openshot::RendererBase::paint
void paint(const std::shared_ptr< openshot::Frame > &frame)
Paint(render) a video Frame.
Definition:
RendererBase.cpp:24
openshot::RendererBase::~RendererBase
virtual ~RendererBase()
Definition:
RendererBase.cpp:20
openshot::RendererBase::render
virtual void render(std::shared_ptr< QImage > image)=0
RendererBase.h
Header file for RendererBase class.
Generated by
1.8.17