yackle / CLImageEditor

MIT License
2.21k stars 573 forks source link

How to handle touch events #113

Closed Tippit closed 9 years ago

Tippit commented 9 years ago

Hi,

I would like to handle finger move on the screen (Touch event) to update the inputCenter parameter of some effects.

I don't know how to do, can you help me or give some advices please!

Example with sliders [filter setValue:[NSNumber numberWithFloat:_scaleSlider.value] forKey:@"inputScale"]; when you change slider position the image reflect change, is it possible to do the same with one figer slide on screen?

yackle commented 9 years ago

I'm not sure you want to do. But I think that CLSpotEffect would be helpful.

Tippit commented 9 years ago

actually for some effects I have wanted to use the swipe of a finger to change the values ​​instead of sliders.

and I am also move the focus of certain effects (property "inputCenter") in the same way.

Best regards, Claude Bezeaud.

Le 5 août 2015 à 11:40, Sho Yakushiji notifications@github.com a écrit :

I'm not sure you want to do. But I think that CLSpotEffect would be helpful.

— Reply to this email directly or view it on GitHub.

yackle commented 9 years ago

sorry, i cannot understand.

Tippit commented 9 years ago

it does not matter i Will try with CLSpotEffect. Thank you for advice :)

Best regards, Claude Bezeaud.

Le 5 août 2015 à 17:38, Sho Yakushiji notifications@github.com a écrit :

sorry, i cannot understand.

— Reply to this email directly or view it on GitHub.