[Openstreetmap-dev] drawing algorihtms

Amaury Jacquot sxpert at esitcom.org
Wed May 25 06:13:30 BST 2005

> now you have a load of black islands. fill those with that white brown
> colour and the black pixels which touch a white pixel the darker brown.
> i think its approximately that simple, though there are details with the
> white -> darkbrown -> lightbrown boundaries. the black/white colouring
> is just to make it a clear description...

the simplest way is to use cairo, and draw a thick dark line, then a
thinner ligher one

cairo will do all the fancy circle joints & end caps

More information about the dev mailing list