From 1e405b000cfa635ba58b915bdc0a893b1e879720 Mon Sep 17 00:00:00 2001 From: dsiders Date: Wed, 12 Jan 2022 20:42:14 +0000 Subject: [PATCH] Docs: LazControls/lvlgraphctrl. Adds skeletons for missing topics. * Depends on aaa7322d14, a29a791b52. --- components/lazcontrols/docs/lvlgraphctrl.xml | 81 +++++++++++++++++--- 1 file changed, 72 insertions(+), 9 deletions(-) diff --git a/components/lazcontrols/docs/lvlgraphctrl.xml b/components/lazcontrols/docs/lvlgraphctrl.xml index 98f79973ac..71e8c139d7 100644 --- a/components/lazcontrols/docs/lvlgraphctrl.xml +++ b/components/lazcontrols/docs/lvlgraphctrl.xml @@ -1536,8 +1536,11 @@ DrawPositionEnd := DrawPosition + Max(InSize, OutSize); - Sets the position for all nodes to minimize overlappings. + Sets the position for all nodes to ensure the required gaps between nodes. + + An overloaded variant without the ALevel parameter was added in version 2.3.0. + @@ -2541,6 +2544,7 @@ DrawPositionEnd := DrawPosition + Max(InSize, OutSize); + @@ -2631,6 +2635,41 @@ DrawPositionEnd := DrawPosition + Max(InSize, OutSize); + + + Converts a given point or rectangle to client coordinates in the visible area for the control. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2663,6 +2702,14 @@ DrawPositionEnd := DrawPosition + Max(InSize, OutSize); + + + + + + + + @@ -3286,18 +3333,34 @@ DrawPositionEnd := DrawPosition + Max(InSize, OutSize); - - + Gets the distance from a point measured along axes at right angles. + +

+ GetManhattanDistancePointLine is an Integer function used to get a distance from a point measured along axes at right angles. Also called "taxicab geometry". In taxicab geometry, the distance between two points is the sum of the absolute differences of their Cartesian coordinates. +

+

+ In other words, Geometric distance measures the hypotenuse for a right triangle. Manhattan distance is the cumulative length of the adjacent and opposite sides for that right triangle. +

+

+ X and Y contain the coordinates with the origin for the measurement. +

+

+ LineX1 and LineY1 contain the end coordinates for the adjacent side of the right triangle (starting at X, Y). +

+

+ LineX2 and LineY2 contain the end coordinates for the opposite side of the right triangle (start at LineX1, LineY1). +

+
- + Distance along the sides of a right triangle using the specified coordinates. - + Horizontal coordinate for the origin of the measurement. - + Vertical coordinate for the origin of the measurement. @@ -3448,15 +3511,15 @@ DrawPositionEnd := DrawPosition + Max(InSize, OutSize); - + Gets a string with a comma-delimited list of captions for the specified node array. - + Comma-delimited list of captions for the specified node array. - + Array with the TLvlGraphNode instances examined in the routine.