blob: ddf96f91535e4ba6621b5a31e554943180c1a07c [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_TOOLKIT_INTEROP_PATH_H_
#define FLUTTER_IMPELLER_TOOLKIT_INTEROP_PATH_H_
#include "flutter/third_party/skia/include/core/SkPath.h"
#include "impeller/geometry/path.h"
#include "impeller/toolkit/interop/impeller.h"
#include "impeller/toolkit/interop/object.h"
namespace impeller::interop {
class Path final
: public Object<Path, IMPELLER_INTERNAL_HANDLE_NAME(ImpellerPath)> {
public:
explicit Path(const SkPath& path);
~Path();
Path(const Path&) = delete;
Path& operator=(const Path&) = delete;
const SkPath& GetPath() const;
private:
SkPath path_;
};
} // namespace impeller::interop
#endif // FLUTTER_IMPELLER_TOOLKIT_INTEROP_PATH_H_