Flutter Impeller
path.h
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef FLUTTER_IMPELLER_TOOLKIT_INTEROP_PATH_H_
6
#define FLUTTER_IMPELLER_TOOLKIT_INTEROP_PATH_H_
7
8
#include "flutter/third_party/skia/include/core/SkPath.h"
9
#include "
impeller/toolkit/interop/impeller.h
"
10
#include "
impeller/toolkit/interop/object.h
"
11
12
namespace
impeller::interop
{
13
14
class
Path
final
15
:
public
Object
<Path, IMPELLER_INTERNAL_HANDLE_NAME(ImpellerPath)> {
16
public
:
17
explicit
Path
(
const
SkPath& path);
18
19
~Path
();
20
21
Path
(
const
Path
&) =
delete
;
22
23
Path
&
operator=
(
const
Path
&) =
delete
;
24
25
const
SkPath&
GetPath
()
const
;
26
27
ImpellerRect
GetBounds
()
const
;
28
29
private
:
30
SkPath path_;
31
};
32
33
}
// namespace impeller::interop
34
35
#endif
// FLUTTER_IMPELLER_TOOLKIT_INTEROP_PATH_H_
impeller::interop::Object
Definition:
object.h:56
impeller::interop::Path
Definition:
path.h:15
impeller::interop::Path::GetPath
const SkPath & GetPath() const
Definition:
path.cc:13
impeller::interop::Path::GetBounds
ImpellerRect GetBounds() const
Definition:
path.cc:17
impeller::interop::Path::Path
Path(const SkPath &path)
Definition:
path.cc:9
impeller::interop::Path::Path
Path(const Path &)=delete
impeller::interop::Path::~Path
~Path()
impeller::interop::Path::operator=
Path & operator=(const Path &)=delete
impeller.h
impeller::interop
Definition:
context_gles.cc:12
object.h
ImpellerRect
Definition:
impeller.h:502
impeller
toolkit
interop
path.h
Generated by
1.9.1