aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkGeometry.h
diff options
context:
space:
mode:
authorGravatar Derek Sollenberger <djsollen@google.com>2017-09-20 15:51:08 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-21 18:14:36 +0000
commit2fbf1bc8c96f749a4c098bcfc827053445c2e12d (patch)
tree0271e86a08bec62b58b71d661c86bc0af325488e /src/core/SkGeometry.h
parentf4b9bf7d9e688f1afedcf4a960a31582ddb56f4a (diff)
Add SK_API to APIs used by the android framework.
This CL enables us to set the default visibility of the symbols on Android to hidden. It is the intent that all of he SK_APIs that have been added to /src directies should be removed as soon as we can remove their callers within Android. Bug: b/31971097 Change-Id: Ic787f94df0fb0c2b8d941aa7095a12b317c4b5de Reviewed-on: https://skia-review.googlesource.com/49501 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Derek Sollenberger <djsollen@google.com>
Diffstat (limited to 'src/core/SkGeometry.h')
-rw-r--r--src/core/SkGeometry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkGeometry.h b/src/core/SkGeometry.h
index 96565888d8..675ee80ae0 100644
--- a/src/core/SkGeometry.h
+++ b/src/core/SkGeometry.h
@@ -258,13 +258,13 @@ struct SkConic {
* return the power-of-2 number of quads needed to approximate this conic
* with a sequence of quads. Will be >= 0.
*/
- int computeQuadPOW2(SkScalar tol) const;
+ int SK_API computeQuadPOW2(SkScalar tol) const;
/**
* Chop this conic into N quads, stored continguously in pts[], where
* N = 1 << pow2. The amount of storage needed is (1 + 2 * N)
*/
- int SK_WARN_UNUSED_RESULT chopIntoQuadsPOW2(SkPoint pts[], int pow2) const;
+ int SK_API SK_WARN_UNUSED_RESULT chopIntoQuadsPOW2(SkPoint pts[], int pow2) const;
bool findXExtrema(SkScalar* t) const;
bool findYExtrema(SkScalar* t) const;