shape.setRoundRect(rec.x, rec.y, rec.width, rec.height, dim.width, dim.height);
final MfDcState state = file.getCurrentState();
if (state.getLogBrush().isVisible())
{
state.preparePaint();
graph.fill(shape);
state.postPaint();
}
if (state.getLogPen().isVisible())
{