[Marble-devel] Paint in Marble

tom.grope at st.ovgu.de tom.grope at st.ovgu.de
Mon Aug 8 22:25:02 UTC 2011


Oh thank you. I did not get, that the drawEllipse(...)-method with the  
isGeoProjected-flag may solve my problem :-)
Thank you.


Zitat von Kyle Shannon <ksshannon at gmail.com>:

> I am new to marble, but I think you can use the geopainter,
>
> http://api.kde.org/4.x-api/kdeedu-apidocs/marble/html/classMarble_1_1GeoPainter.html
>
>
> /**
>  *
>  * Kyle Shannon
>  * ksshannon at gmail.com
>  *
>  */
>
>
>
>
> On Sun, Aug 7, 2011 at 17:06, <tom.grope at st.ovgu.de> wrote:
>
>> Hey there,
>>
>> I have my own project for the visualization of data points and I use
>> marble. My problem is that I want to draw circles / ellipses, whose radius
>> is dependent on geographical distance (meters/kilometer).
>> I know how to generally draw in marble - thanks to your tutorials!
>> However, QPainters draw-methods bases on pixlesize.
>>
>> The problem is that i have no idea how to
>> convert a geographical size into pixlesize for using QPainters drawmethods
>> or
>> find a method that draws a circle / ellipse, whose radius corresponds to a
>> geographical distance. (for example the lenght of a geodatalinestring)
>>
>> I would thank for any advice or idea.
>>
>> Tom
>>
>> ______________________________**_________________
>> Marble-devel mailing list
>> Marble-devel at kde.org
>> https://mail.kde.org/mailman/**listinfo/marble-devel<https://mail.kde.org/mailman/listinfo/marble-devel>
>>
>





More information about the Marble-devel mailing list