Anyone know how to drag an angle of a image by 2D not 3D

say if i load an image picture from file looks like this:
http://img294.imageshack.us/img294/3993/1111ru2.jpg
is that possible to drag any angle of it like this?
http://img294.imageshack.us/img294/5359/1112np5.jpg
it's like totated it in 3D space, but is that still possible to write method for it
it's like drag a corner of a image
how do i wirte a method for doing this?
i couldnt find any method for doing this in current library

[http://img294.imageshack.us/img294/5359/1112np5.jpg]
[http://img294.imageshack.us/img294/3993/1111ru2.jpg]
i only got this, for loading a image
Image wall = Toolkit.getDefaultToolkit().getImage(getClass().getResource("images/wall01.jpg"));
g.drawImage(wall, -50, 50, this);

Similar Messages

  • Anyone know how to drag an angle of a image?

    say if i load an image picture from file looks like this:
    [http://img294.imageshack.us/img294/3993/1111ru2.jpg]
    is that possible to drag any angle of it like this?
    [http://img294.imageshack.us/img294/5359/1112np5.jpg]
    i couldnt find a right method to use from standard java lirary
    if i need to write my own method, what concept or what's the basic methods i should use from library?
    does anyone have any idea?
    i only got this, for loading a image
    Image wall = Toolkit.getDefaultToolkit().getImage(getClass().getResource("images/wall01.jpg"));
    g.drawImage(wall, -50, 50, this);

    well i read a book in a bookstore today and i realised that it's something in java 3D
    i thought i can done it in 2D simply by draging 4 corners
    anyway ill post another one on the other topic

  • Anyone knows how to calculate Arc2D angle?

    The angle in Arc2D drawing is not genuine. Anyone knows the rule?

    per
    http://java.sun.com/j2se/1.3/docs/api/java/awt/geom/Arc2D.html
    The bounding rectangle defines the outer boundary of the full ellipse of which this arc is a partial section. The angles are specified relative to the non-square extents of the bounding rectangle such that 45 degrees always falls on the line from the center of the ellipse to the upper right corner of the bounding rectangle. As a result, if the bounding rectangle is noticeably longer along one axis than the other, the angles to the start and end of the arc segment will be skewed farther along the longer axis of the bounds.
    The actual storage representation of the coordinates is left to the subclass.

  • Does anyone know how you can play video with the screen locked and not just recorded video. Like downloaded video?

    So I want to be able to play video mp4 for my kids and lock the screen so that they don't disable or stop the video. Is there anyway you can lock the screen and play video? I've seen an app that tries to do this, but it only plays video recorded from the device. Also, it's not very good. I've also looked at IOS 5, but it only seems to support audio, not video, unless I am not doing something correctly? What happened to the simple old manual 'hold' switches that most devices have, like the PSP etc? It seems like all of the touch devices have neglected a simple touch disable button? Anyway, please provide any enlightenment here. 

    actually nevermind, it's working now. I closed iTunes, then waited a little, then double clicked one of my iTunes video files from my documents, which opened up iTunes again and the video started playing. I tried restarting iTunes before and that didn't work, so maybe for those who have similar problems, just try clicking on the video file in your documents/desktop of your computer, rather than directly from iTunes.

  • Does anyone know how to authorise a computer in itunes please

    does anyone know how to authorise a computer to my itune account im not having much luck  thanks

    Authorization and Deauthorization
    Macs:  iTunes Store- About authorization and deauthorization.
    Windows: How to Authorize or Deauthorize iTunes | PCWorld.
    In iTunes you use the Authorize This Computer or De-authorize This Computer option under the Store menu in iTunes' menubar. For Windows use the ALT-S keys to access it. Or turn on Windows 7 and 8 iTunes menus: iTunes- Turning on iTunes menus in Windows 8 and 7.
    More On De-authorizing Computers (contributed by user John Galt)
    You can de-authorize individual computers, but only by using those computers. The only other option is to "de-authorize all" from your iTunes account.
      1. Open iTunes on a computer
      2. From the Store menu, select "View my Account..."
      3. Sign in with your Apple ID and password.
      4. Under "Computer Authorizations" select "De-authorize All".
      5. Authorize each computer you still have, as you may require.
    You may only do this once per year.
    After you "de-authorize all" your authorized computers, re-authorize each one as required.
    If you have de-authorized all computers and need to do it again, but your year has not elapsed, then contact: Apple - Support - iTunes - Contact Us.

  • Anyone know how to get the "emojes" button off?

    I dislike emojes.  I like being able to dictate my messages.  After the recent update the mic symbol next to the space bar has been replaced with a Happy Face.  Anyone know how I can get the mic back?

    Dictation is not listed as an option to enable. But I was able to get rid of the emoji keyboard. Yay!  Still no "mic" for dictation, though.

  • Does anyone know how to retract a sent emial?

    Does anyone know how to retract a sent emial?

    sorry this is not possible for the most part.
    Some instances of Office Outlook you may have a chance.
    http://office.microsoft.com/en-us/outlook-help/recall-or-replace-an-email-messag e-that-you-sent-HA010354931.aspx

  • Anyone know how to solve pink dot on iPhone4 camera problem?

    I noticed recently that I have pink spots all over the camera screen when I shoot with my iPhone camera, in both picture and video mode. These appear in all the pictures that I take (refer to the photo below) There are no scratches or dust on the camera. The pink spots are magnified when I use the zoom-in function also.
    Does anyone know how do I solve this problem? If it's not a software issue, I might have to send the phone in to get the camera replaced.

    If the device doesn't appear in iTunes, try using the Steps in this article to force the device into Recovery Mode.
    From Here
    http://support.apple.com/kb/TS3281
    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download

  • Does anyone know how to transfer funds from one account to another?

    I Accidentally redeemed my itunes gift card to the wrong account. Does anyone know how I could transfer the funds?

    Gabby,
    It is not possible to transfer credit from one account to another.
    However, if you redeem a gift card and have not yet spent any of it, you can request to have the amount put back onto the card.  Contact iTunes Customer Service here:
    http://www.apple.com/support/itunes/contact/

  • Lr 5  icon presets appear plain white no like before Lr gray rectangle, does anyone know how to fix

    Lr 5  icon presets appear plain white no like before Lr gray rectangle, does anyone know how to fix this?
    sorry about my english is not that good.

    I have the same problem, those "deleted" drafts always appear in notification center.
    I don't like the solution by erasing the contents/settings and restoring from backup. I simply "clear" from right corner in notification center, but not sure if that "clear" function is just a cover-up, or it actually deletes those weird drafts.

  • Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper)

    Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper). For example, if I am downloading a paper by smith called "Surgery" that was published in 2002, it will automatically set the file name in the download to smith- surgery 2002. I have heard pages is smart enough to do this.
    thank you

    Pages can export only its own documents. They may be exported as PDF, MS Word, RTF or Text files.
    Pages can import (ie. Open a file as, or Insert a file into, a Pages document) documents in several formats, but won't rename the document as you describe. Documents that can be Opened (eg. Text, AppleWorks 6 WP, MS Word files) are converted to Pages documents, and retain their original names, with .pages replacing the original file extension. Files that can be Inserted (generally .jpg, .pdf and other image files) become part of the existing Pages file and lose their names.
    It may be possible, using AppleScript, to extract the text you want and to Save a Pages file using that text as the filename, but that would depend in part on being able to identify which text is wanted and which is not.
    How will the script determine where the author's name begins and where it ends?
    How will the script recognize the beginning and of the title, an decide how much of the title to use in the filename?
    How will the script recognize the year of publication?
    For papers published in a specific journal, with a strict format for placing each of these pieces on information, or containing the needed information as searchable meta data in the file, this might be possible. But it would require knowledge of the structure of these files, and would probably handle only papers published in a specific journal or set of journals.
    Outside my field of knowledge, but there are some talented scripters around here who might want to take a closer look.
    Best of luck.
    Regards,
    Barry

  • When i click on a song to plat or drag it to a playlist an exclaimation appears next to it . a message says , could not be used because the ori ginal file could not be found. does anyone know how to fix this problemn?

    When i click on a song to play or drag it to a playlist an exclaimation mark appears next to it. a message says , could not be used because the original file could not be found. does anyone know how to fix this problem?

    1. delete this songs from your liblary
    2. go File -> Add File to Liblary... (Ctrl+O) or File -> Add Folder to Liblary

  • Does anyone know how i can view PDF files using Galaxy Note 2?

    Does anyone know how i can view PDF files using Galaxy Note 2?
    This is what i have been doing;
    I click on the file i wish to view (via a portal)
    this file goes to notification widget (i drag down screen)
    notification/message says download complete
    i click on notification/message
    nows it says complete action using (here i only have 2 icon options 1= DB Text Editor 2 = HTML Viewer)
    I have installed Adobe Reader.

    Can you confirm if the downloaded file is a pdf file, that is it ends with .pdf?

  • My macbook pro's screen display has suddenly gone into a strange colour setting where everything appears in a kind of infrared colour palette an I can;t seem to change it back.  It's the same for all icon and websites, does anyone know how to restore?

    My macbook pro's screen display has suddenly gone into a strange colour setting where everything appears in a kind of infrared colour palette an I can;t seem to change it back.  It's the same for all icon and websites, does anyone know how to restore?

    Wow!  I think I had this same issue just last night.
    I was cleaning my macbook pro retina on the outside.  Then I opened it up and was wiping dust off the monitor and I can't pinpoint exactly when, but the colors changed suddenly.  It looked super strange, it was like green halo's and it looked worse when looking at it at an angle.  Of course I took no pictures!!!  I was freaking out that my 2 grand laptop was busted and I somehow removed a protective film or something.
    But I digress...  The image looked very green and spacey, it was almost a neat effect.  After about 5 minutes it started to look a little more digital though.  There were straight lines of this halo effect on the edges and top.  After about 10 minutes it turned into a predominate issue with the blacks on screen.  I could open a web browser and it was unnoticable on a white background.  After about 15 minutes, you could only barely see the green cloud effect if you looked at the monitor from an extreme angle.  After about 20 minutes, it was completely back to normal, I almost feel paranoid like I see a halo or something strange.  But I believe that might be all in my head now.
    So yerp, lemme know what you guys figure out.

  • My iMac is connected to a Brother printer. I have Snow Leopard 10.7.3 As of yesterday, when I try to print a PDF it prints as a blank black page. Does anyone know how to correct this so that the PDF will print as I see it on screen?

    My iMac is connected to a Brother printer. I have Snow Leopard 10.7.3 As of yesterday, when I try to print a PDF it prints as a blank black page. Does anyone know how to correct this so that the PDF will print as I see it on screen?

    If you are running Mac OS X 10.7.3 then you have Lion installed, not Snow Leopard. It's probably not important to this discussion, but something you should be aware of.
    What application are you printing the PDF files from? Have you tried opening the PDF file using the Preview application that can be found in the Applications folder? Does the issue still occur? Have you tried other PDF files from a different source?
    Another poster in the following discussion thread reported that this method resolved their black blank PDF issue when viewing (and presumably printing) PDF files from Safari.
    https://discussions.apple.com/thread/3890509?start=0&tstart=0
    This solved my question by mcbuffy  on Apr 20, 2012 11:29 AM 
    There's a solution if you want to see the PDF inside Safari's window :
    Go to the folder : Your Hard Drive / Library / Internet Plug-ins.
    If you see a file with PDF in its name drag it to the trash.
    Quit and restart Safari to test with a PDF.
    If it works you can empty the trash.

Maybe you are looking for