123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
-
-
- @class ZXBitArray, ZXIntArray;
-
-
- @interface ZXBitMatrix : NSObject <NSCopying>
-
-
- @property (nonatomic, assign, readonly) int width;
-
-
- @property (nonatomic, assign, readonly) int height;
-
- @property (nonatomic, assign, readonly) int32_t *bits;
-
-
- @property (nonatomic, assign, readonly) int rowSize;
-
-
- - (id)initWithDimension:(int)dimension;
- - (id)initWithWidth:(int)width height:(int)height;
-
- + (ZXBitMatrix *)parse:(NSString *)stringRepresentation
- setString:(NSString *)setString
- unsetString:(NSString *)unsetString;
-
-
- - (BOOL)getX:(int)x y:(int)y;
-
-
- - (void)setX:(int)x y:(int)y;
-
- - (void)unsetX:(int)x y:(int)y;
-
-
- - (void)flipX:(int)x y:(int)y;
-
-
- - (void)xor:(ZXBitMatrix *)mask;
-
-
- - (void)clear;
-
-
- - (void)setRegionAtLeft:(int)left top:(int)top width:(int)width height:(int)height;
-
-
- - (ZXBitArray *)rowAtY:(int)y row:(ZXBitArray *)row;
-
-
- - (void)setRowAtY:(int)y row:(ZXBitArray *)row;
-
-
- - (void)rotate180;
-
-
- - (ZXIntArray *)enclosingRectangle;
-
-
- - (ZXIntArray *)topLeftOnBit;
-
- - (ZXIntArray *)bottomRightOnBit;
-
- - (NSString *)descriptionWithSetString:(NSString *)setString unsetString:(NSString *)unsetString;
-
-
- - (NSString *)descriptionWithSetString:(NSString *)setString unsetString:(NSString *)unsetString
- lineSeparator:(NSString *)lineSeparator DEPRECATED_ATTRIBUTE;
-
- @end
|