]> git.saurik.com Git - winterboard.git/commitdiff
Add slightly more useful drawing debug. v0.9.3905
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 16 Apr 2012 14:47:41 +0000 (14:47 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 16 Apr 2012 14:47:41 +0000 (14:47 +0000)
Library.mm

index 223b681242378875dfc886cad272806d30648f4e..35c7002a38bbf46b8009fb4eb5575b1c3db2df47 100644 (file)
@@ -1965,7 +1965,7 @@ static void NSString$drawAtPoint$withStyle$(NSString *self, SEL _cmd, CGPoint po
     WKSetCurrentGraphicsContext(UIGraphicsGetCurrentContext());
     if (style == nil || [style length] == 0)
         style = @"font-family: Helvetica; font-size: 12px";
-    //NSLog(@"XXX:draw(%@)", [style stringByReplacingOccurrencesOfString:@"\n" withString:@" "]);
+    //NSLog(@"XXX:drawP(%@)", [style stringByReplacingOccurrencesOfString:@"\n" withString:@" "]);
     return [[WBMarkup sharedMarkup] drawString:self atPoint:point withStyle:style];
 }
 
@@ -1973,6 +1973,7 @@ static void NSString$drawInRect$withStyle$(NSString *self, SEL _cmd, CGRect rect
     WKSetCurrentGraphicsContext(UIGraphicsGetCurrentContext());
     if (style == nil || [style length] == 0)
         style = @"font-family: Helvetica; font-size: 12px";
+    //NSLog(@"XXX:drawR(%@)", [style stringByReplacingOccurrencesOfString:@"\n" withString:@" "]);
     return [[WBMarkup sharedMarkup] drawString:self inRect:rect withStyle:style];
 }