CPC G06F 3/03545 (2013.01) [G06F 3/0383 (2013.01); G06F 3/04162 (2019.05)] | 11 Claims |
1. An electronic device comprising:
a display; and
a processor,
wherein the processor is configured to perform control to:
detect an input of an electronic pen,
display an electronic pen pointer on the display in response to the input of the electronic pen,
identify first information related to a visual feature of the electronic pen pointer,
identify second information related to at least one of context information of the electronic pen or context information of the display,
determine whether the electronic pen or a hand holding the electronic pen overlaps the electronic pen pointer based on the first information and the second information,
when the electronic pen pointer is overlapped by the electronic pen or the hand holding the electronic pen, determine a direction and coordinates for change of a position of the electronic pen pointer so that there is no overlap with the electronic pen or the hand holding the electronic pen, and
change the display of the electronic pen pointer to the determined direction and coordinates, and
wherein the processor is further configured to:
predict whether the electronic pen pointer is positioned in a region in which display is restricted in the display, based on the first information and the second information, and
in case that a result of the prediction indicates the electronic pen pointer being positioned in the region in which display is restricted in the display, determine, as the direction and coordinates, a position deviating from the region in which display is restricted in the display.
|