| CPC G06F 3/04883 (2013.01) [G06F 3/0416 (2013.01)] | 16 Claims |

|
1. An electronic device comprising:
a display;
a touch sensitive panel;
memory storing one or more instructions; and
at least one processor configured to individually and/or collectively execute the one or more instructions stored in the memory to:
receive a touch input of an input device used as a brush in an application executed by the electronic device through the touch sensitive panel;
detect a change of a size of the touch input based on sizes of touch events on the touch sensitive panel received for a specified time;
identify, from among a plurality of different brush stroke types for brush strokes using the brush, a brush stroke type corresponding to the detected change of the size of the touch input;
obtain, from a database corresponding to the identified brush stroke type, trajectory information corresponding to the touch input, the trajectory information including azimuth and/or altitude information for the input device; and
process the touch input according to the obtained trajectory information and output the processed touch input on the display.
|