[Qt-interest] Using Qpainter/Qgraphics for a gps car-like
Gustavo B. Schenkel
gustavo.schenkel at gmail.com
Thu Mar 4 17:09:39 CET 2010
Hi folks,
i am developing a little application to work like a gps car, but to other
ends.
I am a little confuse how i can create the area and assign the gps point.
I don't know yet if i need use QPainterPath or QGraphicScene/QGraphicItem or
both.
Above are the description what i need do:
I need insert 4 or more gps points in the screen, then i need paint a line
between points to see the area. After i got the area i need be able get my
actual gps position and move around the painted area, like a gps car, changing
the view
For now i only wanna put the points in the screen.
e.g. point1(-29.683436 | -53.800570)
point2(-29.683795 | -53.799620)
point3(-29.684242 | -53.800749)
point4(-29.684478 | -53.799623)
this points exist, and form a rectangle. If i use the QpainterPath how i can
insert this points? Since the start position in qpainterpath is 0,0 and this
points are -29,-53?
I don't have a clue to start this. Can anyone give me a help/trick?
PS: sorry if my english not is soo good and if this post are duplicated, i
dont know if i need put the [Qt-interest] tag in the subject.
--
Schenkel, Gustavo B.
Novice Qt/C++ Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100304/61608bd8/attachment.bin
More information about the Qt-interest-old
mailing list