The disclosure generally relates to an electronic device and a method for separating drawing content in the electronic device.
An electronic device may have many software applications to draw a graph or picture, such as painting board, or Photoshop™. The graph or picture may be constructed via drawing tools. When partial graph or picture needs to be divided to another file, a new page needs to be constructed through clicking on a new page button to receive the partial graph or picture. It is inconvenient to split the drawing especially through a touch screen.
Many aspects of the embodiments can be better understood with references to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as EPROM. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
Referring to
Referring to
Referring to
The drawing area 503 may be partially shown in the user interface. Aback area of drawing area 503 may be gradually shown when the drawing area 503 is dragged along a direction “A” as shown in
The drawing area 530 may create at least contents 505 and 506 by a plurality of drawing tools in the drawing tool bar 62 controlled by the drawing sub-module 47. The contents 505, 506 may include image, text, or combination of image and text. The detecting module 45 may detect a contact path 508 applied on the drawing area 503 of the touch screen 20 by the user. The detecting module 45 may also determine if the contact path 508 substantially moves across a first edge and a second edge of the drawing area 503. In one embodiment, the drawing area 503 may be rectangular. The first edge and the second edge are two opposite edges, and the first edge may be parallel to the second edge. If the contact path 508 substantially moves across the first edge and the second edge, the dividing module 46 may split a sub-area 504 with the content 505 from the drawing area 503 along the contact path 508. The separated sub-area 504 can be operated as a new drawing board. A plurality of control tools may be accessible on the control tool bar 64. The control tools may include commands, such as save, delete, copy, cut or split the drawing area 503 or the sub-area 504.
Referring to
In block S701, displaying a first area of a drawing on the touch screen 20. The first area may receive a drawing operation of a user.
In block S703, detecting a contact path on the first area of the touch screen 20 by the detecting module 45.
In block S705, determining if the contact path substantially moves across a first edge and a second edge of the first area by the detecting module 45.
In block S707, if yes, splitting a first sub-area with first content in the first sub-area from the first area along the contact path by the splitting module 46. If no, back to the block S705.
In block S709, saving the first content in the first sub-area as a separate file.
The method above may further includes dragging the first sub-area on the touch screen in response to a dragging operation by user; displaying at least one command tool on the touch screen associating with at least one control operation to the content in the first sub-area; displaying at least one drawing tool on the touch screen associating with the drawing operation in the first area; displaying a second area when the first area moves along a first direction on the touch screen 20 by the user; and playing the animation 501 at a side of the second area when the first area moves along the first direction.
Even though, however, that even though numerous characteristics and advantages have been set forth in the foregoing description of embodiments, together with details of the structures and functions of the embodiments, the disclosure is illustrative only and changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Depending on the embodiment, certain steps or methods described may be removed, others may be added, and the sequence of steps may be altered. It is also to be understood that the description and the claims drawn for or in relation to a method may include some indication in reference to certain steps. However, any indication used is only to be viewed for identification purposes and not as a suggestion as to an order for the steps.
Number | Date | Country | Kind |
---|---|---|---|
100104750 | Feb 2011 | TW | national |