Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


Hi again,

Am 09.03.2016 um 10:52 schrieb Armin Le Grand:
Hi,

Am 08.03.2016 um 23:52 schrieb Chris Sherlock:
Quick ping to the ML - can anyone advise me on the purpose of these functions?

Before I forget, there’s also GetDistance as well.

Nothing complicated, just access methods to read the values.

A line is defined as:

(dotLen, distance) * numDot, distance (dashLen, distance) * numDash

Means: numDot dots with dotLen, followed by numDash dashes with DashLen, all seperated by distance-gaps.

One error here - it starts with the dashes, not the dots.
It then gets repeated (plus one distance)



I’m assuming that GetDashLen is the length of each individual dash in the dashed line, GetDotLen is the length of each individual dot in a dotted line and GetDistance is the length of the distance between dashes and dots.

I’d just like to confirm this, because if so then there’s an odd bug I think Stephan van den Akker and myself have uncovered in a VCL unit test that Stephan added (not *caused* by Stephan, but uncovered).

Chris

On 5 Mar 2016, at 12:25 PM, Chris Sherlock <chris.sherlock79@gmail.com> wrote:

Hi all,

Can anyone tell me the different between GetDotLen and GetDashLen in LineInfo?

You can have a situation where there are dashes and dots in lines, so does that affect anything?

Of course. Open LO, draw a line, choose '3 Dashes 3 Dots' as LineStyle.


Thanks,
Chris
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

HTH!

Sincerely,
Armin


--
ALG (PGP Key: EE1C 4B3F E751 D8BC C485 DEC1 3C59 F953 D81C F4A2)

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

--
--
ALG (PGP Key: EE1C 4B3F E751 D8BC C485 DEC1 3C59 F953 D81C F4A2)


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.