Flutter Engine
Loading...
Searching...
No Matches
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 "flutter/third_party/skia/include/core/SkPathBuilder.h"
10
#include "
impeller/toolkit/interop/impeller.h
"
11
#include "
impeller/toolkit/interop/object.h
"
12
13
namespace
impeller::interop
{
14
15
class
Path
final
16
:
public
Object
<Path, IMPELLER_INTERNAL_HANDLE_NAME(ImpellerPath)> {
17
public
:
18
explicit
Path
(
const
SkPath& path);
19
20
~Path
();
21
22
Path
(
const
Path
&) =
delete
;
23
24
Path
&
operator=
(
const
Path
&) =
delete
;
25
26
SkPath
GetPath
()
const
;
27
28
ImpellerRect
GetBounds
()
const
;
29
30
private
:
31
SkPathBuilder path_;
32
};
33
34
}
// namespace impeller::interop
35
36
#endif
// FLUTTER_IMPELLER_TOOLKIT_INTEROP_PATH_H_
impeller::interop::Object
Definition
object.h:56
impeller::interop::Path
Definition
path.h:16
impeller::interop::Path::GetBounds
ImpellerRect GetBounds() const
Definition
path.cc:19
impeller::interop::Path::GetPath
SkPath GetPath() const
Definition
path.cc:15
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 on Thu Nov 6 2025 16:11:30 for Flutter Engine by
1.9.8