An electron beam drawing method performed using a storage unit, an accepting unit, a graphic width acquiring unit, a generating unit, a drawing unit, and a judging unit, comprising:
- a storing step of the storage unit storing at least two pieces of pattern management information, each of which is information in which a graphic classification condition regarding the width of a graphic and a pattern identifier for identifying a predetermined pattern based on the width of the graphic are associated with each other,
- wherein the at least two pieces of pattern management information include pattern management information having an auxiliary pattern identifier for identifying an auxiliary pattern and pattern management information having a main pattern identifier for identifying a main pattern, wherein the auxiliary pattern is a graphic pattern whose graphic width is small enough to satisfy the graphic classification condition, and wherein the main pattern is a graphic pattern whose graphic width is large enough to satisfy the graphic classification condition;
- an accepting step of the accepting unit accepting input graphic information, which is information representing at least one graphic;
- a graphic width acquiring step of the graphic width acquiring unit acquiring a width of each of the at least one graphic represented by the input graphic information;
- a generating step of the generating unit generating approximate graphic information representing at least one approximate graphic configured by at least one rectangle matching the width of the at least one graphic represented by the input graphic information and that approximates each of the at least one graphic represented by the input graphic information;
- a drawing step of the drawing unit drawing the at least one approximate graphic represented by the approximate graphic information generated by the generating unit;
- and
- a judging step of the judging unit acquiring a pattern identifier associated with a respective graphic classification condition satisfied by the width of the graphic,
- wherein, in a case where the judging unit acquires the pattern identifier for identifying the auxiliary pattern, the generating unit acquires a center line of each of the at least one graphic and generates approximate graphic information representing at least one approximate graphic that approximates at least one graphic corresponding to the auxiliary pattern, by arranging at least one rectangle matching a width of the graphic, along the center line, and
- wherein, in a case where the judging unit acquires the pattern identifier for identifying the main pattern, the generating unit acquires an approximate contour that is a contour of a graphic corresponding to the main pattern and is a contour configured by a horizontal straight line, a vertical straight line, and a straight line at a predetermined angle, and generates approximate graphic information representing at least one approximate graphic that approximates at least one graphic corresponding to the main pattern, by arranging at least one rectangle matching a shape of the graphic represented by the approximate contour.