0
나는 내가이 비트 맵의 높이를 증가시키고이처럼 그릴 수있는 방법 view.When의 크기도 증가 높이와 비트 맵을 만들 :iOS에서 비트 맵의 크기를 변경하는 방법은 무엇입니까?
- (void)drawRect:(CGRect)rect
{
CGContextRef context = UIGraphicsGetCurrentContext();
CGContextSaveGState(context);
if (myBitmapContext)
{
CGImageRef imageref = CGBitmapContextCreateImage(myBitmapContext);
CGContextDrawImage(context, rect, imageref);
CGImageRelease(imageref);
}
CGContextRestoreGState(context);
}
여러분의 도움에 감사드립니다!