Zooming the drawingarea

Since at least cs3, Illustrator, InDesign & Photoshop has all had the Alt + mouse wheel zoom function. I have wondered when this would become available in flash. I just installed my cs5 design premium and immediately noticed that the zooming function has been further improved in the other programs but still nothing has happened in flash.
Am I missing some way to enable this zoom function or is there some third party plugin that can help me? It is annoying and time consuming to have to press z then click around to get the right zoom level and then click whatever tool I was using before instead of just pressing alt and scrolling a bit.
I would really be happy if there is a fix for this. If not I propose that the next update to flash incorporates this functionality.
/Sven
oh, and I apologize if this question is answered somewhere else on the forum, I searched and couldn't find it. (Flash plus zoom as search criteria just produced a lot of programming questions)

These are primarily user-to-user forums.  The place to submit ideas is...
Adobe - Wishlist & Bug Report
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

Similar Messages

  • The problem I have since I upgraded to Mavericks version 10.9.1 The problem appears only with Mail not with other programs, not even with my browser. When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command   to e

    the problem I have since I upgraded to Mavericks version 10.9.1
    The problem appears only with Mail not with other programs, not even with my browser.
    When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
    As I have a problem with my eyes, This is a serious matter for me.
    When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
    Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but  he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

  • Zoom the screen with ctrl   2-Finger Swipe not working in Mavericks

    I just bought a new Macbook Air for my wife (running Mavericks) and can't figure out why the Zoom the screen with ctrl   2-Finger Swipe is not working.
    I can't find the setting anywhere. 
    I looked on my Macbook Pro running Mavericks (on which the zoom still works), but I cannot find the setting on that computer either.
    Please help.
    Thanks

    System Preferences---> Accessibility---> Zoom---> Use scroll gesture with modifier key to zoom. Select ctrl in the drop down menu.
    It's a feature not normally turned on, so you might of had it turned on on your Mac before upgrading to Mavericks. And it just kept the setting.
    KOT

  • How to Zoom the Image in JAI

    Hi,
    I need to zoom the image during the each button click.I have done 1 program ,but i coulnt able to change the parameter block's value each time.Take this program and just change the pic's path and run
    it ll show the pic,smaller than its actual size,because i changed the parameter block's value.this cahnge i want to do for each button click,please try to solve my problem,
    the code is
    import javax.swing.JFrame;
    import java.awt.Toolkit;
    import java.awt.Dimension;
    import java.awt.image.RenderedImage;
    import java.awt.image.BufferedImage;
    import java.awt.BasicStroke;
    import java.awt.Color;
    import javax.swing.Icon;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseEvent;
    import javax.swing.JPanel;
    import java.awt.image.renderable.ParameterBlock;
    import java.io.IOException;
    import javax.media.jai.Interpolation;
    import javax.media.jai.JAI;
    import javax.media.jai.*;
    import java.awt.geom.*;
    import java.awt.geom.AffineTransform;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import javax.media.jai.RenderedOp;
    import com.sun.media.jai.codec.FileSeekableStream;
    import javax.media.jai.widget.ScrollingImagePanel;
    * This program decodes an image file of any JAI supported
    * formats, such as GIF, JPEG, TIFF, BMP, PNM, PNG, into a
    * RenderedImage, scales the image by 2X with bilinear
    * interpolation, and then displays the result of the scale
    * operation.
    public class JAISampleProgram extends DisplayJAI implements MouseListener
    JPanel jp=null;
    ParameterBlock params=null;
    Interpolation interp=null;
    RenderedImage image1;
    RenderedImage image2;
    RenderedImage rop;
    ScrollingImagePanel panel=null;
    JFrame jf=null;
    BufferedImage buff;
    Graphics2D graph;
    int width;
    int height;
    JAISampleProgram()
    JButton zoomin= new JButton(ico1);
    JButton zoomout = new JButton(ico2);
    jp = new JPanel();
    FileSeekableStream stream = null;
    try
    stream = new FileSeekableStream("D:/muthu/My Pictures/anniyan1.jpg");
    catch (IOException e)
    e.printStackTrace();
    System.exit(0);
    /* Create an operator to decode the image file. */
    image1 = JAI.create("stream", stream,null);
    * Create a standard bilinear interpolation object to be
    * used with the "scale" operator.
    interp = Interpolation.getInstance(
    Interpolation.INTERP_BICUBIC_2);
    * Stores the required input source and parameters in a
    * ParameterBlock to be sent to the operation registry,
    * and eventually to the "scale" operator.
    params = new ParameterBlock();
    params.addSource(image1);
    params.add(0.1f); // x scale factor
    params.add(0.1f); // y scale factor
    params.add(0.0F); // x translate
    params.add(0.0F); // y translate
    params.add(interp); // interpolation method
    /* Create an operator to scale image1. */
    image2 = JAI.create("scale", params,null);
    /* Get the width and height of image2. */
    width = image1.getWidth();
    height = image1.getHeight();
    /* Attach image2 to a scrolling panel to be displayed. */
    panel= new ScrollingImagePanel(image2, width, height);
    panel.setSize(400,300);
    setPreferredSize(new Dimension(image1.getWidth(),image1.getHeight()));
    buff = new BufferedImage(image1.getWidth(),image1.getHeight(), BufferedImage.TYPE_INT_RGB);
    width=image1.getWidth();
    height=image1.getHeight();
    graph = buff.createGraphics();
    graph.setStroke(new BasicStroke(2.0f));
    panel.addMouseListener(this);
    jp.add(zoomin);
    jp.add(zoomout);
    jf = new JFrame("sample");
    jf.setContentPane(panel);
    jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    repaint();
    public void mouseClicked(MouseEvent e)
    ParameterBlock pb = new ParameterBlock();
    interp = Interpolation.getInstance(Interpolation.INTERP_BICUBIC_2);
    pb = new ParameterBlock();
    pb.addSource(image2);
    pb.add(0.5f); // x scale factor
    pb.add(0.5f); // y scale factor
    pb.add(0.0F); // x translate
    pb.add(0.0F); // y translate
    pb.add(interp); // interpolation method
    rop = JAI.create("scale", params,null);
    panel= new ScrollingImagePanel(rop, width, height);
    panel.setSize(400,300);
    setPreferredSize(new Dimension(image1.getWidth(),image1.getHeight()));
    buff = new BufferedImage(image1.getWidth(),image1.getHeight(), BufferedImage.TYPE_INT_RGB);
    width=image1.getWidth();
    height=image1.getHeight();
    graph = buff.createGraphics();
    graph.setStroke(new BasicStroke(2.0f));
    repaint();
    public void mouseEntered(MouseEvent e)
    public void mouseExited(MouseEvent e){}
    public void mousePressed(MouseEvent e){}
    public void mouseReleased(MouseEvent e){}
    public synchronized void paintComponent(Graphics g)
    panel.paintComponents(g);
    Graphics2D g2d = (Graphics2D)g;
    g = jp.getGraphics();
    g2d.setColor(Color.BLUE);
    g2d.drawLine(50,50,100,100);
    graph.setColor(Color.yellow);
    g.drawLine(60,60,120,120);
    g2d.drawRenderedImage(rop,AffineTransform.getTranslateInstance(100.00,100.00));
    /* params = params.set(0.1f,0);
    params = params.set(0.1f,1); */
    public static void main(String[] args)
    /* Validate input.
    * Create an input stream from the specified file name
    * to be used with the file decoding operator.
    JAISampleProgram jai = new JAISampleProgram();
    /* Create a frame to contain the panel. */
    jai.jf.pack();
    Toolkit theKit=Toolkit.getDefaultToolkit();
    Dimension dim=theKit.getScreenSize();
    int scrWidth=dim.width;
    int scrHeight=dim.height;
    jai.jf.setSize(scrWidth,scrHeight);
    jai.jf.show();
    }

    scale your Graphics2D object
    http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Graphics2D.html#scale(double,%20double)
    Also check the documentation of
    http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComponent.html#paint(java.awt.Graphics)
    and see if your code would be better in paint(java.awt.Graphics) instead of paintComponent(Graphics g)

  • I NEED TO ZOOM THE PAGE EVERYTIME IN FIREFOX WHILE NOT IN OTHER BROWSERS

    I NEED TO ZOOM THE PAGE EVERYTIME IN FIREFOX WHILE NOT IN OTHER BROWSERS.

    The Firefox Page Zoom feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • Zooming the selected rectangle on an image

    hi,
    my problem is that once i'm able to zoom my image ,if i want to zoom it further either on mouse click or selecting a rectangle again on mousedrag,it throws an exception coz i'm not able to get either size or bofferedimage from the once zoomed image.
    do u have any suggestions:
    i'm sending my latest code
    private Graphics2D createGraphics2D(int w, int h) {
    Graphics2D g2 = null;
    if (bimg == null || bimg.getWidth() != w || bimg.getHeight() != h) {
    bimg = (java.awt.image.BufferedImage) createImage(w, h);
    g2 = bimg.createGraphics();
    g2.setBackground(getBackground());
    g2.clearRect(0, 0, w, h);
    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
    RenderingHints.VALUE_ANTIALIAS_ON);
    return g2;
    public void update(Graphics g) {
    paint(g);
    public void paint(Graphics g) {
    super.paint(g);
    try{
    t=new AffineTransform();
    //////added 09aug
    Dimension d = getSize();
    System.out.println(d);
    if(!first_paint){
    setScale(d.width,d.height - DRG_YPOS);
    first_paint = true;
    if(!image1)
    Graphics2D g2 = createGraphics2D(d.width, d.height -DRG_YPOS);
    g2.translate(((d.width/2) - ((zoomx*maxx + zoomx*minx)/2))
    + zoomx*scrollx,
    (((d.height-DRG_YPOS)/2))+scrolly);
    g2.scale(zoomx,zoomy);
    draw(d.width, (int)(maxy - (maxy- miny)/2) , g2);
    g.drawImage(bimg, 0, DRG_YPOS, this);
    System.out.println("image drawn for the "+counter+"time");
    counter++;
    System.out.println("counter is"+counter);
    System.out.println("image1 is"+image1);
    file://t= g2.getTransform();
    if(fzoom1)
    g.setColor(Color.red);
    g.drawRect(beginX,beginY,end1X-beginX,end1Y-beginY);
    System.out.println("drawing rect");
    if(fzoom){
    wx=beginX;
    wy=beginY;
    ww=end1X-beginX;
    wh=end1Y-beginY;
    bi = bimg.getSubimage(wx,wy,ww,wh);
    System.out.println("hello 2d");
    System.out.println(wx+","+wy+","+ww+","+wh);
    Dimension d1=getSize();
    Graphics2D g2d = bi.createGraphics();
    // g2d.setBackground(getBackground());
    int w=500;
    int h=500;
    System.out.println(w+","+h);
    System.out.println("g2d"+g2d);
    System.out.println("settransform callrd");
    // zoomFactor *=1;
    g2d.translate(100.0f, 100.0f);
    g2d.scale(zoomFactor, zoomFactor);
    System.out.println("scale called"+zoomFactor);
    file://zoomFactor++;
    g.drawImage(bi,50,50,w,h,this);
    System.out.println("w,h,bi"+w+","+h+","+bi);
    file://repaint();
    image1=true;
    file://zoomFactor++;
    file://fzoom=false;
    g2.dispose();
    }catch(Exception e)
    System.out.println("exception"+e);
    class IMS2DFrameMouseAdapter extends MouseAdapter implements MouseMotionListener{
    int mx;
    int my;
    int endx,endy;
    int X;
    int Y;
    Point point;
    public void mouseClicked( MouseEvent event ) {
    if(select)
    Dimension d = getSize();
    AffineTransform at = new AffineTransform();
    at.setToIdentity();
    at.translate(((d.width/2) - ((zoomx*maxx + zoomx*minx)/2))
    + zoomx*scrollx,
    (((d.height-DRG_YPOS)/2))+scrolly);
    at.scale(zoomx,zoomy);
    Point src = new Point(event.getX(),event.getY() - DRG_YPOS);
    Point pt = new Point();
    try{
    at.inverseTransform( src, pt);
    catch( NoninvertibleTransformException e)
    e.printStackTrace();
    pt.setLocation(pt.getX(), (maxy - (maxy- miny)/2 - pt.getY()));
    hitObject(pt);
    /*if(fence_zoom){
    fzoom2=true;
    }else
    fzoom2=false;
    public void mousePressed( MouseEvent event ) {
    if(fence_zoom)
    System.out.println("mouse Pressed");
    beginX = event.getX();
    beginY = event.getY();
    repaint();
    public void mouseReleased( MouseEvent event ) {
    end1X = event.getX();
    end1Y = event.getY();
    System.out.println("ENDX---"+endx);
    System.out.println("endy-----"+endy);
    if(translation)
    translatedrawing(endx - startx,endy - starty);
    if(fence_zoom){
    System.out.println("mouse released");
    file://end1X = event.getX();
    // end1Y = event.getY();
    fzoom=true;
    repaint(); file://updateSize(event);
    else{
    fzoom=false;
    public void mouseDragged(MouseEvent event) {
    if(fence_zoom){
    end1X = event.getX();
    end1Y = event.getY();
    fzoom1=true;
    System.out.println("mouse dragged");
    repaint();
    else {
    fzoom1=false;
    public void mouseMoved(MouseEvent event)
    thanks
    sangeeta
    "Gustavo Henrique Soares de Oliveira Lyrio" wrote:
    I think you are using the wrong drawimage method. If you have the selection retangle coordinates, you will need a method that draw this selection in a new retangle selection (your canvas or panel)
    Where goes my paintMethod:
    protected void paintComponent(Graphics g)
    g.drawImage(image, START_WINDOW_X, START_WINDOW_Y, WINDOW_X, WINDOW_Y, px1, py1, px2, py2, this);
    Take a look in the drawimage methods in the java web page. I think it will help.
    []`s
    Gustavo
    ----- Original Message -----
    From: sangeetagarg
    To: Gustavo Henrique Soares de Oliveira Lyrio
    Sent: Thursday, August 16, 2001 9:14 AM
    Subject: Re: Re: re:zoom in 2d
    i'm sending u the paint method.but still i'm not able to select the desired area .it zooms the while image.tell me if there is any error in the code.
    file://if(fence_zoom)
    if(fzoom1 )
    if (currentRect != null) {
    System.out.println("hello");
    g.setColor(Color.white);
    g.drawRect(rectToDraw.x, rectToDraw.y,
    rectToDraw.width - 1, rectToDraw.height - 1);
    System.out.println("drawing rectangle");
    fzoom1=false;
    if(fzoom)
    bi = bimg.getSubimage(rectToDraw.x, rectToDraw.y, rectToDraw.width, rectToDraw.height);
    System.out.println(rectToDraw.x+","+ rectToDraw.y+","+rectToDraw.width+","+ rectToDraw.height);
    Graphics2D g2d = bi.createGraphics();
    g2d.setBackground(getBackground());
    g2d.clearRect(0, 0,0,0 );
    file://ZoomIn();
    file://t= g2d.getTransform();
    file://g2d.setTransform(t);
    System.out.println("settransform callrd");
    // zoomFactor *=1;
    g2d.translate(100.0f, 0.0f);
    g2d.scale(zoomx, zoomy);
    System.out.println("scale called"+zoomFactor);
    zoomx += ZOOMSTEP;
    zoomy += ZOOMSTEP;
    file://zoomFactor+=zoomFactorupdate;
    g.drawImage(bi, 0, 0, this);
    // g.drawImage(bi,10,10,this);
    repaint();
    fzoom=false;
    thanks
    sangeeta

    Display first your image on an invisible label. Once displayed you can get the size of the image and you can redimension it as you want.
    Bye Alessio

  • One specific webites's zoom is too big how can I decrease the zoom. (the font is normal) If I open new tab for new site that's normal. Im using a laptop. THANKS

    One specific webites's zoom is too big how can I decrease the zoom. (the font is normal) If I open new tab for new site that's normal. Im using a laptop. THANKS

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    * http://kb.mozillazine.org/Zoom_text_of_web_pages

  • I can't crop/edit a photo in Facebook because when I touch the screen it just zooms the whole screen in and out

    I can't crop/edit a photo in Facebook because when I touch the screen it just zooms the whole screen in and out
    I am trying to update my profile picture and cover photo and Facebook advises to crop the area of the photo you want and select the area you want by dragging the area of photo , but every time I touch the screen it just zooms the whole page in and out and I can't turn it off :-(

    If your email account offers a webmail access, I suggest checking the webmail - log in to your account using the webmail access, and I predict you will see all those "unread" emails there and can dispose of them from there.
    This happens because the iPhone that went bad, when reading those emails, did not remove them from your email provider's servier.

  • Why when I preview the ebook on iPad it's impossible to zoom the page without rotate it?

    Why when I preview the ebook on iPad it's impossible to zoom the page without rotate it?

    Hi Frances. To be able to rule out your adblock addon from being the problem on that site do this: go into 'add-ons' in the firefox menu, into the extension tab (just like before) find the adblock addon and click on the 'disable' button. NOW GO TO YOUR GAME SITE AGAIN & SEE IF ITS STILL NOT WORKING FOR YOU OR IF ITs (sorry, not yelling at you. That key placement sucks) see if its working like it did before adding adblock. If its working good without it then its that particular add0n causing the puzzle problem. This is okay, you just need to follow my instructions and get a different adblock addon from the same place you got the first. You may have to install a few (one at a rime) til you find one that doesn't block your puzzle from working. If you notice while looking for add-ons the list will contain only ones that go with your version of firefox & OpSystem. Occasionally you may see one grayed out, that means not available to your version as well. Try bthat while I finish up with my stuff. And let me know whats happening. Good Luck.
    (My typing sucks but I have very long nails and well...)

  • Can I zoom the flv video playing in my swf?

    Can I zoom the flv video playing in my swf?
    Hi,
    I have a FLV video that is linked from my SWF file (It plays inside a flvplayback component in my movie). I'd like the flv to zoom (as it's playing) when the User mouses over it. Is that possible? I've been able to 'Create a Motion Tween' on it so that it plays in editing mode but when I preview it, the flv just stays the same size.
    I've been doing this zooming with symbols/shapes (using the 2d-zoom motion preset) but I'm wondering how I would do this on a flv. I need the video to be playing as the transform changes so I can't just zoom an image that looks like the video and then swap it for the real video when it gets actual size.
    Thanks for any help.

    Thanks Kglad.
    I found a good step by step explanation of this process by Somascope (you need to make a movie clip out of the flv playback component to actually tween it):
    http://forums.adobe.com/message/3481842#3481842
    also here is some documentation:
    http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/fl/trans itions/Tween.html

  • I have lightroom 5.  After cropping a photo, how can I zoom the small cropped photo for slideshow?

    After cropping a photo, how can I zoom the small cropped photo to fill the screen on a slideshow?

    Thank you
    ELHID
    JimHess <[email protected]> wrote:
    JimHess http://forums.adobe.com/people/JimHess created the discussion
    "Re: I have lightroom 5.  After cropping a photo, how can I zoom the small cropped photo for slideshow?"
    To view the discussion, visit: http://forums.adobe.com/message/5554629#5554629

  • Zoom the selected area in an image!!

    hi all,
    i heve created a an application in which user can select an area and on an image and then zoom that particular portion but when i zoom it the image keeps on going to the right bottom corner of the screen.I want my zoom to keep the selected area in the center of the screen.can anybody help me in thet.
    thanks
    sangeeta

    hi,
    can u solve ome more problem for me as u seem to be very comfortable in 2d.my problem is that once i'm able to zoom my image ,if i want to zoom it further either on mouse click or selecting a rectangle again on mousedrag,it throws an exception coz i'm not able to get either size or bofferedimage from the once zoomed image.
    do u have any suggestions:
    i'm sending my latest code
    private Graphics2D createGraphics2D(int w, int h) {
    Graphics2D g2 = null;
    if (bimg == null || bimg.getWidth() != w || bimg.getHeight() != h) {
    bimg = (java.awt.image.BufferedImage) createImage(w, h);
    g2 = bimg.createGraphics();
    g2.setBackground(getBackground());
    g2.clearRect(0, 0, w, h);
    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
    RenderingHints.VALUE_ANTIALIAS_ON);
    return g2;
    public void update(Graphics g) {
    paint(g);
    public void paint(Graphics g) {
    super.paint(g);
    try{
    t=new AffineTransform();
    //////added 09aug
    Dimension d = getSize();
    System.out.println(d);
    if(!first_paint){
    setScale(d.width,d.height - DRG_YPOS);
    first_paint = true;
    if(!image1)
    Graphics2D g2 = createGraphics2D(d.width, d.height -DRG_YPOS);
    g2.translate(((d.width/2) - ((zoomx*maxx + zoomx*minx)/2))
    + zoomx*scrollx,
    (((d.height-DRG_YPOS)/2))+scrolly);
    g2.scale(zoomx,zoomy);
    draw(d.width, (int)(maxy - (maxy- miny)/2) , g2);
    g.drawImage(bimg, 0, DRG_YPOS, this);
    System.out.println("image drawn for the "+counter+"time");
    counter++;
    System.out.println("counter is"+counter);
    System.out.println("image1 is"+image1);
    file://t= g2.getTransform();
    if(fzoom1)
    g.setColor(Color.red);
    g.drawRect(beginX,beginY,end1X-beginX,end1Y-beginY);
    System.out.println("drawing rect");
    if(fzoom){
    wx=beginX;
    wy=beginY;
    ww=end1X-beginX;
    wh=end1Y-beginY;
    bi = bimg.getSubimage(wx,wy,ww,wh);
    System.out.println("hello 2d");
    System.out.println(wx+","+wy+","+ww+","+wh);
    Dimension d1=getSize();
    Graphics2D g2d = bi.createGraphics();
    // g2d.setBackground(getBackground());
    int w=500;
    int h=500;
    System.out.println(w+","+h);
    System.out.println("g2d"+g2d);
    System.out.println("settransform callrd");
    // zoomFactor *=1;
    g2d.translate(100.0f, 100.0f);
    g2d.scale(zoomFactor, zoomFactor);
    System.out.println("scale called"+zoomFactor);
    file://zoomFactor++;
    g.drawImage(bi,50,50,w,h,this);
    System.out.println("w,h,bi"+w+","+h+","+bi);
    file://repaint();
    image1=true;
    file://zoomFactor++;
    file://fzoom=false;
    g2.dispose();
    }catch(Exception e)
    System.out.println("exception"+e);
    class IMS2DFrameMouseAdapter extends MouseAdapter implements MouseMotionListener{
    int mx;
    int my;
    int endx,endy;
    int X;
    int Y;
    Point point;
    public void mouseClicked( MouseEvent event ) {
    if(select)
    Dimension d = getSize();
    AffineTransform at = new AffineTransform();
    at.setToIdentity();
    at.translate(((d.width/2) - ((zoomx*maxx + zoomx*minx)/2))
    + zoomx*scrollx,
    (((d.height-DRG_YPOS)/2))+scrolly);
    at.scale(zoomx,zoomy);
    Point src = new Point(event.getX(),event.getY() - DRG_YPOS);
    Point pt = new Point();
    try{
    at.inverseTransform( src, pt);
    catch( NoninvertibleTransformException e)
    e.printStackTrace();
    pt.setLocation(pt.getX(), (maxy - (maxy- miny)/2 - pt.getY()));
    hitObject(pt);
    /*if(fence_zoom){
    fzoom2=true;
    }else
    fzoom2=false;
    public void mousePressed( MouseEvent event ) {
    if(fence_zoom)
    System.out.println("mouse Pressed");
    beginX = event.getX();
    beginY = event.getY();
    repaint();
    public void mouseReleased( MouseEvent event ) {
    end1X = event.getX();
    end1Y = event.getY();
    System.out.println("ENDX---"+endx);
    System.out.println("endy-----"+endy);
    if(translation)
    translatedrawing(endx - startx,endy - starty);
    if(fence_zoom){
    System.out.println("mouse released");
    file://end1X = event.getX();
    // end1Y = event.getY();
    fzoom=true;
    repaint(); file://updateSize(event);
    else{
    fzoom=false;
    public void mouseDragged(MouseEvent event) {
    if(fence_zoom){
    end1X = event.getX();
    end1Y = event.getY();
    fzoom1=true;
    System.out.println("mouse dragged");
    repaint();
    else {
    fzoom1=false;
    public void mouseMoved(MouseEvent event)
    thanks
    sangeeta
    "Gustavo Henrique Soares de Oliveira Lyrio" wrote:
    I think you are using the wrong drawimage method. If you have the selection retangle coordinates, you will need a method that draw this selection in a new retangle selection (your canvas or panel)
    Where goes my paintMethod:
    protected void paintComponent(Graphics g)
    g.drawImage(image, START_WINDOW_X, START_WINDOW_Y, WINDOW_X, WINDOW_Y, px1, py1, px2, py2, this);
    Take a look in the drawimage methods in the java web page. I think it will help.
    []`s
    Gustavo
    ----- Original Message -----
    From: sangeetagarg
    To: Gustavo Henrique Soares de Oliveira Lyrio
    Sent: Thursday, August 16, 2001 9:14 AM
    Subject: Re: Re: re:zoom in 2d
    i'm sending u the paint method.but still i'm not able to select the desired area .it zooms the while image.tell me if there is any error in the code.
    file://if(fence_zoom)
    if(fzoom1 )
    if (currentRect != null) {
    System.out.println("hello");
    g.setColor(Color.white);
    g.drawRect(rectToDraw.x, rectToDraw.y,
    rectToDraw.width - 1, rectToDraw.height - 1);
    System.out.println("drawing rectangle");
    fzoom1=false;
    if(fzoom)
    bi = bimg.getSubimage(rectToDraw.x, rectToDraw.y, rectToDraw.width, rectToDraw.height);
    System.out.println(rectToDraw.x+","+ rectToDraw.y+","+rectToDraw.width+","+ rectToDraw.height);
    Graphics2D g2d = bi.createGraphics();
    g2d.setBackground(getBackground());
    g2d.clearRect(0, 0,0,0 );
    file://ZoomIn();
    file://t= g2d.getTransform();
    file://g2d.setTransform(t);
    System.out.println("settransform callrd");
    // zoomFactor *=1;
    g2d.translate(100.0f, 0.0f);
    g2d.scale(zoomx, zoomy);
    System.out.println("scale called"+zoomFactor);
    zoomx += ZOOMSTEP;
    zoomy += ZOOMSTEP;
    file://zoomFactor+=zoomFactorupdate;
    g.drawImage(bi, 0, 0, this);
    // g.drawImage(bi,10,10,this);
    repaint();
    fzoom=false;
    thanks
    sangeeta

  • Konsole doesn't view well when I zoom the window of konsole

    I'm using KDE 4.8.4.Konsole can maximize / restore well.But it doesn't zoom well.When I zoom the window,konsole cannot view well.Sometimes it is white,or transparent.
    But when I change the window decorations of kwin to others like qtcurve.It works well.When the window decorations is Oxygen.It doesn't work well.
    I'm using catalyst,konsole 2.8.4.What should I do?Why does it happen?
    Sorry,I can't use English well.

    Sorry for my late update:
    cor-el, thanks for your suggestions, I've just tried with safe mode(by starting FF with "shift" held down), but things still don't work well. However, I did get some findings:
    * In either Safe or normal mode, when only 1 window of multiple tabs: if close window via "X" or "File"->"Exit", then no prompt.
    * In either Safe or normal mode, when 2 windows of multiple tabs:
    * * If close either window via "X", then it shows prompt :-)
    * * If close either window via "File"->"Exit", still no prompt.
    In all, 2 FF windows seem to work well for "X" button.
    I didn't try w/ more windows open, maybe same as 2 windows I guess.
    jscher2000, thanks for your sharing, too. It reminded me that the 2 closing methods are really different.
    Guys, looking fwd to more of your expertise sharing!

  • HT4972 How can I zoom the web page only vertically or horizontally ,i.e.,wThen I want to read the web page can I enlarge the page so that the font only increases size ?

    How can I zoom the web page only vertically or horizontally ,i.e.,wThen I want to read the web page can I enlarge the page so that the font only increases size ?

    You can't.  (Fonts increase in size like everything else, not in height alone).

  • Is normal that appear a spot  when i use the camera? and when you apply the zoom, the spot increases its size?

    Is normal that appear a spot  when i use the camera? and when you apply the zoom, the spot increases its size?

    Morning alex navarro,
    Thanks for using Apple Support Communities.
    For troubleshooting on this, take a look at this article:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Ensure the camera lens is clean and free from any obstructions. Use a microfiber polishing cloth to clean the lens.
    Third-party cases can interfere with the autofocus/exposure feature and the flash (iPhone 4 only); try removing the case if you have image-quality issues with photos.
    If your iPhone has a front and rear camera, try switching between them to verify if the issue persists on both.
    Hope this helps,
    Mario

Maybe you are looking for

  • OIM 11g Peoplesoft Roles provisioning issue

    Hi All, We have configured Peoplesoft Connector 9.1.1.6 to provision roles to Peoplesoft through access policy. We are not able to provision multiple roles into Peoplesoft. It just provisions first role to user in peoplesoft and errors when provision

  • Rounding Rule upto 3 Decimal Places in Tax Condition(SABRIX)

    Hi, We are Using SABRIX for Tax determination and need to round up Condition Type XR1- XR6 to round upto 3 Decimal Places. Do we need to To Change ALT Calc Type- 301306or Alt Cond Base Value -- 16  or have to change Currency  decimal Places in transa

  • Copying Ipod to computer

    How do I go about taking songs from my ipod and putting them on my laptop? Thanks for any help.

  • Running Totals and Formulas with Cross Tabs

    Hi, I'm using Crystal Reports 2008 and am having two issues using Cross Tabs. The first is that I want to have two crosstabs. They both will have a common Y axis (Oppourtunity.Sales Rep), and on the Y Axis I want one to show all (Opportunity.Create D

  • WAG320N port forwarding to wireless client/bridge client

    Hi, My network looks like the above diagram: 1. Wireless bridge connections. ADSL Line ==> WAG320N (192.168.1.1) == bridge client mode ==> TP-Link WR941ND (192.168.1.4) ==> Client (192.168.1.11) 2. Lan connections. ADSL Line ==> WAG320N (192.168.1.1)