[Libreoffice-bugs] [Bug 144525] Allow fill for line strokes and borders of shapes

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 20 07:33:46 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=144525

--- Comment #6 from Lucas J <cpumood at gmail.com> ---
In addition to my previous comment, might I ask, what do you think about
LibreOffice automatically treating strokes as contour behind-the-scenes for
this purpose?

Ultimately if anything is going to be filled, it needs to have an area that can
be filled. When we have two dimensional shapes, there is an area, thus it can
be filled. If we have a one dimenson, it is a line, and there is no area inside
of it. When we convert to contour, LibreOffice treats the line as if it were a
rectange and allows it to be filled since it now has an area defined by the
length and width of the line.

Instead of modifying the ODF standard and significantly modifying the code, if
the user wants to change the style of the stroke, why not automatically convert
the line to contour behind the scenes and still allow the user to interact with
the object as if it were just a normal line?

The functionality already exists to provide the desired output. It appears the
only thing needed would be implementing a button or something to automate this
workaround.

What do you think of this idea?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210920/741b6022/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list