Skip to content

Commit 8a93869

Browse files
committed
added SK_API to SkPictureShader for msvc build.
1 parent ae6aac0 commit 8a93869

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/shaders/SkPictureShader.h

+7-7
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ struct SkStageRec;
3737
* The SkPicture is first rendered into a tile, which is then used to shade the area according
3838
* to specified tiling rules.
3939
*/
40-
class SkPictureShader : public SkShaderBase {
40+
class SK_API SkPictureShader : public SkShaderBase {
4141
public:
42-
static sk_sp<SkShader> Make(sk_sp<SkPicture>, SkTileMode, SkTileMode, SkFilterMode,
43-
const SkMatrix*, const SkRect*);
42+
static sk_sp<SkShader> Make(
43+
sk_sp<SkPicture>, SkTileMode, SkTileMode, SkFilterMode, const SkMatrix*, const SkRect*);
4444

4545
#if defined(SK_GRAPHITE)
4646
void addToKey(const skgpu::graphite::KeyContext&,
@@ -101,10 +101,10 @@ class SkPictureShader : public SkShaderBase {
101101
SkColorSpace* dstColorSpace,
102102
const SkSurfaceProps& props) const;
103103

104-
sk_sp<SkPicture> fPicture;
105-
SkRect fTile;
106-
SkTileMode fTmx, fTmy;
104+
sk_sp<SkPicture> fPicture;
105+
SkRect fTile;
106+
SkTileMode fTmx, fTmy;
107107
SkFilterMode fFilter;
108108
};
109109

110-
#endif // SkPictureShader_DEFINED
110+
#endif // SkPictureShader_DEFINED

0 commit comments

Comments
 (0)