Re: line object
- From: Lars Clausen <lars raeder dk>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: line object
- Date: Tue, 01 Aug 2006 19:17:47 +0200
On Tue, 2006-08-01 at 17:35 +0200, lidiriel wrote:
Hello,
for a plugin :
I must know those 2 objects which are connected to a begin and the end
point of a line. For information the connection point of the line is not
use.
How I made this ?
You look at the endpoint_handles array defined in lib/connection.h (of
which line is a subclass). Each Handle object contains a
ConnectionPoint that if non-null it is connected to, out of which you
can grab the object.
-Lars
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]