private void drawGates(Graphics2D gr, Box boxViewport) {
for (Iterator iter = _icons.iterator(); iter.hasNext();) {
IconGate icon = (IconGate) iter.next();
if (boxViewport.containsSomeCorner(icon))
icon.paint(gr);
}
}
// TODO usarlo
private void add(Circuit circuit, int x, int y) {