Next: , Previous: Rect class, Up: Class reference



8.3.6 Segment class

One line segment.

It supports the object interface, the node interface and the shape interface.

     struct vcl_segment * vcl_segment_new (struct geom_point p1,
                                           struct geom_point p2)

Creates the path from p1 to p2, in local coordinates.