Showing: 1 - 1 of 1 Articles

GPUImage New Distortion Filter

Touch Moved Method in our View Controller -(void)touchesMoved:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {     if (TouchEnable)     {         UITouch *touch = [touches anyObject];         CGPoint touchPoint = [touch locationInView:_img_view];                  @autoreleasepool {                          double dx = fabs(BeginPoint.x – touchPoint.x);             …