zoom

JScrollPane setViewPosition After "Zoom"

The code that I have here is using a MouseAdapter to listen for the user to "draw" a box around the area of an image that they would like to zoom in on and calculate the ratio of the box to the image. It then resizes the image to the calculated ratio. This part works. The issue that I am having is making the JScrollPane view appear as i...

how to scale and get mirror image after rotating a UIImage?

hi all, my app has a photoshop like feature wherein the user can create a new image which is a combo of "n" number of images(sub imageS). the user can rotate, flip and zoom these sub images by selecting them one at a time. and in the end save the whole canvas as a image. My problem is once the sub-image is rotated and then if i try to f...

WPG browser text size or zoom

Is it possible to adjust the "size" of the browsers controls rendered output, ie text size or zoom out? Im wanting a small browser visible on a form just as a preview to what a html page will render like. so Id like it to be as small as possible any ideas on doing this? ...

Get window inner width and height of android built in webbrowser at all zoom levels

hi, I am trying by using javascript to get the window width and height of the build in webbrowser but can't find the right method, currently it seems the DOM doesn't know about the zoom level changes. Thanks ...

iPhone: how do i redraw subviews while pinch zooming a uiscrollview

I am developing an iPhone app that places multiple custom UIViews as subviews in a UIScrollView. The subviews are placed on top of each other as transparent views as each view has its own drawing routines that traces parts of the base view. The base view is a UIImageView that is typically a large image that I want the user to be able t...

jQuery plug-in for text zoom?

Hey, anyone knows a jQuery plug-in for text zoom a-la MAC OS X "Large Type" function in Address Book? I'd use it for the same situation - to show full-screen phone number after clicking on it. Cheers ...

How to zoom in and zoom out image using jquery?

Hi Friends! I have following code <div class="c1"> <div class="d1"> <img /> <img /> <img /> </div> </div> 1.There are GIF images included in tag. These images are transparent and some portion of them are highlighted with transparent yellow patch. 2. css class is applied to inner div class and the...

How can I use scrollRectToVisible to scroll to the center of an image?

I have a UIScrollView with zooming and panning. I want the image to scroll to the center after a user command. My problem is in calculating the size and location of a frame that is in the center of the image. Does anyone know how to calculate the correct frame for the center of my image? The problem is that if the zoomScale is different...

How can I enable zoom in on UIWebView which inside the UIScrollView?

Hi, I have a UIWebView which inside a UIScrollView (scrollview contain another component) I tried to enable multitouch both on Interface Builder or Programmatic on UIWebView but it still cannot zoom for html, do I need to handle both zoom in at the UIScrollView and UIWebView? Or anything I haven't to set? Thanks. ...

Google maps set zoom from hidden input value

I have a form with a hidden input that saves user's current zoom level <input type="hidden" name="zoom" value="15" id="zoom" /> <!-- default value="" --> However, when I try to use the zoom value from the input after I submit my form it doesn't use the input's value var zoom = $("#zoom").val(); var point; var gmap = new GMap2(docume...

Question regarding panning and zooming on android maps

Kindly address the below mentioned query about the zooming on android maps , quite a long time am searching for answer. left a msg in answer field as i dont wanna repeat the same question link text ...

Zooming on android dev - google maps becomes slower

I've developed a GPS app in which i record the user routes and show it on the map. But panning around on the map when reviewing my route is painfully slow, it takes at least 4 or 5 seconds for the map to respond the finger swipes. I've overridden the onDraw() method and drawing the lines to show the routes whenever we zoom on the map, ...

How to set the zoom value to the map?

I am new to iphone development.I am creating a map application.I want to load the map with a desired location with desired type and zoom.I am able to load the map at desired location by setting the coordinates.i want the zoom to be 18 and the map type to hybrid. - (void)viewDidLoad { MKCoordinateRegion region; region.center.latitude=31...

How can I scroll on scaled control ?

hi guys, I need a zooming mechanism. So I found one on http://stackoverflow.com/questions/850554/zoom-control-to-wpf-form which seem to be suitable for me. I have made a slider and apply ScaleTransform. My questions is: Is there any way I can wrap this into a scroll viewer so that I could scroll to the enlarged part that is not visi...

iphone uiwebview programatic zoom

Hello guys, i'm developing an app that saves html files locally on iPhone file system, then load them in UIWebView.. i want to be able to zoom or double tap programmatically on the UIWebView, i tried searching for javascript code, but i could only scroll also tried the webview transform, but didn't work out for me. so, i found this me...

WPF: How can i scale to fit the content?

hi guys: It gets basicaly to this: I have a canvas container (x:name="Container" - to reffer later to), with some other controls(e.g. I have a Button 30x60 in size) and I want to scale the Container to fit the button, without having to resize anything. (just using scaleTransform) If I set a slider binded to the Container Scale, I can ...

iPhone: UIWebView Zoom in-out option

Hi, I want to zoom in-out option in a UIWebView. How to do it? Thanks in advance. ...

UIWebview won't zoom even after setting scalesPageToFit to YES

I have a UIWebview that is loaded as a subview when a user selects a tab on a UISegmentedControl. For some reason, I can not get it to allow pinch/zooming. I set the following code in the viewDidLoad method, so it should work. self.myWebView = [[[UIWebView alloc] initWithFrame:self.view.frame] autorelease]; self.myWebView.backgroundColo...

iPhone Zoom Transition between 2 UIViews

I have a small floating UIView, viewHover, which acts as a container to 2 views "viewHot and viewCold" I which to transition between viewHot and viewCold with a zoom in then disolve transition I have seen a few times. Is this possible? ...

How to make the subview in a UIScrollView to refresh when we zoom it?

I have subclassed UIView object inside a uiscrollview which displays a pdf page. I can zoom that page. But when I do so, the inside view is zoomed and is getting blurred. I understood that the inner view shud be refreshed and i called setNeedsDisplay. But no change have happened and its the same even now. Below is the code for drawRect f...