aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkColor.h
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-26 20:06:08 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-26 20:06:08 +0000
commitf31663403b1b96c2a1c6717acab5093b0117f187 (patch)
tree3fbe197d69fd85018c619aec636a34496d5aa124 /include/core/SkColor.h
parentc0091114461339c7e6a78a0f1669cecad1e22146 (diff)
Tag some more API headers with SK_API so they are exposed when doing a DLL build. git-svn-id: http://skia.googlecode.com/svn/trunk@1193 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkColor.h')
-rw-r--r--include/core/SkColor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkColor.h b/include/core/SkColor.h
index 6b86e7e08e..1f82aa7286 100644
--- a/include/core/SkColor.h
+++ b/include/core/SkColor.h
@@ -104,7 +104,7 @@ static inline SkColor SkColorSetA(SkColor c, U8CPU a) {
@param blue blue component value [0..255]
@param hsv 3 element array which holds the resulting HSV components.
*/
-void SkRGBToHSV(U8CPU red, U8CPU green, U8CPU blue, SkScalar hsv[3]);
+SK_API void SkRGBToHSV(U8CPU red, U8CPU green, U8CPU blue, SkScalar hsv[3]);
/** Convert the argb color to its HSV components.
hsv[0] is Hue [0 .. 360)
@@ -127,7 +127,7 @@ static inline void SkColorToHSV(SkColor color, SkScalar hsv[3])
@param hsv 3 element array which holds the input HSV components.
@return the resulting argb color
*/
-SkColor SkHSVToColor(U8CPU alpha, const SkScalar hsv[3]);
+SK_API SkColor SkHSVToColor(U8CPU alpha, const SkScalar hsv[3]);
/** Convert HSV components to an ARGB color. The alpha component set to 0xFF.
hsv[0] is Hue [0 .. 360)