Questions tagged [pinch]
237 questions
0
votes
0 answers
Did listeners on panel in Ext JS 5 depends on the panel content?
I wan't to detect 'pinch' event on a Extjs 5 Panel, if I load the panel content using loader property it's working, but if I put an item (Iframe) in the panel, it doesn't work
Panel with an item (IFrame):
Ext.create('Ext.panel.Panel', {
…

Forgotten Angel
- 233
- 1
- 3
- 15
0
votes
1 answer
Pinch event on iFrame Extjs 5
I want to detect pinch event on an IFrame (Extjs 5 Component).
What's wrong with this code??
Ext.create('Ext.ux.IFrame', {
autoScroll: true,
src: 'resources/docs/doc1.html',
cls: 'iframeStyle',
listeners: {
…

Forgotten Angel
- 233
- 1
- 3
- 15
0
votes
0 answers
Laptop Mouse Pad Allows for Pinch - What is the Associated Event in Javascript
My laptop has a mousepad that allows for pinching.
I am writing a html/javascript page where I want to write my own scaling function for pinch.
This is a website page for mobiles and desktops. (I am testing the desktop.)
What event should I be…

Rewind
- 2,554
- 3
- 30
- 56
0
votes
0 answers
Is there a Cocoa Control or a library extending the UIImageView class with the pinch to zoom feature?
So, I have to implement the pinch to zoom and double tap zoom in iOS app at different location. So , I was wondering whether there already exists such a helper library , so that all that I have to do is just set the image and every thing else is…

rahulg
- 2,183
- 3
- 33
- 47
0
votes
1 answer
Windows Phone XAML: applying transformation matrix after pinch gesture
I move and scale a rectangle within a canvas element with touch gestures. The code is based on this reference: http://msdn.microsoft.com/en-us/magazine/gg650664.aspx
The XAML code is as follows:
0
votes
1 answer
iOS Pinch gesture recognizer tolerance
all.
Is there a way to increase the timing tolerance for the pinch gesture? By default your fingers have to touch down EXACTLY at the same time or another gesture gets the touches (scroll or longpress usually). I'd like to increase the tolerance…

Bungles
- 1,969
- 2
- 25
- 54
0
votes
1 answer
onDraw method of the view is called too many times
I have a HorizontalScrollView inside which I have multiple custom views. I am detecting pinch zoom event in HorizontalScrollView and passing the ScaleFactor to the child views. I want to scale the child views according to ScaleFactor provided by its…

user3265443
- 535
- 1
- 8
- 25
0
votes
6 answers
how can i make this equation faster
right now i have a bottle neck in my program I'm trying to write. i am trying to use a pinch gesture to control the scale of a UIImage. its the calculation of the scale that is causing the program to slow down and become choppy. below is the…

iHorse
- 595
- 3
- 9
- 12
0
votes
1 answer
Multitouch - PointerIndex out of range
I try to fix an issue which appears in my code when I added multitouch functions in my app.
The problem seems to come from ACTION_POINTER_DOWN :
private float oldDist = 0;
backCard.setOnTouchListener(new OnTouchListener() {
@Override
public…

jbltx
- 1,255
- 2
- 19
- 34
0
votes
1 answer
Inconsitant results with Pinches in a UITextView
I'm trying to figure out the best way to handle pinch gestures in a UITextView. Currently I've been trying to handle it all in the UITextView, but I'm getting inconsistant results. It seems that it can catch my touches in the touches began method,…

georryan
- 311
- 1
- 5
- 12
0
votes
2 answers
Pinch and Pan to Crop UIImage
I want to add a Pinch and Pan gesture that will crop the UIImage views on my ViewController. To crop the images, just pinch/pan the appropriate image and it will resize.
I currently have the Take Pic and Choose Image buttons grab the appropriate…

Robert Richardson
- 47
- 1
- 6
0
votes
1 answer
Zoom in an image with out loosing text resolution
I want to implement an application like "The star Epaper" available on Android and Apple Markets. This app is pretty amazing: it uses an small images but if u pinch this image, the quality of texts never change. It means by zoom in or zoom out the…

Ehsan
- 517
- 1
- 7
- 32
0
votes
3 answers
ios: pinchGesture that only happen once
In IOS 6, how to add PinchGesture that only detect once?
I have a UIView that I add to pinchGesture:
[self addPinchGestureRecognizersToView:self.view];
Then I attach a function to this Pinch to call out a uiview. The problem is when I pinch, the…

sooon
- 4,718
- 8
- 63
- 116
0
votes
1 answer
core plot zoom - pinchgesture
I have a problem with pinch gesture for zoom, the main problem is that when I zoom I zoom the center of view, so if I pinch on the top right or bottom the zoom is alway on the center of view.
This is my code, how can I edit it for make zoom on the…

francesco.venica
- 1,703
- 2
- 19
- 54
0
votes
1 answer
iphone pinch zoom
I have drawn few shapes in drawRect function of a view, these shapes color changes after some time repeatedly using setNeedsDisplay that calls the drawRect, secondly a shape name is also to be selected when tapped on it, up till now all works…

Ali Awais
- 113
- 1
- 9