gridDotsElt.setAttribute(prefix+LNamespace.XML_GRID_WIDTH, String.valueOf(gridWidth));
for(k=minX, i=posX; k<=maxX; i+=xStep, k++)
for(m=tly, n=minY; n<maxY; n++, m+=absStep)
for(l=0, j=m; l<gridDots; l++, j+=dotStep) {
dot = new SVGCircleElement(document);
dot.setAttribute(SVGAttributes.SVG_CX, String.valueOf(i));
dot.setAttribute(SVGAttributes.SVG_CY, String.valueOf(j));
dot.setAttribute(SVGAttributes.SVG_R, String.valueOf(gridWidth/2.));
gridDotsElt.appendChild(dot);
}
for(k=minY, i=posY; k<=maxY; i-=yStep, k++)
for(m=tlx, n=minX; n<maxX; n++, m+=absStep)
for(l=0, j=m; l<gridDots; l++, j+=dotStep) {
dot = new SVGCircleElement(document);
dot.setAttribute(SVGAttributes.SVG_CX, String.valueOf(j));
dot.setAttribute(SVGAttributes.SVG_CY, String.valueOf(i));
dot.setAttribute(SVGAttributes.SVG_R, String.valueOf(gridWidth/2.));
gridDotsElt.appendChild(dot);
}
dot = new SVGCircleElement(document);
dot.setAttribute(SVGAttributes.SVG_CX, String.valueOf(brx));
dot.setAttribute(SVGAttributes.SVG_CY, String.valueOf(bry));
dot.setAttribute(SVGAttributes.SVG_R, String.valueOf(gridWidth/2.));
gridDotsElt.appendChild(dot);