3 * Copyright 2006 The Android Open Source Project
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
10 #ifndef SkParsePath_DEFINED
11 #define SkParsePath_DEFINED
13 #include "include/core/SkPath.h"
17 class SK_API SkParsePath {
19 static bool FromSVGString(const char str[], SkPath*);
21 enum class PathEncoding { Absolute, Relative };
22 static void ToSVGString(const SkPath&, SkString*, PathEncoding = PathEncoding::Absolute);