未验证 提交 73331c77 编写于 作者: R renhw001 提交者: Gitee

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

Signed-off-by: Nrenhw001 <renhongwei9@huawei.com>
上级 bda863c1
...@@ -85,7 +85,7 @@ typedef struct NativePixelMap ...@@ -85,7 +85,7 @@ typedef struct NativePixelMap
用于定义NativePixelMap数据类型名称。 用于定义NativePixelMap数据类型名称。
**起始版本:** **起始版本:**
9 10
## 枚举类型说明 ## 枚举类型说明
...@@ -143,7 +143,7 @@ PixelMap alpha 类型的枚举。 ...@@ -143,7 +143,7 @@ PixelMap alpha 类型的枚举。
| OHOS_PIXEL_MAP_ALPHA_TYPE_UNPREMUL| 预除的格式 | | OHOS_PIXEL_MAP_ALPHA_TYPE_UNPREMUL| 预除的格式 |
**起始版本:** **起始版本:**
9 10
### anonymous enum ### anonymous enum
...@@ -160,7 +160,7 @@ PixelMap 缩放类型的枚举。 ...@@ -160,7 +160,7 @@ PixelMap 缩放类型的枚举。
| OHOS_PIXEL_MAP_SCALE_MODE_CENTER_CROP| 以中心进行缩放的格式 | | OHOS_PIXEL_MAP_SCALE_MODE_CENTER_CROP| 以中心进行缩放的格式 |
**起始版本:** **起始版本:**
9 10
### anonymous enum ### anonymous enum
...@@ -178,7 +178,7 @@ PixelMap 编辑类型的枚举。 ...@@ -178,7 +178,7 @@ PixelMap 编辑类型的枚举。
| OHOS_PIXEL_MAP_EDITABLE| 可编辑的格式 | | OHOS_PIXEL_MAP_EDITABLE| 可编辑的格式 |
**起始版本:** **起始版本:**
9 10
## 函数说明 ## 函数说明
...@@ -270,7 +270,7 @@ int32_t OH_PixelMap_CreateAlphaPixelMap (napi_env env, napi_value source, napi_v ...@@ -270,7 +270,7 @@ int32_t OH_PixelMap_CreateAlphaPixelMap (napi_env env, napi_value source, napi_v
CreateAlphaPixelMap CreateAlphaPixelMap
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_CreatePixelMap() ### OH_PixelMap_CreatePixelMap()
...@@ -301,7 +301,7 @@ int32_t OH_PixelMap_CreatePixelMap (napi_env env, OhosPixelMapCreateOps info, vo ...@@ -301,7 +301,7 @@ int32_t OH_PixelMap_CreatePixelMap (napi_env env, OhosPixelMapCreateOps info, vo
CreatePixelMap CreatePixelMap
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_Crop() ### OH_PixelMap_Crop()
...@@ -332,7 +332,7 @@ int32_t OH_PixelMap_Crop (const NativePixelMap * native, int32_t x, int32_t y, i ...@@ -332,7 +332,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()
...@@ -361,7 +361,7 @@ int32_t OH_PixelMap_Flip (const NativePixelMap * native, int32_t x, int32_t y ) ...@@ -361,7 +361,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()
...@@ -389,7 +389,7 @@ int32_t OH_PixelMap_GetBytesNumberPerRow (const NativePixelMap * native, int32_t ...@@ -389,7 +389,7 @@ int32_t OH_PixelMap_GetBytesNumberPerRow (const NativePixelMap * native, int32_t
GetBytesNumberPerRow GetBytesNumberPerRow
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_GetDensity() ### OH_PixelMap_GetDensity()
...@@ -416,7 +416,7 @@ int32_t OH_PixelMap_GetDensity (const NativePixelMap * native, int32_t * density ...@@ -416,7 +416,7 @@ int32_t OH_PixelMap_GetDensity (const NativePixelMap * native, int32_t * density
GetDensity GetDensity
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_GetIsEditable() ### OH_PixelMap_GetIsEditable()
...@@ -444,7 +444,7 @@ int32_t OH_PixelMap_GetIsEditable (const NativePixelMap * native, int32_t * edit ...@@ -444,7 +444,7 @@ int32_t OH_PixelMap_GetIsEditable (const NativePixelMap * native, int32_t * edit
GetIsEditable GetIsEditable
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_InitNativePixelMap() ### OH_PixelMap_InitNativePixelMap()
...@@ -472,7 +472,7 @@ NativePixelMap* OH_PixelMap_InitNativePixelMap (napi_env env, napi_value source ...@@ -472,7 +472,7 @@ NativePixelMap* OH_PixelMap_InitNativePixelMap (napi_env env, napi_value source
InitNativePixelMap InitNativePixelMap
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_IsSupportAlpha() ### OH_PixelMap_IsSupportAlpha()
...@@ -500,7 +500,7 @@ int32_t OH_PixelMap_IsSupportAlpha (const NativePixelMap * native, int32_t * alp ...@@ -500,7 +500,7 @@ int32_t OH_PixelMap_IsSupportAlpha (const NativePixelMap * native, int32_t * alp
IsSupportAlpha IsSupportAlpha
**起始版本:** **起始版本:**
9 10
...@@ -529,7 +529,7 @@ int32_t OH_PixelMap_Rotate (const NativePixelMap * native, float angle ) ...@@ -529,7 +529,7 @@ int32_t OH_PixelMap_Rotate (const NativePixelMap * native, float angle )
Rotate Rotate
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_Scale() ### OH_PixelMap_Scale()
...@@ -558,7 +558,7 @@ int32_t OH_PixelMap_Scale (const NativePixelMap * native, float x, float y ) ...@@ -558,7 +558,7 @@ int32_t OH_PixelMap_Scale (const NativePixelMap * native, float x, float y )
Scale Scale
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_SetAlphaAble() ### OH_PixelMap_SetAlphaAble()
...@@ -586,7 +586,7 @@ int32_t OH_PixelMap_SetAlphaAble (const NativePixelMap * native, int32_t alpha ) ...@@ -586,7 +586,7 @@ int32_t OH_PixelMap_SetAlphaAble (const NativePixelMap * native, int32_t alpha )
SetAlphaAble SetAlphaAble
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_SetDensity() ### OH_PixelMap_SetDensity()
...@@ -614,7 +614,7 @@ int32_t OH_PixelMap_SetDensity (const NativePixelMap * native, int32_t density ) ...@@ -614,7 +614,7 @@ int32_t OH_PixelMap_SetDensity (const NativePixelMap * native, int32_t density )
GetDensity GetDensity
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_SetOpacity() ### OH_PixelMap_SetOpacity()
...@@ -642,7 +642,7 @@ int32_t OH_PixelMap_SetOpacity (const NativePixelMap * native, float opacity ) ...@@ -642,7 +642,7 @@ int32_t OH_PixelMap_SetOpacity (const NativePixelMap * native, float opacity )
SetOpacity SetOpacity
**起始版本:** **起始版本:**
9 10
### OH_PixelMap_Translate() ### OH_PixelMap_Translate()
...@@ -671,7 +671,7 @@ int32_t OH_PixelMap_Translate (const NativePixelMap * native, float x, float y ) ...@@ -671,7 +671,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.
先完成此消息的编辑!
想要评论请 注册