SkParsePath.h 434 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright 2006 The Android Open Source Project
  3. *
  4. * Use of this source code is governed by a BSD-style license that can be
  5. * found in the LICENSE file.
  6. */
  7. #ifndef SkParsePath_DEFINED
  8. #define SkParsePath_DEFINED
  9. #include "include/core/SkPath.h"
  10. class SkString;
  11. class SK_API SkParsePath {
  12. public:
  13. static bool FromSVGString(const char str[], SkPath*);
  14. static void ToSVGString(const SkPath&, SkString*);
  15. };
  16. #endif