Results 1 to 2 of 2

Thread: Draw interactive points on an image

  1. #1
    Join Date
    Sep 2016
    Posts
    8
    Thanks
    3
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Draw interactive points on an image

    Hello guys,
    i have a set of images, all of the same size (height and width), and for each image i have a set of coordinates (x,y) rapresenting interactive points i have to draw on the selected image.
    Let's say i have image A with two points PointA(X=30 , y=60) ,PointB(X=60 , Y=10) and PointC(X=70,Y=70) like in the image i have attached:

    https://s17.postimg.org/r46n2y8e7/cliccabili.jpg

    Can you tell me how i could achieve my goal?With which instruments? Can you link me some examples?
    Thank you for the answers and your time
    Attached Images Attached Images

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Draw interactive points on an image

    You can load images using QImage.
    You can draw on a QImage using QPainter.

    Cheers,
    _

Similar Threads

  1. How to draw arc between two points.
    By nikhil in forum Qt Programming
    Replies: 1
    Last Post: 19th April 2011, 14:55
  2. interactive image recommendation
    By yagabey in forum Qt Programming
    Replies: 0
    Last Post: 23rd November 2008, 13:03
  3. want to draw points in QGraphicsScene
    By ntp in forum Qt Programming
    Replies: 2
    Last Post: 10th April 2008, 19:14
  4. How to draw some points and lines?
    By luffy27 in forum Qt Programming
    Replies: 1
    Last Post: 24th November 2006, 17:47

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.