Sources/NSBitmap.h
/* |
Copyright (C) 2015 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
Utility class for creating a bitmap from an image. |
*/ |
#import <Cocoa/Cocoa.h> |
@interface NSBitmap : NSObject |
- (nullable instancetype) initWithImage:(nullable NSImage *)image; |
+ (nullable instancetype) bitmapWithImage:(nullable NSImage *)image; |
@property (nonatomic, readonly, nullable) NSBitmapImageRep* bitmap; |
@end |
Copyright © 2015 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2015-12-10