pan

How does zooming, panning and rotating work?

Using OpenGL I'm attempting to draw a primitive map of my campus. Can anyone explain to me how panning, zooming and rotating is usually implemented? For example, with panning and zooming, is that simply me adjusting my viewport? So I plot and draw all my lines that compose my map, and then as the user clicks and drags it adjusts my vi...

What's wrong with this image panning algorithm?

In response to this question about zooming and panning in WPF I made the suggestion to use a ScaleTransform and update the RenderTransform origin in the MouseMove event. This works but I'm not happy with the fact that the panning movement does not quite match the mouse. I can see what the problem with this algorithm is, but the correct i...

Forms control that allows zoom, pan AND POI

Hello, For my phD project I need to do microscopy imaging. I cooked up an application using C#/winforms/GDI that allows me to display my images, zoom/pan them and display a ruler. However, the thing is quite buggy, although usable... What I need now is some kind of system to store a list of POIs (points of interest) based on user inte...

Inverting panning on MKMapView

Hi, Has anyone been able to intercept touches on MKMapView in order to pan in exactly the opposite direction the user flicks their finger? Thanks! Flyx ...

Communication over a Bluetooth PAN Ad-hoc network on Windows Mobile

I have two devices that are connected via a Bluetooth Ad-hoc Personal Area Network. What can I do to actually have my app communicate over this network? I am kind of at a loss for the next step. The end goal is to take a in memory class and transfer from one device to the other. I would love an example in C#. (I am using Compact Fra...

Invalid Argument Error in Jquery gzoom plugin

I am using a Jquery plugin named Jquery gzoom. It's very nice script but when I test it in IE. The script show the Invalid Argument Error. The error only shows in IE. I am wondering if anyone can figure about where in the script cause the error. Plugin page: http://lab.gianiaz.com/jquery/gzoom/index_it.html Thanks in advance. ...

Silverlight: animate and/or pan an image

I have a client requesting an animated/panned image be added to their website. Basically, it's a standard-size image, he wants to put it in a slightly narrower frame and have the image pan from left to right as a visual element on his website. There's no clicking and dragging required; it's just basically an animated pan from left to rig...

remote desktop client with panning of large desktops?

When using the standard Windows remote desktop client to connect to a large remote desktop, the result is usually that the remote desktop is resized to a smaller size matching the local display. Are there any RDP clients that instead leave the remote desktop at its original size and pan this larger area when the mouse reaches the border ...

WPF 3D: Zoom model with mouse pointer coordinates as center

Hello! Plattform: .NET 3.5 with C# WPF 3DTools I'm using 3DTools from the Codeplex site (3D Tools) for rotating and panning of 3D Models. This works fine. The Trackball class also contains a method for zooming models with the mouse wheel. However, this method always scales the model with Point(0,0,0) as the center of the zooming. B...

Android: Easiest way to make a WebView display a Bitmap?

I have some images that I loaded from a remote source stored in Bitmap variables and I want to display them. In addition to switching between these images the user should also be able to zoom and pan them. My first idea was to somehow pass them via an intent to the built-in gallery application but this doesn't seem to be possible. A solu...

How does Bonjour Over Bluetooth Work

Can anyone explain how bonjour works over bluetooth from iphone OS 3.0 onwards? The documentation says the Bonjour API's used in the application just works even if Wi-fi is off and Bluetooth is on. It also says , a Bluetooth PAN is established and hence IP address comes into picture. But Bonjour (based on mdns) requires multicast to wo...

Zoom to different parts of SVG depending on mouse position

So I've found a script which seems to do just that , but it zooms a <g> that wraps whole svg contents by applying a transformation matrix to it (though it doesn't zoom in Opera because of sniffing). Wrapping all lements in a <g> is not an option because I'm making an image viewer and different files may be loaded. Setting transform="m...

how to Pan one image over another using a seekbar to control it?

Hi All, I would like to know how I can pan one image over another. I have tried using matrix.postTranslate (below) but it seems to have no effect. Can anyone suggest a method that would work. private void drawMatrix(){ Matrix matrix = new Matrix(); //matrix.postSkew(curSkewX, curSkewY); // matrix.postScale(curScale, curScale); ...

Best way to zoom and pan a 2D cocos2d iphone game

What's the best way to implement a pan-able zoomable game map with Cocos2d for iPhone. It would be like Mobile Safari except with a game map that doesn't fit completely on screen. Or like how it's done with Angry Birds, Cut the rope, etc. This would not be a side scrolling game, just a fixed game area that you can zoom in/out of. I'm n...