Results 1 to 2 of 2

Thread: How to crop image from QGraphicsView after rotation of 90,180,270 ?

  1. #1
    Join Date
    Apr 2011
    Posts
    39
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default How to crop image from QGraphicsView after rotation of 90,180,270 ?

    Hello,

    can anybody tell me how to crop image from QGraphicsView, using mouse selection
    after rotation of 90,180,270 ?

    I am able to crop image as it is but not able to crop image at rotated angle.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: How to crop image from QGraphicsView after rotation of 90,180,270 ?

    What functions do you use to crop the image? Do you also rotate the "crop rectangle"?

Similar Threads

  1. QImage crop
    By bunjee in forum Qt Programming
    Replies: 3
    Last Post: 6th February 2013, 07:54
  2. Crop image
    By danics in forum Qt Programming
    Replies: 2
    Last Post: 10th March 2010, 09:24
  3. Clip/crop/cut an image
    By greenvirag in forum Qt Programming
    Replies: 3
    Last Post: 15th November 2008, 13:29
  4. Can I get current rotation of a QGraphicsView?
    By bjh in forum Qt Programming
    Replies: 5
    Last Post: 2nd October 2008, 22:04
  5. Paint Rect visible on Drag to crop image coordinate
    By patrik08 in forum Qt Programming
    Replies: 8
    Last Post: 17th March 2007, 09:04

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.