A element of a list of drawing-elements. More...
elementList* | nextElement |
element* | thisElement |
elementList* | firstOnLayer(int layer) |
elementList* | nextOnLayer(int layer) |
This class is a list-element for the drawing-elements
A Pointer to the next drawing-element of the cell is returned.
Example: (loop over all shapes of the cell)
elementList *el=layout->drawing->currentCell->firstElement;
while (el!=NULL) {
if (el->thisElement!=NULL){
// e.g. el->thisElement->selectAll();
// ...
}
el=el->nextElement;
}
A pointer to a drawing-element.
A pointer to the first element with a shape on layer is returned. NULL is returned, if no more layer is on the given layer.
A pointer to the next element with a shape on layer is returned. NULL is returned, if no more element is on the given layer.
Example: (loop over all shapes on layer 5)
elementList *el=layout->drawing->currentCell->firstElement->firstOnLayer(5);
while (el!=NULL) {
// e.g. el->thisElement->selectAll();
// ...
el=el->nextOnLayer(5);
}