diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-09 19:43:35 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-09 19:43:35 +0000 |
commit | 13b3aa146680b6e3d36bd8faacd1cd7bb50c429e (patch) | |
tree | 0fc3a5fb2591af9ea67debb2934d11d01f0ecce4 /include/pathops | |
parent | b686539ab5270c66ab4994b4d6a8740143dec73a (diff) |
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
Diffstat (limited to 'include/pathops')
-rw-r--r-- | include/pathops/SkPathOps.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/pathops/SkPathOps.h b/include/pathops/SkPathOps.h index bde77e8732..a98f4ea4d6 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 @@ enum SkPathOp { 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 @@ bool Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result); @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 |