aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects/SkTransparentShader.h
diff options
context:
space:
mode:
authorGravatar tfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-12 14:41:39 +0000
committerGravatar tfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-12 14:41:39 +0000
commit6806fe87e0b39e283291c1a1c7d1d864230aa2aa (patch)
tree12ef79c85e8b6485afcdce8f8588ecc416266dee /include/effects/SkTransparentShader.h
parent97cd69ca23b27d88e08727366c29c1147eb564de (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/SkTransparentShader.h')
-rw-r--r--include/effects/SkTransparentShader.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/include/effects/SkTransparentShader.h b/include/effects/SkTransparentShader.h
index 20bb51ac1a..74187f7912 100644
--- a/include/effects/SkTransparentShader.h
+++ b/include/effects/SkTransparentShader.h
@@ -1,4 +1,3 @@
-
/*
* Copyright 2006 The Android Open Source Project
*
@@ -6,20 +5,19 @@
* found in the LICENSE file.
*/
-
#ifndef SkTransparentShader_DEFINED
#define SkTransparentShader_DEFINED
#include "SkShader.h"
-class SkTransparentShader : public SkShader {
+class SK_API SkTransparentShader : public SkShader {
public:
SkTransparentShader() {}
virtual uint32_t getFlags() SK_OVERRIDE;
- virtual bool setContext( const SkBitmap& device,
- const SkPaint& paint,
- const SkMatrix& matrix) SK_OVERRIDE;
+ virtual bool setContext(const SkBitmap& device,
+ const SkPaint& paint,
+ const SkMatrix& matrix) SK_OVERRIDE;
virtual void shadeSpan(int x, int y, SkPMColor[], int count) SK_OVERRIDE;
virtual void shadeSpan16(int x, int y, uint16_t span[], int count) SK_OVERRIDE;
@@ -36,4 +34,3 @@ private:
};
#endif
-