From 13b3aa146680b6e3d36bd8faacd1cd7bb50c429e Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Tue, 9 Jul 2013 19:43:35 +0000 Subject: 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 --- include/pathops/SkPathOps.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/pathops') 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 -- cgit v1.2.3