6#ifndef _ZFI_ZFProtocolZFUIImageIO_h_
7#define _ZFI_ZFProtocolZFUIImageIO_h_
29 ,
ZF_IN void *nativeImage
41 ,
ZF_IN void *nativeImage
#define zfpurevirtual
dummy macro shows that a method is pure virtual method
Definition ZFCoreTypeDef_ClassType.h:68
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:180
_zft_zffloat zffloat
same as float, see zfindex
Definition ZFCoreTypeDef_CoreType.h:183
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
protocol definitions for ZFFramework
#define ZFPROTOCOL_INTERFACE_END(ModuleName)
for more information, please refer to ZFPROTOCOL_INTERFACE_BEGIN
Definition ZFProtocol.h:414
#define ZFPROTOCOL_INTERFACE_BEGIN(ZFLIB_, ModuleName)
declare a protocol interface for ZFFramework
Definition ZFProtocol.h:408
#define ZFLIB_ZFUIKit
used to export symbols
Definition ZFUIKitDef.h:16
_zft_ZFUIColor ZFUIColor
color with AARRGGBB format
Definition ZFUITypeDef.h:1184
virtual void * imageApplyScale(zffloat imageScale, void *nativeImage, const ZFUISize &newSize, const ZFUIMargin &ninePatch)=0
see ZFUIImageScale
virtual void * imageLoadInFrame(zffloat imageScale, void *nativeImage, const ZFUIRect &frameInImage)=0
see ZFUIImageInFrame
virtual void * imageLoadFromColor(zffloat imageScale, const ZFUIColor &color, const ZFUISize &size)=0
see ZFUIImageFromColor, size ensured valid
margin
Definition ZFUITypeDef.h:147
2D rectangle
Definition ZFUITypeDef.h:636
2D size
Definition ZFUITypeDef.h:397