Method

PhocColorRectset_box

Declaration [src]

void
phoc_color_rect_set_box (
  PhocColorRect* self,
  PhocBox* box
)

Description [src]

Sets the rectangles coordinates and size as box.

Sets propertyPhoc.ColorRect:box

Parameters

box

Type: PhocBox

The new bounding box for this color rectangle.

The data is owned by the caller of the method.