diff options
Diffstat (limited to 'docs/SkCanvas_Reference.bmh')
-rw-r--r-- | docs/SkCanvas_Reference.bmh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/SkCanvas_Reference.bmh b/docs/SkCanvas_Reference.bmh index f090207882..1db1d0f077 100644 --- a/docs/SkCanvas_Reference.bmh +++ b/docs/SkCanvas_Reference.bmh @@ -883,7 +883,7 @@ Returns true if Canvas has direct access to its pixels. Pixels are readable when Device is raster. Pixels are not readable when Canvas is returned from GPU_Surface, returned by SkDocument::beginPage, returned by SkPictureRecorder::beginRecording, or Canvas is the base of a utility class -like SkDumpCanvas. +like SkDebugCanvas. pixmap is valid only while Canvas is in scope and unchanged. Any Canvas or Surface call may invalidate the pixmap values. @@ -924,7 +924,7 @@ converting to dstInfo.colorType() and dstInfo.alphaType() if required. Pixels are readable when Device is raster, or backed by a GPU. Pixels are not readable when SkCanvas is returned by SkDocument::beginPage, returned by SkPictureRecorder::beginRecording, or Canvas is the base of a utility -class like SkDumpCanvas. +class like SkDebugCanvas. The destination pixel storage must be allocated by the caller. @@ -1016,7 +1016,7 @@ converting to pixmap.colorType() and pixmap.alphaType() if required. Pixels are readable when Device is raster, or backed by a GPU. Pixels are not readable when SkCanvas is returned by SkDocument::beginPage, returned by SkPictureRecorder::beginRecording, or Canvas is the base of a utility -class like SkDumpCanvas. +class like SkDebugCanvas. Caller must allocate pixel storage in pixmap if needed. @@ -1079,7 +1079,7 @@ converting to bitmap.colorType() and bitmap.alphaType() if required. Pixels are readable when Device is raster, or backed by a GPU. Pixels are not readable when SkCanvas is returned by SkDocument::beginPage, returned by SkPictureRecorder::beginRecording, or Canvas is the base of a utility -class like SkDumpCanvas. +class like SkDebugCanvas. Caller must allocate pixel storage in bitmap if needed. @@ -1143,7 +1143,7 @@ converting to imageInfo().colorType() and imageInfo().alphaType() if required. Pixels are writable when Device is raster, or backed by a GPU. Pixels are not writable when SkCanvas is returned by SkDocument::beginPage, returned by SkPictureRecorder::beginRecording, or Canvas is the base of a utility -class like SkDumpCanvas. +class like SkDebugCanvas. Pixel values are converted only if Color_Type and Alpha_Type do not match. Only pixels within both source and destination rectangles @@ -1201,7 +1201,7 @@ converting to imageInfo().colorType() and imageInfo().alphaType() if required. Pixels are writable when Device is raster, or backed by a GPU. Pixels are not writable when SkCanvas is returned by SkDocument::beginPage, returned by SkPictureRecorder::beginRecording, or Canvas is the base of a utility -class like SkDumpCanvas. +class like SkDebugCanvas. Pixel values are converted only if Color_Type and Alpha_Type do not match. Only pixels within both source and destination rectangles |