US 11,809,701 B2
Handwriting forming method and apparatus, and electronic device
Rui Zheng, Beijing (CN); Fengshuo Hu, Beijing (CN); and Honghong Jia, Beijing (CN)
Assigned to BOE Technology Group Co., Ltd., Beijing (CN)
Appl. No. 17/626,683
Filed by BOE Technology Group Co., Ltd., Beijing (CN)
PCT Filed Mar. 12, 2021, PCT No. PCT/CN2021/080511
§ 371(c)(1), (2) Date Jan. 12, 2022,
PCT Pub. No. WO2021/218448, PCT Pub. Date Nov. 4, 2021.
Claims priority of application No. 202010367901.X (CN), filed on Apr. 30, 2020.
Prior Publication US 2022/0261146 A1, Aug. 18, 2022
Int. Cl. G06F 3/048 (2013.01); G06F 3/04883 (2022.01)
CPC G06F 3/04883 (2013.01) 19 Claims
OG exemplary drawing
 
1. A handwriting forming method, comprising:
determining a group of plurality of trajectory points according to a plurality of sampling points on a writing path on a working surface of a touch device and obtaining trajectory information of each of the plurality of trajectory points, wherein the trajectory information comprises a coordinate, a flag bit and a pressure value, and the flag bit comprises data indicating whether a corresponding trajectory point is a pen drop point;
establishing a plurality of trajectory units in a raindrop shape corresponding to the plurality of trajectory points in one-to-one correspondence based on the trajectory information;
determining a connection mode between trajectory units corresponding to adjacent trajectory points based on the trajectory information; and
calculating connection points of the trajectory units according to the connection mode, and filling a polygon formed by the connection points of the trajectory units corresponding to the adjacent trajectory points, so as to form a handwriting for displaying,
wherein the establishing the plurality of trajectory units in the raindrop shape corresponding to the plurality of trajectory points in one-to-one correspondence based on the trajectory information comprises:
determining a first circle center coordinate of a first circle and a first radius of the first circle;
determining a second circle center coordinate of a second circle and a second radius of the second circle; and
filling the first circle and the second circle, and filling a polygon formed by common tangent points of the first circle and common tangent points of the second circle,
wherein the determining the connection mode between the trajectory units corresponding to the adjacent trajectory points based on the trajectory information comprises:
for trajectory points other than the pen drop point, calculating a slope of a connection line between a current trajectory point and a previous trajectory point; and
according to the slope, a coordinate of the current trajectory point, and a coordinate of the previous trajectory point, determining a connection mode adopted by a trajectory unit corresponding to the current trajectory point.