Flutter Engine
The Flutter Engine
third_party
skia
include
utils
SkParsePath.h
Go to the documentation of this file.
1
2
/*
3
* Copyright 2006 The Android Open Source Project
4
*
5
* Use of this source code is governed by a BSD-style license that can be
6
* found in the LICENSE file.
7
*/
8
9
10
#ifndef SkParsePath_DEFINED
11
#define SkParsePath_DEFINED
12
13
#include "
include/core/SkPath.h
"
14
15
class
SkString
;
16
17
class
SK_API
SkParsePath
{
18
public
:
19
static
bool
FromSVGString
(
const
char
str[],
SkPath
*);
20
21
enum class
PathEncoding
{
Absolute
, Relative };
22
static
SkString
ToSVGString
(
const
SkPath
&, PathEncoding =
PathEncoding::Absolute
);
23
};
24
25
#endif
SK_API
#define SK_API
Definition:
SkAPI.h:35
SkPath.h
ToSVGString
JSString ToSVGString(const SkPath &path)
Definition:
canvaskit_bindings.cpp:547
SkParsePath
Definition:
SkParsePath.h:17
SkParsePath::PathEncoding
PathEncoding
Definition:
SkParsePath.h:21
SkPath
Definition:
SkPath.h:59
SkString
Definition:
SkString.h:118
impeller::Absolute
constexpr T Absolute(const T &val)
Definition:
scalar.h:21
FromSVGString
SkPathOrNull EMSCRIPTEN_KEEPALIVE FromSVGString(std::string str)
Definition:
pathkit_wasm_bindings.cpp:226
Generated on Sun Jun 23 2024 21:56:04 for Flutter Engine by
1.9.4