1cb93a386Sopenharmony_ci/* 2cb93a386Sopenharmony_ci * Copyright 2012 Google Inc. 3cb93a386Sopenharmony_ci * 4cb93a386Sopenharmony_ci * Use of this source code is governed by a BSD-style license that can be 5cb93a386Sopenharmony_ci * found in the LICENSE file. 6cb93a386Sopenharmony_ci */ 7cb93a386Sopenharmony_ci 8cb93a386Sopenharmony_ci#ifndef AAConvexPathRenderer_DEFINED 9cb93a386Sopenharmony_ci#define AAConvexPathRenderer_DEFINED 10cb93a386Sopenharmony_ci 11cb93a386Sopenharmony_ci#include "src/gpu/v1/PathRenderer.h" 12cb93a386Sopenharmony_ci 13cb93a386Sopenharmony_cinamespace skgpu::v1 { 14cb93a386Sopenharmony_ci 15cb93a386Sopenharmony_ciclass AAConvexPathRenderer final : public PathRenderer { 16cb93a386Sopenharmony_cipublic: 17cb93a386Sopenharmony_ci AAConvexPathRenderer() = default; 18cb93a386Sopenharmony_ci 19cb93a386Sopenharmony_ci const char* name() const override { return "AAConvex"; } 20cb93a386Sopenharmony_ci 21cb93a386Sopenharmony_ciprivate: 22cb93a386Sopenharmony_ci CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override; 23cb93a386Sopenharmony_ci 24cb93a386Sopenharmony_ci bool onDrawPath(const DrawPathArgs&) override; 25cb93a386Sopenharmony_ci}; 26cb93a386Sopenharmony_ci 27cb93a386Sopenharmony_ci} // namespace skgpu::v1 28cb93a386Sopenharmony_ci 29cb93a386Sopenharmony_ci#endif // AAConvexPathRenderer_DEFINED 30