]> git.saurik.com Git - winterboard.git/blobdiff - WBMarkup.h
Commit @3x logic (as it is getting in my way :/).
[winterboard.git] / WBMarkup.h
index 24645e00d30461b3e0e9f85fd4fc1f2391ab5fb7..a60e8fb907611bf35431beb04cf7473b19e19039 100644 (file)
 - (void) setStringDrawingOrigin:(CGPoint)origin;
 - (void) clearStringDrawingOrigin;
 
 - (void) setStringDrawingOrigin:(CGPoint)origin;
 - (void) clearStringDrawingOrigin;
 
-- (CGSize) sizeOfMarkup:(NSString *)markup forWidth:(float)width;
-- (CGSize) sizeOfString:(NSString *)string withStyle:(NSString *)style forWidth:(float)width;
+- (CGSize) sizeOfMarkup:(NSString *)markup forWidth:(CGFloat)width;
+- (CGSize) sizeOfString:(NSString *)string withStyle:(NSString *)style forWidth:(CGFloat)width;
 
 - (NSString *) _styleFormatString:(NSString *)style;
 
 - (NSString *) _styleFormatString:(NSString *)style;
-- (void) _setupWithStyle:(NSString *)style width:(float)width height:(float)height;
+- (void) _setupWithStyle:(NSString *)style width:(CGFloat)width height:(CGFloat)height;
 - (BOOL) _webPrepareContextForTextDrawing:(BOOL)drawing;
 
 - (void) drawMarkup:(NSString *)markup atPoint:(CGPoint)point;
 - (BOOL) _webPrepareContextForTextDrawing:(BOOL)drawing;
 
 - (void) drawMarkup:(NSString *)markup atPoint:(CGPoint)point;