2011-07-28 14:26:00 +00:00
|
|
|
|
2009-06-05 16:21:03 +00:00
|
|
|
/*
|
2011-07-28 14:26:00 +00:00
|
|
|
* Copyright 2006 The Android Open Source Project
|
2009-06-05 16:21:03 +00:00
|
|
|
*
|
2011-07-28 14:26:00 +00:00
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
2009-06-05 16:21:03 +00:00
|
|
|
*/
|
|
|
|
|
2011-07-28 14:26:00 +00:00
|
|
|
|
2009-06-05 16:21:03 +00:00
|
|
|
#ifndef SkParsePath_DEFINED
|
|
|
|
#define SkParsePath_DEFINED
|
|
|
|
|
2019-04-23 17:05:21 +00:00
|
|
|
#include "include/core/SkPath.h"
|
2009-06-05 16:21:03 +00:00
|
|
|
|
|
|
|
class SkString;
|
|
|
|
|
2019-06-18 14:14:20 +00:00
|
|
|
class SK_API SkParsePath {
|
2009-06-05 16:21:03 +00:00
|
|
|
public:
|
|
|
|
static bool FromSVGString(const char str[], SkPath*);
|
|
|
|
static void ToSVGString(const SkPath&, SkString*);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|