> I am looking forward to someone writing a label placement AI that manages
> to avoid overlap.

Unfortunately I have no perceivable C/C++-skills. How about this crude AI:
Append the gas label (eg. 'Oxygen' '17/27') after the start pressure.

So in the screenshot there would be only two labels at the beginning of
the profile:

129 bar 17/27
129 bar OXYGEN

There seems to already be a logic that places one start pressure above,
and the second start pressure below.

This modification would make sure that the gas label would not overlap the
start pressure number.

Poltsi

-- 
Paul-Erik Törrönen   [email protected]
+358 40 703 1231     http://poltsi.fi/

     Science, it reduces the stupid

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to