Am 05.09.2010 17:03, schrieb Vincent van Ravesteijn:
Isn't it better to make a function GuiPainter::thinline or so, instead of
everywhere specifying the
0.5 ?
Currently there are only 3 places in the code (all in rowpainter.cpp) where the former
Painter::line_thin was used. Therefore I did not implement a new function GuiPainter::thinline that
outputs 0.5.
Besides this, perhaps you can help me with the following issue:
- in my InsetLine patch (http://www.mail-archive.com/[email protected]/msg161598.html) the
drawing of the line works perfectly, but only for "real" units like mm, pt, etc. When I use
textwidth% etc. as unit, the length.inPixels doesn't return the correct length. What am I doing
wrong? Am I forced to use GlueLength instead of Length?
thanks and regards
Uwe