commit | 2ba30c0182f4a4ffd1d97e14712b69f6630c44cf | [log] [tgz] |
---|---|---|
author | yangsu@google.com <yangsu@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jul 19 15:17:44 2011 +0000 |
committer | yangsu@google.com <yangsu@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jul 19 15:17:44 2011 +0000 |
tree | e239261f20b82952ad7b0cef46286a8c0231142e | |
parent | c344abda6be7edaa17ee0e473a8e53a27a37b1fb [diff] [blame] |
iOSSampleApp can now switch backends during runtime git-svn-id: http://skia.googlecode.com/svn/trunk@1897 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/iOSSampleApp/Shared/SkUIDetailViewController.mm b/experimental/iOSSampleApp/Shared/SkUIDetailViewController.mm index 17e0ec2..c0f4990 100644 --- a/experimental/iOSSampleApp/Shared/SkUIDetailViewController.mm +++ b/experimental/iOSSampleApp/Shared/SkUIDetailViewController.mm
@@ -99,7 +99,7 @@ printInfo.duplex = UIPrintInfoDuplexLongEdge; printInfo.outputType = UIPrintInfoOutputGeneral; fWind->saveToPdf(); - [self.view drawRect:self.view.bounds]; + [fSkUIView forceRedraw]; fData = fWind->getPDFData(); NSData* data = [NSData dataWithBytesNoCopy:(void*)fData->data() length:fData->size()]; controller.printInfo = printInfo;