Add SkRSXform to SK_API

Change-Id: I9ee142f949e644dcd06f359bb6838b5b4f04ec21
Bug: skia:12990
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/513736
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
This commit is contained in:
Kevin Lubick 2022-02-28 08:27:33 -05:00 committed by SkCQ
parent acab911351
commit 953c92880b
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ Milestone 100
shader to produce opaque output, do so in the shader's SkSL code. This can be done by adjusting
any `return` statement in your shader with a swizzle: `return color.rgb1;`.
https://review.skia.org/506462
* SkRSXform is now exported to DLL/.so files.
* * *
Milestone 99
@ -34,7 +34,7 @@ Milestone 99
https://review.skia.org/481416
* Added a new variant of SkImageFilters::RuntimeShader that supports multiple child nodes.
https://review.skia.org/489536
* Add the ability to specifiy palette overrides in SkFontArguments. Implemented
* Add the ability to specify palette overrides in SkFontArguments. Implemented
for the FreeType-backed SkFontMgrs.
* * *

View File

@ -18,7 +18,7 @@
* [ fSSin fSCos fTy ]
* [ 0 0 1 ]
*/
struct SkRSXform {
struct SK_API SkRSXform {
static SkRSXform Make(SkScalar scos, SkScalar ssin, SkScalar tx, SkScalar ty) {
SkRSXform xform = { scos, ssin, tx, ty };
return xform;