diff options
author | 2011-03-15 21:27:08 +0000 | |
---|---|---|
committer | 2011-03-15 21:27:08 +0000 | |
commit | 7ffb1b21abcc7bbed5a0fc711f6dd7b9dbb4f577 (patch) | |
tree | 6deb18fc39212bf0e90b684e25e3de14044f0a14 /include/core/SkPaint.h | |
parent | f67e4cf4c18cd228738a11372859ee0280bce1d7 (diff) |
Add code needed to build skia as a windows dll within the chromium project.
- Export/import skia APIs if SKIA_DLL is defined.
- This change has no effect on skia.
Review URL: http://codereview.appspot.com/4282042
git-svn-id: http://skia.googlecode.com/svn/trunk@944 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkPaint.h')
-rw-r--r-- | include/core/SkPaint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h index a4def5f188..4a20dd2621 100644 --- a/include/core/SkPaint.h +++ b/include/core/SkPaint.h @@ -48,7 +48,7 @@ typedef const SkGlyph& (*SkMeasureCacheProc)(SkGlyphCache*, const char**); The SkPaint class holds the style and color information about how to draw geometries, text and bitmaps. */ -class SkPaint { +class SK_API SkPaint { public: SkPaint(); SkPaint(const SkPaint& paint); @@ -56,7 +56,7 @@ public: SkPaint& operator=(const SkPaint&); - friend int operator==(const SkPaint& a, const SkPaint& b); + SK_API friend int operator==(const SkPaint& a, const SkPaint& b); friend int operator!=(const SkPaint& a, const SkPaint& b) { return !(a == b); |