Questions tagged [pan]

"panning" refers to the rotation in a horizontal plane of an object or viewport.

453 questions
0
votes
1 answer

Achartengine linechart panning in Scrollview

I'm developing an Android application where I have to display several graphs in a one scrollview. Now, I got the linechart to display on scrollview and I can scroll them fine. However, there seems to be problem with panning the charts up or down.…
Tumetsu
  • 1,661
  • 2
  • 17
  • 29
0
votes
2 answers

Pan gesture behaving weird after default rotation and scale

I am currently designing a little game as a learning project and it is basically the following, a image is rotated and scaled on viewDidLoad and another image is a direct copy of the original image. So basically there is a image that is a little…
Dummy Code
  • 1,858
  • 4
  • 19
  • 38
0
votes
1 answer

ImageView not moving properly

I have imageView. ImageView having images. When i move imageView the image is not moving properly. I referred some other tutorials but not helping. When i move image to left, it moving downside code: imageView.setOnTouchListener(new…
user2474320
  • 315
  • 1
  • 5
  • 17
0
votes
1 answer

List pan function

I have made this little script. It works great until there is too much content. Compare this: http://jsbin.com/axewuf/1 With this: http://jsbin.com/axewuf/3 The only difference is the content. The first example is working like it should but for…
Patrik
  • 2,207
  • 3
  • 30
  • 48
0
votes
1 answer

Issues with adding custom control to winforms tabcontrol

I am having trouble adding a custom zoom-able an pan-able picture box control to a tabcontrol.tabpage dynamically at runtime. I have tried a lot and was wondering if any of you smart fellas might have some advice for a poor noob like myself... here…
0
votes
2 answers

Pan an UIImageView in background?

I'm trying to realize an app that requires to move an UIImageView, that is put behind a transparent grid. How can I make it? This is the code: [[self view] addSubview:myimage]; myimage.userInteractionEnabled = YES; UIPanGestureRecognizer *panGesture…
charles
  • 713
  • 1
  • 6
  • 16
0
votes
1 answer

Can you link a movieclip to a point on an externally loaded image in Actionscript 3?

[EDIT] Please see the code. I can load the image, I can load the movie clip. The image zooms and pans to user input. But the movieclip (mcInfo) needs to be "attached" to a point on the image to insure it zooms and pans with the image. The reason for…
Deon
  • 109
  • 2
  • 13
0
votes
1 answer

Rotating an object on X Y axis, cocos3D

I'm using Cocos3D on iOs. I need to rotate an object using pan gesture. switch (gesture.state) { case UIGestureRecognizerStateBegan: saveState = Dobj.rotation; break; case UIGestureRecognizerStateChanged: CC3Vector…
Micka
  • 1,648
  • 1
  • 19
  • 34
0
votes
2 answers

jquery horizontal panning clouds

I have an image of clouds which is set to take up 100% width of the screen. I want to be able to pan it, similar to the way the "Spritely" plugin can pan clouds continuously, however, I'm not using Spritely because this is not a "background image".…
James Barracca
  • 465
  • 2
  • 6
  • 14
0
votes
1 answer

Testing touch capabilities on the Android Emulator

I have this code that I saw on here for pan+zoom capabilities. I am testing it in the emulator, but I can only click in the emulator, so I don't know whether it actually works. How do I check that? import android.content.Context; import…
user83676
  • 339
  • 1
  • 9
  • 15
0
votes
1 answer

D3.js semantic zoom and pan example not working

I am trying to implement a version of the SVG Semantic Zoom and Pan example for D3.js, found here. I am trying to do this with a Dendrogram / tree (example here), as recommended by Mike Bostock (here). The goal is like this jsFiddle that one of the…
user
  • 4,651
  • 5
  • 32
  • 60
0
votes
1 answer

Programmatically invoke pan tool

In matlab, how to change plot pan programmatically? the function syntax from the documentation: pan on pan xon pan yon pan off pan pan(figure_handle,...) h = pan(figure_handle) the code seems to be used for enabling and disabling the tool and…
Sameh K. Mohamed
  • 2,323
  • 4
  • 29
  • 55
0
votes
0 answers

Pan Larger image when Thumbnail is panned

Sorry for the awful title, I wasn't sure of the correct terminology to use. I have put a world map on a webpage with a canvas window on the image. This world map is far too large to view at once so the user can pan the image within the window. I…
learningtofly
  • 353
  • 1
  • 2
  • 13
0
votes
2 answers

Pan & Zoom canvas issue when canvas is resized

I have used the code I found on this stackoverflow answer (live demo here) to implement pan & zoom on my canvas. This works great but I have an issue. My entire page is the canvas so when the browser is resized the canvas is also resized. Without…
Chris
  • 26,744
  • 48
  • 193
  • 345
0
votes
1 answer

windows phone how to show full one panorama Items on page, I don't want some portion of second Item

I'm creating WP7 app. with panorama item. I'm facing problem. I want show full panorama item(page) on screen. By default It's showing some portion of second page. I don't want some portion of second Item. How it possible. Br, Siddhesh