Code location / class names for Change Object Connector control points

David Tardon dtardon at redhat.com
Mon Jun 30 09:48:18 PDT 2014


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.


More information about the LibreOffice mailing list