mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-26 16:30:44 +00:00
!1788 effeckit rollback
Merge pull request !1788 from 肖邵安/OpenHarmony-5.0.1-Release
This commit is contained in:
commit
cd0ec9f5f3
@ -77,20 +77,6 @@ EffectErrorCode OH_Filter_Release(OH_Filter* filter);
|
||||
*/
|
||||
EffectErrorCode OH_Filter_Blur(OH_Filter* filter, float radius);
|
||||
|
||||
/**
|
||||
* @brief Creates a blur effect and then add to the filter.
|
||||
*
|
||||
* @syscap SystemCapability.Multimedia.Image.Core
|
||||
* @param filter The OH_Filter pointer will be operated.
|
||||
* @param radius The radius of the blur effect.
|
||||
* @param tileMode The tileMode of the blur effect.
|
||||
* @return BlurWithTileMode result code.
|
||||
* {@link EFFECT_SUCCESS} if the operation is successful.
|
||||
* {@link EFFECT_BAD_PARAMETER} if parameter is invalid.
|
||||
* @since 14
|
||||
*/
|
||||
EffectErrorCode OH_Filter_BlurWithTileMode(OH_Filter* filter, float radius, EffectTileMode tileMode);
|
||||
|
||||
/**
|
||||
* @brief Creates a brighten effect and then add to the filter.
|
||||
*
|
||||
|
@ -88,24 +88,6 @@ typedef enum {
|
||||
EFFECT_UNKNOWN_ERROR = 7600901,
|
||||
} EffectErrorCode;
|
||||
|
||||
/**
|
||||
* @brief Defines a effect filter tile mode.
|
||||
*
|
||||
* @since 14
|
||||
*/
|
||||
typedef enum {
|
||||
/** Replicate the edge color if the shader draws outside of its original bounds */
|
||||
CLAMP = 0,
|
||||
/** Repeat the shader's image horizontally and vertically */
|
||||
REPEAT,
|
||||
/** Repeat the shader's image horizontally and vertically,
|
||||
* alternating mirror images so that adjacent images always seam
|
||||
*/
|
||||
MIRROR,
|
||||
/** Only draw within the original domain, return transparent-black everywhere else */
|
||||
DECAL,
|
||||
} EffectTileMode;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -2,7 +2,6 @@
|
||||
{ "name": "OH_Filter_CreateEffect" },
|
||||
{ "name": "OH_Filter_Release" },
|
||||
{ "name": "OH_Filter_Blur" },
|
||||
{ "name": "OH_Filter_BlurWithTileMode" },
|
||||
{ "name": "OH_Filter_Brighten" },
|
||||
{ "name": "OH_Filter_GrayScale" },
|
||||
{ "name": "OH_Filter_Invert" },
|
||||
|
Loading…
Reference in New Issue
Block a user