mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
20 lines
361 B
C++
20 lines
361 B
C++
|
/*
|
||
|
* Copyright (c) 2024, Andreas Kling <andreas@ladybird.org>
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
*/
|
||
|
|
||
|
#include <LibGfx/Painter.h>
|
||
|
#include <LibGfx/PainterSkia.h>
|
||
|
|
||
|
namespace Gfx {
|
||
|
|
||
|
Painter::~Painter() = default;
|
||
|
|
||
|
NonnullOwnPtr<Painter> Painter::create(NonnullRefPtr<Gfx::Bitmap> target_bitmap)
|
||
|
{
|
||
|
return make<PainterSkia>(move(target_bitmap));
|
||
|
}
|
||
|
|
||
|
}
|