typedef void (*CGBitmapContextReleaseDataCallback)(void * __nullable releaseInfo,
void * __nullable data);
CG_EXTERN CGContextRef __nullable CGBitmapContextCreateWithData(
void * __nullable data, size_t width, size_t height, size_t bitsPerComponent,
size_t bytesPerRow, CGColorSpaceRef cg_nullable space, uint32_t bitmapInfo,
CGBitmapContextReleaseDataCallback __nullable releaseCallback,
void * __nullable releaseInfo)
CG_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_4_0);
CG_EXTERN CGContextRef __nullable CGBitmapContextCreate(void * __nullable data,
size_t width, size_t height, size_t bitsPerComponent, size_t bytesPerRow,
CGColorSpaceRef cg_nullable space, uint32_t bitmapInfo)
CG_AVAILABLE_STARTING(__MAC_10_0, __IPHONE_2_0);
CG_EXTERN void * __nullable CGBitmapContextGetData(CGContextRef cg_nullable context)
CG_AVAILABLE_STARTING(__MAC_10_2, __IPHONE_2_0);
CG_EXTERN size_t CGBitmapContextGetWidth(CGContextRef cg_nullable context)
CG_AVAILABLE_STARTING(__MAC_10_2, __IPHONE_2_0);
CG_EXTERN size_t CGBitmapContextGetHeight(CGContextRef cg_nullable context)
CG_AVAILABLE_STARTING(__MAC_10_2, __IPHONE_2_0);
CG_EXTERN size_t CGBitmapContextGetBitsPerComponent(CGContextRef cg_nullable context)
CG_AVAILABLE_STARTING(__MAC_10_2, __IPHONE_2_0);
CG_EXTERN size_t CGBitmapContextGetBitsPerPixel(CGContextRef cg_nullable context)
CG_AVAILABLE_STARTING(__MAC_10_2, __IPHONE_2_0);
CG_EXTERN size_t CGBitmapContextGetBytesPerRow(CGContextRef cg_nullable context)
CG_AVAILABLE_STARTING(__MAC_10_2, __IPHONE_2_0);
CG_EXTERN CGColorSpaceRef __nullable CGBitmapContextGetColorSpace(
CGContextRef cg_nullable context)
CG_AVAILABLE_STARTING(__MAC_10_2, __IPHONE_2_0);
CG_EXTERN CGImageAlphaInfo CGBitmapContextGetAlphaInfo(
CGContextRef cg_nullable context)
CG_AVAILABLE_STARTING(__MAC_10_2, __IPHONE_2_0);
CG_EXTERN CGBitmapInfo CGBitmapContextGetBitmapInfo(
CGContextRef cg_nullable context)
CG_AVAILABLE_STARTING(__MAC_10_4, __IPHONE_2_0);
CG_EXTERN CGImageRef __nullable CGBitmapContextCreateImage(
CGContextRef cg_nullable context)
CG_AVAILABLE_STARTING(__MAC_10_4, __IPHONE_2_0);
CGBitmapContext
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...