PDA

View Full Version : Equivalent function in Qt to Wn32 LPtoDP logical coordinates to raster (pixel) values



ujgps
15th November 2010, 22:29
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.

wysota
15th November 2010, 22:46
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?