public void addOMGraphics(OMGraphicList list,DrawingAttributes drawingAttributes){
  if (ii == null) {
    OMPoint r=new OMPoint((float)y,(float)x);
    if (drawingAttributes != null) {
      drawingAttributes.setTo(r);
    }
    list.add(r);
    r.putAttribute(ShapeConstants.SHAPE_INDEX_ATTRIBUTE,new Integer(getRecordNumber()));
  }
 else {
    list.add(new OMRaster((float)y,(float)x,-ii.getIconWidth() / 2,-ii.getIconHeight() / 2,ii));
  }
}

public void addOMGraphics ( OMGraphicList list , DrawingAttributes drawingAttributes ) { if ( ii == null ) { OMPoint r = new OMPoint ( ( float ) y , ( float ) x ) ; if ( drawingAttributes != null ) { drawingAttributes . setTo ( r ) ; } list . add ( r ) ; r . putAttribute ( ShapeConstants . SHAPE_INDEX_ATTRIBUTE , new Integer ( getRecordNumber ( ) ) ) ; } else { list . add ( new OMRaster ( ( float ) y , ( float ) x , - ii . getIconWidth ( ) / 2 , - ii . getIconHeight ( ) / 2 , ii ) ) ; } }
generates points and adds them to the given list .
