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


Hi,

On Mon, Jun 30, 2014 at 03:50:47PM +0100, Rob Collins wrote:


N.B. This is a follow-up to my previous question on where to find edge
(connector) code - which was successfully answered - so thank you for that!

I am now looking for the code that implements the 'control points' on
connecting lines. That is, when drawing an edge between two nodes the edge
(connector) can be dragged into a new path using 'control points' that
appear on each line segment.

As previously - where is the code for this? What symbols / classes /
filenames should I be searching for?

These are called handles and they are implemented by class SdrHdl and
classes derived from it, in svx/source/svdraw/svdhdl.cxx . Connectors
use ImplEdgeHdl; the code that creates them is in SdrEdgeObj::GetHdl() .

D.

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.