6 Dec
2009
6 Dec
'09
10:54 p.m.
On Sat, Dec 5, 2009 at 6:50 PM, <J.B.C.Engelen@...1578...> wrote:
Hi all,
Who knows what determines the rendering order of the different markers? See https://bugs.edge.launchpad.net/inkscape/+bug/478157. Currently, endmarkers are drawn beneath midmarkers, although the code calls sp_marker_show_instance last for endmarkers. Perhaps this has to do with the 'key' that is passed to sp_marker_show_instance? (determines the layer?)
Have a look at sp_shape_update_marker_view in sp-shape.cpp.
I'm afraid that code is in a different layer altogether. This deals with SPObjects, but what you need is ArenaItems. As I recollect without looking at the code, the path/shape arena item also stores markers and eventually renders them. Look into libnr/.
--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org