blob: 2bf02a89ffb49b001dc25c68711981593cd83dcb [file] [log] [blame]
/*
* Copyright 2022 Rive
*/
#include "rive/factory.hpp"
#include "rive/math/aabb.hpp"
#include "rive/math/raw_path.hpp"
using namespace rive;
std::unique_ptr<RenderPath> Factory::makeRenderPath(const AABB& r) {
RawPath rawPath;
rawPath.addRect(r);
return makeRenderPath(rawPath, FillRule::nonZero);
}