Results 1 to 2 of 2

Thread: Equivalent function in Qt to Wn32 LPtoDP logical coordinates to raster (pixel) values

  1. #1
    Join Date
    Nov 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Equivalent function in Qt to Wn32 LPtoDP logical coordinates to raster (pixel) values

    I am trying to get raster data (pixel width and height) of multiple polygons and its bounding box. I have longitude and latitude values in degrees. What I need to do is convert those values into some logical coordinates and then get device specific coordinates. Win32 LPtoDp() is exactly what I am looking for. I tried to use QPainter, QGraphicsView worldmatrix() but Not sure it will do what I wanted. Any suggestion will be appreciated. My pixel is 1 byte.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Equivalent function in Qt to Wn32 LPtoDP logical coordinates to raster (pixel) va

    Quote Originally Posted by ujgps View Post
    Any suggestion will be appreciated.
    I suggest that you better express what you are doing and what you need. From your post we don't even know which classes you are using so how can we suggest anything?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 6
    Last Post: 2nd March 2018, 04:39
  2. Replies: 2
    Last Post: 13th June 2010, 12:41
  3. how can i edit pixel values
    By Askar in forum Qt Programming
    Replies: 1
    Last Post: 4th March 2010, 04:09
  4. Replies: 0
    Last Post: 24th November 2008, 08:52
  5. Equivalent function
    By Sarma in forum Qt Programming
    Replies: 5
    Last Post: 10th March 2006, 13:03

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.