Hi all,
I'm in the process of porting maemo-mapper to clutter. This application displays a map which can be rotated and zoomed in and out, and one or more paths (made of line segments) to show the route (taken or to be taken). I'm not sure how I should render the path. The most straightforward way of porting the existing code (which renders the path on a GdkGC) is probably to create a ClutterTexture as big as the map widget, draw the segments on it using cairo, with a transparent background. But I wonder if it's possible to do better. What I'm thinking about is creating a custom ClutterActor which renders the path using COGL APIs. Is it possible? If yes, would the path be automagically transformed by clutter when I rotate/scale/translate the actor?

Can you give me some hints on how to do that, or is there an even better way?

TIA,
  Alberto

--
http://www.mardy.it <- geek in un lingua international!
--
To unsubscribe send a mail to [email protected]

Reply via email to