The invention discloses a method for generating a stroke and a processing device for generating stroke, and belongs to the technical field of electronic handwriting. The method comprises the followingsteps: obtaining and storing a coordinate value of each touch point and the number n of the touch points; and when n is greater than or equal to 4, calculating the width values of the last four touchpoints, drawing a contour line according to the coordinate values and the width values of the last four touch points, and filling a blank area surrounded by the contour line according to a preset color to obtain a pen point. The processing device for generating the stroke comprises an acquisition module, a calibration module, a calculation module and a processing module, the calculation module and the acquisition module are connected with the calibration module, and the calculation module and the drawing module are connected with the processing module. The invention aims to overcome the defect that in the prior art, the electronic handwriting is lack of the pen point, the pen point of the handwriting can be generated, and the generated pen point can have a better simulated writing effect.