• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 void ToSVGString(const SkPath&, SkString*, PathEncoding = PathEncoding::Absolute);
23 };
24 
25 #endif
26