Handwriting Stylization via Geometric Primitives
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current handwriting input systems on tablet PCs fail to produce a smooth and stylized handwriting trace, with existing methods either lacking smoothness or being overly complex to implement.
Innovation Solution
A method and device that sample and detect contact points in real-time, determine central lines, compute key points, and divide them into semi-circle, arc, or straight line points based on intersections, generating a stylized trace by drawing arcs and lines using a graphics library module.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If curve fitting is used to generate smooth handwriting trace, then the smoothness of the trace is improved, but the algorithm complexity increases and becomes difficult to implement
Solution Approach 1:
The patent replaces complex curve fitting algorithms with simple geometric primitives (circles and lines) that can be easily rendered using standard graphics library functions. Instead of computing complex mathematical curves, the invention uses basic shapes that are computationally inexpensive and straightforward to implement, resolving the contradiction between smoothness and algorithm complexity
Solution Approach 2:
The invention changes the approach from continuous curve fitting to discrete geometric approximation using circles and lines. By parameterizing the handwriting trace as a sequence of simple geometric shapes rather than complex mathematical functions, the solution achieves smoothness through rendering quality rather than algorithmic complexity
2Ease of manufacture
If points are simply lined up to form handwriting trace, then the implementation is simple, but the trace lacks smoothness and real handwriting effect
Solution Approach 1:
The patent applies circular arcs and curved lines instead of straight line segments to approximate handwriting traces. By using geometric primitives with curvature (circles and arcs) rather than linear segments, the invention achieves smooth visual appearance while maintaining simple implementation through standard graphics library functions
Solution Approach 2:
The invention copies the visual appearance of smooth handwriting by using rendered geometric shapes (circles and arcs) rather than attempting to capture the exact mathematical curve. This approximation approach achieves the desired visual effect with simpler implementation
Data Source
AI summary
Provided are a method and device for implementing the original calligraphy of handwriting. The method comprises: carrying out a real time sampling of a contact to obtain position information about the sampling point and the pen width at the sampling point; determining a central line of the stroke determined by adjacent sampling points; determining position information about a key point of the corresponding stroke according to the central line and the pen width at the sampling point; dividing the key point of the stroke into groups to determine the type thereof; generating a calligraphy outline of the corresponding stroke by drawing an arc and/or a line according to the type of the key point and the position information about the same; and finally filling the outline for displaying. The displayed handwriting trace has the same calligraphy of handwriting as characters written on paper.


