0
我有以下代碼並排橫向合併兩個圖片的一面:與繪製的uImage到圖形上下文奇怪的行爲
CGFloat firstWidth = ImageLeft.size.width;
CGFloat firstHeight = ImageLeft.size.height;
CGFloat secondWidth = ImageRight.size.width;
CGFloat secondHeight = ImageRight.size.height;
CGSize sizetoNewImage = CGSizeMake(firstWidth+secondWidth , firstHeight); // Here merging two images horizontally ,
UIGraphicsBeginImageContext(sizetoNewImage);
[ImageLeft drawInRect : CGRectMake(0,0,firstWidth,firstHeight)];
[ImageRight drawInRect:CGRectMake(firstWidth,0,secondWidth,secondHeight)];// Here merging two images horizontally ,
backgroundImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
的問題是,當我告訴和backgroundImage它模糊了所有文本。雖然,如果我顯示單獨的圖像,用於加入一個圖像 - 他們顯示所有文本都很好。 我在那裏失蹤?
預先感謝
謝謝,這個伎倆! – Adviser2010 2013-04-29 07:28:55