OpenShot Library | libopenshot 0.3.3
Loading...
Searching...
No Matches
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"
14using namespace openshot;
15
19
23
24void RendererBase::paint(const std::shared_ptr<Frame> & frame)
25{
26 if (frame)
27 this->render(frame->GetImage());
28}
Header file for RendererBase class.
void paint(const std::shared_ptr< openshot::Frame > &frame)
Paint(render) a video Frame.
virtual void render(std::shared_ptr< QImage > image)=0
This namespace is the default namespace for all code in the openshot library.
Definition Compressor.h:29