UL_AREA

Membri dati

x1, y1 int (angolo in basso a sinistra)
x2, y2 int (angolo in alto a destra)

Vedere anche UL_BOARD, UL_DEVICE, UL_FOOTPRINT, UL_SHEET, UL_SYMBOL.

UL_AREA è un oggetto astratto che fornisce informazioni sull'area coperta da un oggetto. Per UL_FOOTPRINT o UL_SYMBOL in un contesto UL_ELEMENT o UL_INSTANCE, l'area è fornita rispettivamente nelle coordinate di disegno assolute, che comprendono l'offset o l'istanza dell'elemento e l'area dei testi spostati dopo il RIPOSIZIONAMENTO.

Esempio

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));
  }