UL_AREA

Data members

   
x1, y1 int (lower left corner)
x2, y2 int (upper right corner)

See also UL_BOARD, UL_DEVICE, UL_FOOTPRINT, UL_SHEET, UL_SYMBOL.

A UL_AREA is an abstract object which gives information about the area covered by an object. For a UL_FOOTPRINT or UL_SYMBOL in a UL_ELEMENT or UL_INSTANCE context, respectively, the area is given in absolute drawing coordinates, including the offset of the element or instance and including the area of moved texts after REPOSITION.

Example

board(B) {
  printf("Area: (%f %f), (%f %f)\n",
          u2mm(B.area.x1), u2mm(B.area.y1), u2mm(B.area.x2), u2mm(B.area.y2));
  }