diff options
author | Cary Clark <caryclark@skia.org> | 2018-07-13 07:52:44 -0400 |
---|---|---|
committer | Robert Phillips <robertphillips@google.com> | 2018-07-13 14:06:24 +0000 |
commit | 390495eb8d0672cd0e2346b593a17aac0b297ae9 (patch) | |
tree | 60bc5e01a3ecf06f634da793b53c666659406a61 /docs | |
parent | 4a17501f5bbd5e45a49d76d7a733393fec9701ee (diff) |
fix bookmaker
make SkImage::makeColorSpace include match docs.
R=brianosman@google.com
Docs-Preview: https://skia.org/?cl=141086
Bug: skia:6818
Change-Id: Ica65effdd05c2d8d731d1d1773fb80798be0274b
Reviewed-on: https://skia-review.googlesource.com/141086
Commit-Queue: Cary Clark <caryclark@skia.org>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Cary Clark <caryclark@skia.org>
Auto-Submit: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/SkImage_Reference.bmh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/SkImage_Reference.bmh b/docs/SkImage_Reference.bmh index 002e529819..1c329801a8 100644 --- a/docs/SkImage_Reference.bmh +++ b/docs/SkImage_Reference.bmh @@ -2187,8 +2187,9 @@ void draw(SkCanvas* canvas) { # ------------------------------------------------------------------------------ -#Method sk_sp<SkImage> makeColorSpace(sk_sp<SkColorSpace> target, - SkTransferFunctionBehavior premulBehavior) const +#Method sk_sp<SkImage> makeColorSpace( + sk_sp<SkColorSpace> target, + SkTransferFunctionBehavior premulBehavior = SkTransferFunctionBehavior::kIgnore) const #In Constructor #Line # creates Image matching Color_Space if possible ## @@ -2207,7 +2208,8 @@ and Color_Space. Set premulBehavior to SkTransferFunctionBehavior::kIgnore to treat Image pixels as linear, when converting to destination Color_Type -and Color_Space, ignoring pixel encoding. +and Color_Space, ignoring pixel encoding. premulBehavior is +SkTransferFunctionBehavior::kIgnore by default. #Param target Color_Space describing color range of returned Image ## #Param premulBehavior one of: SkTransferFunctionBehavior::kRespect, |