An information processing method and electronic device
An information processing method and technology of electronic equipment, applied in the field of information processing, can solve problems such as adjusting the thickness of touch handwriting, and achieve the effect of ensuring consistent thickness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] Please refer to figure 1 , the embodiment of the present application provides an information processing method, which is applied to an electronic device, the electronic device includes a touch display unit, and the method includes:
[0061] S101: Detect and obtain a touch operation on a display object on the touch display unit;
[0062] S102: Obtain the display size and original size of the display object;
[0063] S103: Based on the display size, the original size, and a preset handwriting threshold, determine the number of pixels corresponding to the width or length of the touch handwriting corresponding to the touch operation;
[0064] S104: Display the touch handwriting on the touch display unit based on the number of pixels.
[0065] In a specific implementation process, various display objects can be displayed on the touch display unit of the electronic device, such as pictures, word documents, drawing frames, instant chat frames, and the like. For most of the ...
Embodiment 2
[0075] Please refer to image 3 , the embodiment of the present application provides an information processing method, which is applied to an electronic device, the electronic device includes a touch display unit, and the method includes:
[0076] S301: Detect and obtain the touch operation of touching the touch display unit and the current first resolution of the touch display unit;
[0077] S302: Based on the actual size of the touch display unit, the first resolution and the preset handwriting threshold, determine the number of pixels corresponding to the width or length of the touch handwriting corresponding to the touch operation;
[0078] S303: Display the touch handwriting on the touch display unit based on the number of pixels.
[0079] In a specific implementation process, the touch display unit of the electronic device has one or more resolutions, and the touch display screen can recognize touch operations of various operating bodies such as stylus pens and fingers ...
Embodiment 3
[0088] Please refer to Figure 4 , an embodiment of the present application provides an electronic device, the electronic device includes a touch display unit, and the electronic device includes:
[0089] A detection unit 401, configured to detect and obtain a touch operation on a display object on the touch display unit;
[0090] An obtaining unit 402, configured to obtain the display size and the original size of the display object;
[0091] A determining unit 403, configured to determine the number of pixels corresponding to the width or length of the touch handwriting corresponding to the touch operation based on the display size, the original size and a preset handwriting threshold;
[0092] The control unit 404 is configured to display the touch handwriting on the touch display unit based on the number of pixels.
[0093] In a specific implementation process, the determining unit 403 is specifically used to:
[0094] Obtaining a first ratio of the first width value of...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


