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
This commit is contained in:
commit-bot@chromium.org 2013-07-09 19:43:35 +00:00
parent b686539ab5
commit 13b3aa1466

View File

@ -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