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

Regina Henschel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Regina Henschel <[email protected]> ---
There exist the methods getLength() and getEdgeLength() for our internal 
B2DPolygon class. I think, Enrico wants such tool in the UI.

The list of points is available in the API for all polyline, polygon and curve
objects. The total edge length can be determined using macros. If you only want
to get the length in an info box, that is simple. More difficult and complex
would be to produce an object in the drawing, that adapt itself to changes in
the drawing. I don't know whether that is possible with macros.

https://opengrok.libreoffice.org/xref/core/basegfx/source/polygon/b2dpolygontools.cxx
https://opengrok.libreoffice.org/xref/core/include/basegfx/polygon/b2dpolygontools.hxx

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to