6#ifndef _ZFI_ZFUIImageAni_h_
7#define _ZFI_ZFUIImageAni_h_
138#define ZFUIImageSerializeType_ZFUIImageAni "ZFUIImageAni"
141#define ZFSerializableKeyword_ZFUIImageAni_images "images"
143#define ZFSerializableKeyword_ZFUIImageAni_ref "ref"
145#define ZFSerializableKeyword_ZFUIImageAni_refSrc "refSrc"
147#define ZFSerializableKeyword_ZFUIImageAni_split "split"
149#define ZFSerializableKeyword_ZFUIImageAni_frames "frames"
151#define ZFSerializableKeyword_ZFUIImageAni_size "size"
153#define ZFSerializableKeyword_ZFUIImageAni_count "count"
155#define ZFSerializableKeyword_ZFUIImageAni_duration "duration"
157#define ZFSerializableKeyword_ZFUIImageAni_rect "rect"
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
_ZFT_t_zfindex zfindex
similar to size_t, used for index and size only
Definition ZFCoreTypeDef_CoreType.h:154
_zft_zftimet zftimet
time unit, ensured at least 64 bit, ensured signed
Definition ZFCoreTypeDef_CoreType.h:203
#define zfnull
same as NULL, defined for future use
Definition ZFCoreTypeDef_CoreType.h:88
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
#define ZFMP_IN_OUT(ParamType, paramName)
see ZFMP_IN
Definition ZFMethod.h:117
#define ZFMP_OUT(ParamType, paramName)
see ZFMP_IN
Definition ZFMethod.h:111
#define ZFMP_IN_OPT(ParamType, paramName, DefaultValue)
see ZFMP_IN
Definition ZFMethod.h:108
#define ZFMP_IN(ParamType, paramName)
macro to wrap param types for ZFMETHOD_INLINE_0 series
Definition ZFMethod.h:105
#define ZFMETHOD_FUNC_DECLARE_5(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1, ZFMP_2, ZFMP_3, ZFMP_4)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:1228
#define ZFMETHOD_FUNC_DECLARE_3(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1, ZFMP_2)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:910
#define ZFMETHOD_FUNC_DECLARE_4(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1, ZFMP_2, ZFMP_3)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:1065
#define ZFMETHOD_FUNC_DECLARE_1(ZFLIB_, ReturnType, MethodName, ZFMP_0)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:624
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
zfbool ZFUIImageAniLoadCheck(ZFUISize &frameSize, zfindex &frameCount, zftimet &frameDuration, const zfstring &fileName)
try parse rules declared in ZFUIImageAniLoad
zfbool ZFUIImageAniT(ZFUIImage *ret, ZFArray *images, zftimet duration=(0), ZFArray *frameDurations=(zft_zfnull))
see ZFUIImageAni
zfautoT< ZFUIImage > ZFUIImageAni(ZFArray *images, zftimet duration=(0), ZFArray *frameDurations=(zft_zfnull))
animated image util
zfbool ZFUIImageAniSave(const ZFPathInfo &dst, ZFArray *images, zftimet frameDuration=(0))
util function to save animated image with special logic
zfautoT< ZFUIImage > ZFUIImageAniLoad(const ZFInput &input)
util function to load animated image with special naming logic
container of ZFObject, see ZFContainer
Definition ZFArray.h:17
path related info storage for impl, actual meaning of the info depends on impl
Definition ZFPathInfo.h:35
image storage
Definition ZFUIImage.h:30
2D size
Definition ZFUITypeDef.h:397
type restrict version of zfauto
Definition zfautoFwd.h:110