diff options
author | tfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-12 14:41:39 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-12 14:41:39 +0000 |
commit | 6806fe87e0b39e283291c1a1c7d1d864230aa2aa (patch) | |
tree | 12ef79c85e8b6485afcdce8f8588ecc416266dee /include/effects/SkDiscretePathEffect.h | |
parent | 97cd69ca23b27d88e08727366c29c1147eb564de (diff) |
Export effects classes with SK_API.
So this works in shared_library build in chromium.
This issue was raised up in the following chromium-dev thread:
https://groups.google.com/a/chromium.org/forum/?hl=en&fromgroups=#!topic/chromium-dev/Z6qzEw8MwVY
R=epoger@google.com,tomhudson@google.com
Review URL: https://codereview.appspot.com/6601065
git-svn-id: http://skia.googlecode.com/svn/trunk@5914 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/effects/SkDiscretePathEffect.h')
-rw-r--r-- | include/effects/SkDiscretePathEffect.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/effects/SkDiscretePathEffect.h b/include/effects/SkDiscretePathEffect.h index a2934def43..67057485ed 100644 --- a/include/effects/SkDiscretePathEffect.h +++ b/include/effects/SkDiscretePathEffect.h @@ -1,4 +1,3 @@ - /* * Copyright 2006 The Android Open Source Project * @@ -6,7 +5,6 @@ * found in the LICENSE file. */ - #ifndef SkDiscretePathEffect_DEFINED #define SkDiscretePathEffect_DEFINED @@ -16,7 +14,7 @@ This path effect chops a path into discrete segments, and randomly displaces them. */ -class SkDiscretePathEffect : public SkPathEffect { +class SK_API SkDiscretePathEffect : public SkPathEffect { public: /** Break the path into segments of segLength length, and randomly move the endpoints away from the original path by a maximum of deviation. @@ -39,4 +37,3 @@ private: }; #endif - |