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



8.3.5 Rect class

A rectangle parallel with the axes. It has a dead variant (names rect-s).

It supports the object interface, the node interface and the shape interface. (The object interface is not supported in the dead variant.)

     void vcl_rect_init (struct vcl_rect *obj, struct geom_rectangle r)

Creates the dead variant. In r, there are local coordinates of the rectangle.

     struct vcl_rect * vcl_rect_new (struct geom_rectangle r)

Creates the alive (normal) variant. If r, there are local coordinates of the rectangle.