
2014-02-08 2:39 GMT+01:00 mathog <mathog@...1176...>:
On 07-Feb-2014 08:23, Krzysztof Kosiński wrote:
Yes, drawing.outline() is true if we should draw in outline mode. This is a very fast drawing mode which draws only the shapes of objects in a thin stroke. It is intended to be useful when working on massive drawings with lots of filters which can be very slow to edit otherwise.
Sounds like we probably don't want text decoration rendering in that mode. (Especially the complex ones with pattern fills and strokes.)
Yes. In fact I don't think we render glyphs at all in this mode - just their bounding boxes.
However, to preserve good performance and still indicate decorated text, the decoration could be represented by a single unstyled line at the required position. (See e.g. outline rendering for raster images to get the idea.)
Regards, Krzysztof