Re: Draw selection area over map



On Tue, Jun 24, 2014 at 6:06 PM, Zeeshan Ali (Khattak)
<zeeshanak gnome org> wrote:
On Tue, Jun 24, 2014 at 5:33 PM, Bruno Oliveira
<bruno manata oliveira gmail com> wrote:
Hello,

Hi Bruno,

I was thinking what would be the better way of drawing a selection rectangle
over a champlain map (in a similar way of the desktop selection area).

this could be done with the mouse-* events. What I am not sure is how I can
draw my custom shapes over a map.

You can use a marker and use clutter, cogl and cairo APIs to draw your
rectangle.

https://developer.gnome.org/libchamplain/unstable/ChamplainMarker.html

https://developer.gnome.org/clutter/stable/ClutterCanvas.html

-- 
Regards,

Zeeshan Ali (Khattak)
________________________________________
Befriend GNOME: http://www.gnome.org/friends/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]