Export SkPathOps.h functions for external use.
In order to make Op() and Simplify() accessible from Blink, they need to be SK_API-annotated.
R=caryclark@google.com
Author: fmalita@chromium.org
Review URL: https://chromiumcodereview.appspot.com/18912002
git-svn-id: http://skia.googlecode.com/svn/trunk@9939 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/pathops/SkPathOps.h b/include/pathops/SkPathOps.h
index bde77e8..a98f4ea 100644
--- a/include/pathops/SkPathOps.h
+++ b/include/pathops/SkPathOps.h
@@ -7,6 +7,8 @@
#ifndef SkPathOps_DEFINED
#define SkPathOps_DEFINED
+#include "SkPreConfig.h"
+
class SkPath;
// FIXME: move everything below into the SkPath class
@@ -36,7 +38,7 @@
inputs.
@return True if operation succeeded.
*/
-bool Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result);
+bool SK_API Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result);
/** Set this path to a set of non-overlapping contours that describe the
same area as the original path.
@@ -50,6 +52,6 @@
@param result The simplified path. The result may be the input.
@return True if simplification succeeded.
*/
-bool Simplify(const SkPath& path, SkPath* result);
+bool SK_API Simplify(const SkPath& path, SkPath* result);
#endif