minX = Math.min(p.x, minX);
minY = Math.min(p.y, minY);
}
else if (cmd.getFunction() == MfType.SET_WINDOW_EXT)
{
final MfCmdSetWindowExt worg = (MfCmdSetWindowExt) cmd;
final Dimension d = worg.getDimension();
maxWidth = Math.max(maxWidth, d.width);
maxHeight = Math.max(maxHeight, d.height);
}
records.add(cmd);
}