aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/SkImage_Reference.bmh
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-06-14 12:28:14 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-14 16:54:47 +0000
commit5538c1390649811eb6498eeca53cc1db00877503 (patch)
tree5a7b4d580393f32f9774f00c19a0e01bdd4c23f4 /docs/SkImage_Reference.bmh
parentab17347df32807cabd9f2a518d22c3bd420e482f (diff)
docs fix external substitutions
explict substitutions are required to distiguish words that preserve underscores R=caryclark@google.com Docs-Preview: https://skia.org/?cl=134841 Bug: skia:6898 Change-Id: Id1a5669c180e03e048de3c0251882bd06b297283 Reviewed-on: https://skia-review.googlesource.com/134841 Reviewed-by: Cary Clark <caryclark@skia.org> Commit-Queue: Cary Clark <caryclark@skia.org> Auto-Submit: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'docs/SkImage_Reference.bmh')
-rw-r--r--docs/SkImage_Reference.bmh18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/SkImage_Reference.bmh b/docs/SkImage_Reference.bmh
index c63be58f72..002e529819 100644
--- a/docs/SkImage_Reference.bmh
+++ b/docs/SkImage_Reference.bmh
@@ -1132,11 +1132,11 @@ Creates Shader from Image. Shader dimensions are taken from Image. Shader uses
SkShader::TileMode rules to fill drawn area outside Image. localMatrix permits
transforming Image before Canvas_Matrix is applied.
-#Param tileMode1 tiling in x, one of: SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode,
- SkShader::kMirror_TileMode
+#Param tileMode1 tiling on x-axis, one of: SkShader::kClamp_TileMode,
+ SkShader::kRepeat_TileMode, SkShader::kMirror_TileMode
##
-#Param tileMode2 tiling in y, one of: SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode,
- SkShader::kMirror_TileMode
+#Param tileMode2 tiling on y-axis, one of: SkShader::kClamp_TileMode,
+ SkShader::kRepeat_TileMode, SkShader::kMirror_TileMode
##
#Param localMatrix Image transformation, or nullptr ##
@@ -1779,17 +1779,17 @@ pixels in Image could not be read or copied.
#In Constructor
#Line # creates Image matching Color_Space if possible ##
Returns Image backed by GPU_Texture associated with context. Returned Image is
-compatible with Surface created with dstColorSpace. The returned Image will also
-support the request GrMipMapped status. In other words if mipMapped is GrMipMapped::kYes,
-then the backing texture will have Mip_Map levels allocated. Returns original Image if context
-and dstColorSpace match and mipMapped is compatible with the backing GPU_Texture.
+compatible with Surface created with dstColorSpace. The returned Image respects
+mipMapped setting; if mipMapped equals GrMipMapped::kYes, the backing texture
+allocates Mip_Map levels. Returns original Image if context
+and dstColorSpace match and mipMapped is compatible with backing GPU_Texture.
Returns nullptr if context is nullptr, or if Image was created with another
GrContext.
#Param context GPU_Context ##
#Param dstColorSpace range of colors of matching Surface on GPU ##
-#Param mipMapped whether the returned SkImage's texture must have allocated Mip_Map levels ##
+#Param mipMapped whether created Image texture must allocate Mip_Map levels ##
#Return created Image, or nullptr ##