已合并
回退OH_Filter_ColorMatrix修改 #154817
chensiyi_CE创建于 7月9日
回退OH_Filter_ColorMatrix修改 #154817
已合并
共 4 个文件变更+8-6
| @@ -27,7 +27,7 @@ This file declares the data types of the image effect filter. | |||
| 27 | 27 | ||
| 28 | | Name| typedef Keyword| Description| | 28 | | Name| typedef Keyword| Description| |
| 29 | | -- | -- | -- | | 29 | | -- | -- | -- | |
| 30 | -| [OH_Filter_ColorMatrix](capi-effectkit-oh-filter-colormatrix.md) | OH_Filter_ColorMatrix | Describes a matrix used to create an effect filter.| | 30 | +| [OH_Filter_ColorMatrix](capi-effectkit-oh-filter-colormatrix.md) | - | Describes a matrix used to create an effect filter.| |
| 31 | | [OH_Filter](capi-effectkit-oh-filter.md) | OH_Filter | Defines a struct for a filter used to generate a filter PixelMap.| | 31 | | [OH_Filter](capi-effectkit-oh-filter.md) | OH_Filter | Defines a struct for a filter used to generate a filter PixelMap.| |
| 32 | | [OH_PixelmapNative](capi-drawing-oh-pixelmapnative.md) | OH_PixelmapNative | Defines a struct for a PixelMap.| | 32 | | [OH_PixelmapNative](capi-drawing-oh-pixelmapnative.md) | OH_PixelmapNative | Defines a struct for a PixelMap.| |
| 33 | 33 | ||
| @@ -7,8 +7,10 @@ | |||
| 7 | <!--Tester: @zhaoxiaoguang2--> | 7 | <!--Tester: @zhaoxiaoguang2--> |
| 8 | <!--Adviser: @ge-yafang--> | 8 | <!--Adviser: @ge-yafang--> |
| 9 | 9 | ||
| 10 | -``` | 10 | +```c |
| 11 | -typedef struct OH_Filter_ColorMatrix {...} OH_Filter_ColorMatrix | 11 | +struct OH_Filter_ColorMatrix { |
| 12 | + // ... | ||
| 13 | +}; | ||
| 12 | ``` | 14 | ``` |
| 13 | 15 | ||
| 14 | ## Overview | 16 | ## Overview |
| @@ -29,7 +29,7 @@ | |||
| 29 | 29 | ||
| 30 | | 名称 | typedef关键字 | 描述 | | 30 | | 名称 | typedef关键字 | 描述 | |
| 31 | | -- | -- | -- | | 31 | | -- | -- | -- | |
| 32 | -| [OH_Filter_ColorMatrix](capi-effectkit-oh-filter-colormatrix.md) | OH_Filter_ColorMatrix | 定义用于创建滤镜效果的矩阵,矩阵维度为4x5,元素取值范围为浮点数。 | | 32 | +| [OH_Filter_ColorMatrix](capi-effectkit-oh-filter-colormatrix.md) | - | 定义用于创建滤镜效果的矩阵,矩阵维度为4x5,元素取值范围为浮点数。 | |
| 33 | | [OH_Filter](capi-effectkit-oh-filter.md) | OH_Filter | 滤镜结构体,用于配合effectKit模块相关接口实现滤镜效果处理。 | | 33 | | [OH_Filter](capi-effectkit-oh-filter.md) | OH_Filter | 滤镜结构体,用于配合effectKit模块相关接口实现滤镜效果处理。 | |
| 34 | | [OH_PixelmapNative](capi-drawing-oh-pixelmapnative.md) | OH_PixelmapNative | 声明由图像框架定义的像素图对象。 | | 34 | | [OH_PixelmapNative](capi-drawing-oh-pixelmapnative.md) | OH_PixelmapNative | 声明由图像框架定义的像素图对象。 | |
| 35 | 35 | ||
| @@ -8,9 +8,9 @@ | |||
| 8 | <!--Adviser: @ge-yafang--> | 8 | <!--Adviser: @ge-yafang--> |
| 9 | 9 | ||
| 10 | ```c | 10 | ```c |
| 11 | -typedef struct OH_Filter_ColorMatrix { | 11 | +struct OH_Filter_ColorMatrix { |
| 12 | // ... | 12 | // ... |
| 13 | -} OH_Filter_ColorMatrix; | 13 | +}; |
| 14 | ``` | 14 | ``` |
| 15 | 15 | ||
| 16 | ## 概述 | 16 | ## 概述 |