Loading...
Searching...
No Matches
RendererBase.cpp
Go to the documentation of this file.
// Copyright (c) 2008-2019 OpenShot Studios, LLC
//
// SPDX-License-Identifier: LGPL-3.0-or-later
#include "RendererBase.h"
using namespace openshot;
RendererBase::RendererBase()
{
}
RendererBase::~RendererBase()
{
}
void RendererBase::paint(const std::shared_ptr<Frame> & frame)
{
if (frame)
this->render(frame->GetImage());
}
RendererBase.h
Header file for RendererBase class.
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::RendererBase
RendererBase()
Definition RendererBase.cpp:16
openshot::RendererBase::render
virtual void render(std::shared_ptr< QImage > image)=0
openshot
This namespace is the default namespace for all code in the openshot library.
Definition Compressor.h:29