FIG. 17 is a flow chart showing an operation of a layout pattern generating apparatus according to an embodiment, defined in the claim 3, where a correction process of a layout pattern is effected only one of the longitudinal and transverse directions;