Page zoom method and device
A page zooming and zooming technology, applied in the computer field, can solve problems such as inconvenient reading during zooming operations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 It shows the implementation process of the page zooming method provided by Embodiment 1 of the present invention, and the details are as follows:
[0027] In step S101, a zoom instruction of a sliding touch is received, and a sliding range of the sliding touch is acquired.
[0028] Specifically, on a touch device such as a mobile phone or a tablet computer, the zoom command defined by it may be a zoom command of a two-point sliding touch, which includes the positions of the two points at which the touch starts and the position of the two points at which the touch ends. The distance between the two touch points of the command's initial slide minus the distance between the two touch points at the end of the slide is used to obtain the slide range of the slide touch. The positive or negative of the distance can represent zoom in and out. Of course, a single-point slide can also be defined as a zoom command according to the user's usage habits, the distance differ...
Embodiment 2
[0048] figure 2 It shows the implementation flow of the page zooming method provided in Embodiment 2 of the present invention, and the details are as follows:
[0049] In step S201, the text to be scaled is selected.
[0050]Specifically, for individual cases, if the user needs to emphasize part of the text on the page or enlarge part of the text content on the page, and does not need to zoom all the text, the part of the text needs to be selected.
[0051] The selection instruction can be defined by the touch information input by the user. After receiving the instruction of pressing for a specified time, the start position and end position of the selected text can be further determined. The text between the start position and the end position is The selected text to be scaled.
[0052] In step S202, a zoom instruction of the sliding touch is received, and the sliding range of the sliding touch is obtained.
[0053] In step S203, the scaled font size is determined accordin...
Embodiment 3
[0061] image 3 The implementation process of the page zooming method provided by the third embodiment of the present invention is shown, and the details are as follows:
[0062] In step S301, the text to be scaled is selected.
[0063] In step S302, a zoom instruction of the sliding touch is received, and the sliding range of the sliding touch is obtained.
[0064] In step S303, the scaled font size is determined according to the sliding range.
[0065] In step S304, the position of line break in the page text is determined according to the zoomed font size and the size of the display window.
[0066] In step S305, the words in the page text are rearranged and displayed according to the zoomed font size and the line break position in the page text.
[0067] Steps S301-S305 are the same as steps S201-S205 in the second embodiment, and will not be repeated here.
[0068] In step S306, the font size and line break position information of the scaled text is stored.
[0069] ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


