未验证 提交 6972c3bf 编写于 作者: R renhw001 提交者: Gitee

update zh-cn/application-dev/reference/native-apis/image.md.

Signed-off-by: Nrenhw001 <renhongwei9@huawei.com>
上级 d71bb5b2
...@@ -87,7 +87,7 @@ typedef struct NativePixelMap ...@@ -87,7 +87,7 @@ typedef struct NativePixelMap
用于定义NativePixelMap数据类型名称。 用于定义NativePixelMap数据类型名称。
**起始版本:** **起始版本:**
9 10
## 枚举类型说明 ## 枚举类型说明
...@@ -145,7 +145,7 @@ PixelMap alpha 类型的枚举。 ...@@ -145,7 +145,7 @@ PixelMap alpha 类型的枚举。
| OHOS_PIXEL_MAP_ALPHA_TYPE_UNPREMUL| 预除的格式 | | OHOS_PIXEL_MAP_ALPHA_TYPE_UNPREMUL| 预除的格式 |
**起始版本:** **起始版本:**
9 10
### anonymous enum ### anonymous enum
...@@ -162,7 +162,7 @@ PixelMap 缩放类型的枚举。 ...@@ -162,7 +162,7 @@ PixelMap 缩放类型的枚举。
| OHOS_PIXEL_MAP_SCALE_MODE_CENTER_CROP| 以中心进行缩放的格式 | | OHOS_PIXEL_MAP_SCALE_MODE_CENTER_CROP| 以中心进行缩放的格式 |
**起始版本:** **起始版本:**
9 10
### anonymous enum ### anonymous enum
...@@ -180,7 +180,7 @@ PixelMap 编辑类型的枚举。 ...@@ -180,7 +180,7 @@ PixelMap 编辑类型的枚举。
| OHOS_PIXEL_MAP_EDITABLE| 可编辑的格式 | | OHOS_PIXEL_MAP_EDITABLE| 可编辑的格式 |
**起始版本:** **起始版本:**
9 10
## 函数说明 ## 函数说明
...@@ -272,7 +272,7 @@ int32_t OH_PixelMap_CreateAlphaPixelMap (napi_env env, napi_value source, napi_v ...@@ -272,7 +272,7 @@ int32_t OH_PixelMap_CreateAlphaPixelMap (napi_env env, napi_value source, napi_v
CreateAlphaPixelMap CreateAlphaPixelMap
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_CreatePixelMap() ### OH_PixelMap_CreatePixelMap()
...@@ -303,7 +303,7 @@ int32_t OH_PixelMap_CreatePixelMap (napi_env env, OhosPixelMapCreateOps info, vo ...@@ -303,7 +303,7 @@ int32_t OH_PixelMap_CreatePixelMap (napi_env env, OhosPixelMapCreateOps info, vo
CreatePixelMap CreatePixelMap
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_Crop() ### OH_PixelMap_Crop()
...@@ -334,7 +334,7 @@ int32_t OH_PixelMap_Crop (const NativePixelMap * native, int32_t x, int32_t y, i ...@@ -334,7 +334,7 @@ int32_t OH_PixelMap_Crop (const NativePixelMap * native, int32_t x, int32_t y, i
Crop Crop
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_Flip() ### OH_PixelMap_Flip()
...@@ -363,7 +363,7 @@ int32_t OH_PixelMap_Flip (const NativePixelMap * native, int32_t x, int32_t y ) ...@@ -363,7 +363,7 @@ int32_t OH_PixelMap_Flip (const NativePixelMap * native, int32_t x, int32_t y )
Flip Flip
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_GetBytesNumberPerRow() ### OH_PixelMap_GetBytesNumberPerRow()
...@@ -391,7 +391,7 @@ int32_t OH_PixelMap_GetBytesNumberPerRow (const NativePixelMap * native, int32_t ...@@ -391,7 +391,7 @@ int32_t OH_PixelMap_GetBytesNumberPerRow (const NativePixelMap * native, int32_t
GetBytesNumberPerRow GetBytesNumberPerRow
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_GetDensity() ### OH_PixelMap_GetDensity()
...@@ -418,7 +418,7 @@ int32_t OH_PixelMap_GetDensity (const NativePixelMap * native, int32_t * density ...@@ -418,7 +418,7 @@ int32_t OH_PixelMap_GetDensity (const NativePixelMap * native, int32_t * density
GetDensity GetDensity
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_GetIsEditable() ### OH_PixelMap_GetIsEditable()
...@@ -446,7 +446,7 @@ int32_t OH_PixelMap_GetIsEditable (const NativePixelMap * native, int32_t * edit ...@@ -446,7 +446,7 @@ int32_t OH_PixelMap_GetIsEditable (const NativePixelMap * native, int32_t * edit
GetIsEditable GetIsEditable
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_InitNativePixelMap() ### OH_PixelMap_InitNativePixelMap()
...@@ -474,7 +474,7 @@ NativePixelMap* OH_PixelMap_InitNativePixelMap (napi_env env, napi_value source ...@@ -474,7 +474,7 @@ NativePixelMap* OH_PixelMap_InitNativePixelMap (napi_env env, napi_value source
InitNativePixelMap InitNativePixelMap
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_IsSupportAlpha() ### OH_PixelMap_IsSupportAlpha()
...@@ -502,7 +502,7 @@ int32_t OH_PixelMap_IsSupportAlpha (const NativePixelMap * native, int32_t * alp ...@@ -502,7 +502,7 @@ int32_t OH_PixelMap_IsSupportAlpha (const NativePixelMap * native, int32_t * alp
IsSupportAlpha IsSupportAlpha
**起始版本:** **起始版本:**
9 10
...@@ -531,7 +531,7 @@ int32_t OH_PixelMap_Rotate (const NativePixelMap * native, float angle ) ...@@ -531,7 +531,7 @@ int32_t OH_PixelMap_Rotate (const NativePixelMap * native, float angle )
Rotate Rotate
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_Scale() ### OH_PixelMap_Scale()
...@@ -560,7 +560,7 @@ int32_t OH_PixelMap_Scale (const NativePixelMap * native, float x, float y ) ...@@ -560,7 +560,7 @@ int32_t OH_PixelMap_Scale (const NativePixelMap * native, float x, float y )
Scale Scale
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_SetAlphaAble() ### OH_PixelMap_SetAlphaAble()
...@@ -588,7 +588,7 @@ int32_t OH_PixelMap_SetAlphaAble (const NativePixelMap * native, int32_t alpha ) ...@@ -588,7 +588,7 @@ int32_t OH_PixelMap_SetAlphaAble (const NativePixelMap * native, int32_t alpha )
SetAlphaAble SetAlphaAble
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_SetDensity() ### OH_PixelMap_SetDensity()
...@@ -616,7 +616,7 @@ int32_t OH_PixelMap_SetDensity (const NativePixelMap * native, int32_t density ) ...@@ -616,7 +616,7 @@ int32_t OH_PixelMap_SetDensity (const NativePixelMap * native, int32_t density )
GetDensity GetDensity
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_SetOpacity() ### OH_PixelMap_SetOpacity()
...@@ -644,7 +644,7 @@ int32_t OH_PixelMap_SetOpacity (const NativePixelMap * native, float opacity ) ...@@ -644,7 +644,7 @@ int32_t OH_PixelMap_SetOpacity (const NativePixelMap * native, float opacity )
SetOpacity SetOpacity
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_Translate() ### OH_PixelMap_Translate()
...@@ -673,7 +673,7 @@ int32_t OH_PixelMap_Translate (const NativePixelMap * native, float x, float y ) ...@@ -673,7 +673,7 @@ int32_t OH_PixelMap_Translate (const NativePixelMap * native, float x, float y )
Translate Translate
**起始版本:** **起始版本:**
9 10
### OH_UnAccessPixels() ### OH_UnAccessPixels()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册