RGBStroke - Image pixels instead of color (iOS)
问题 I am implementing a image mask kind of feature in iOS similar to what is offered in the Blender app with two images. Here is my touch move code :- - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { UITouch *touch = [touches anyObject]; CGPoint currentPoint = [touch locationInView:staticBG1]; UIGraphicsBeginImageContext(view.frame.size); [image_1 drawInRect:CGRectMake(0, 0, view.frame.size.width, view.frame.size.height)]; CGContextSetLineCap(UIGraphicsGetCurrentContext(),