[summary of the invention]
In view of this, be necessary, for the loaded down with trivial details problem of above-mentioned pel constructive process, to provide one primitive creation method fast and easily.
In addition, be also necessary to provide one pel establishment efficiently system.
A kind of primitive creation method, comprises the steps:
Obtain the frame of drawing panel is selected to information;
Select information to create corresponding pel in the frame favored area of drawing panel according to described frame.
Preferably, described frame selects information to comprise: the size of frame favored area, the position of frame favored area and frame select one or more in direction, and described frame selects direction to comprise one or more in bottom right, lower-left, upper left and upper right.
Preferably, the described step of selecting information to create corresponding pel in the frame favored area of drawing panel according to described frame specifically comprises:
Select direction to create and select pel corresponding to direction with described frame in the frame favored area of drawing panel according to the frame obtaining.
Preferably, the frame that described basis is obtained select direction the frame favored area of drawing panel create select pel corresponding to direction with described frame step specifically:
Set up the corresponding relation that frame selects direction and pel;
Decision block selects the frame in information to select direction;
In the time that described frame selects direction to be bottom right, create user in the frame favored area of drawing panel and create the pel that number of times is maximum;
In the time that described frame selects direction to be lower-left, create in the frame favored area of drawing panel the pel once creating on user;
In the time that described frame selects direction to be upper left, create user in the frame favored area of drawing panel and create time many for several times pels;
In the time that described frame selects direction to be upper right, appear pel toolbar in one's mind at drawing panel and select for user.
Preferably, after obtaining the step of the frame of drawing panel being selected to information, also comprise:
Whether decision block favored area has the pel having created, and the pel having created described in if so, choosing describedly selects information to create the step of corresponding pel in the frame favored area of drawing panel according to described frame otherwise carry out.
Preferably, describedly select step that information creates corresponding pel in the frame favored area of drawing panel specifically according to frame:
Create the pel triggering block of selecting the corresponding pel of information with described frame;
Detect the selected operation to described pel triggering block;
When detect described pel triggering block selected operation time, delete described pel triggering block, and create corresponding pel in the frame favored area of drawing panel;
When do not detect described pel triggering block selected operation time, delete pel triggering block.
Preferably, the described step of selecting information to create corresponding pel in the frame favored area of drawing panel according to frame also comprises:
When do not detect described pel triggering block selected operation time, appear pel toolbar in one's mind at the assigned address of drawing panel, and obtain the pel in the pel toolbar that user clicks, delete described pel triggering block, create pel in the frame favored area of drawing panel.
Preferably, described method also comprises the number of times that records pel establishment and the step that creates the time of pel.
A kind of pel creates system, and described system comprises:
Acquisition of information module, obtains the frame of drawing panel is selected to information;
Pel creation module, selects information to create corresponding pel in the frame favored area of drawing panel according to described frame.
Preferably, described frame selects information to comprise: the size of frame favored area, the position of frame favored area and frame select one or more in direction, and described frame selects direction to comprise one or more in bottom right, lower-left, upper left and upper right.
Preferably, described system also comprises:
Module is set, selects the corresponding relation of direction and pel for setting up and revise described frame;
Described pel creation module is for selecting direction to create and select pel corresponding to direction with described frame in the frame favored area of drawing panel according to the frame obtaining.
Preferably, described pel creation module is further used in the time that described frame selects direction to be bottom right, creates user create the pel that number of times is maximum in the frame favored area of drawing panel; In the time that described frame selects direction to be lower-left, create in the frame favored area of drawing panel the pel once creating on user; In the time that described frame selects direction to be upper left, create user in the frame favored area of drawing panel and create time many for several times pels; In the time that described frame selects direction to be upper right, appear pel toolbar in one's mind at drawing panel and select for user.
Preferably, described system also comprises:
Judge module, whether decision block favored area has the pel having created, the pel having created described in if so, choosing, end operation, otherwise, notify described pel creation module to select information to create corresponding pel in the frame favored area of drawing panel according to described frame.
Preferably, described pel creation module comprises:
Pel triggering block creation module, for creating the pel triggering block of selecting the corresponding pel of information with described frame;
Detection module, for detection of the selected operation to described pel triggering block;
Processing module, when the selected operation to pel triggering block being detected when described detection module, deletion pel triggering block, and create corresponding pel in the frame favored area of drawing panel, in the time that described detection module does not detect the selected operation to pel triggering block, delete pel triggering block.
Preferably, described system also comprises:
Logging modle, for recording the number of times that pel creates and creating time of pel.
Above-mentioned primitive creation method and system, obtain the frame of drawing panel selected to information, selects information to create corresponding pel in the frame favored area of drawing panel according to described frame.Adopt the method and system, user only need carry out frame choosing to drawing panel, can select information to create corresponding pel in frame favored area according to user's frame, while establishment continuously, do not need moving between toolbar and drawing panel repeatedly, process is simple, convenient to operation, save plenty of time and energy, make drawing keep continuity, greatly improved drawing efficiency, strengthened user's experience effect.
[embodiment]
Below in conjunction with accompanying drawing, by the specific embodiment of the present invention is described in detail, will make technical scheme of the present invention and other beneficial effects apparent.
Fig. 1 shows the flow process of a primitive creation method in embodiment, and the method flow process comprises the steps:
In step S10, obtain the frame of drawing panel is selected to information.
It is the operation information of user in the time that drawing panel upper ledge selects a certain region that frame selects information.In one embodiment, frame selects information to comprise: the size of frame favored area, the position of frame favored area and frame select one or more in direction, and its center selects direction to comprise one or more in bottom right, lower-left, upper left and upper right.
In one embodiment, user uses mouse to carry out frame selection operation, obtains frame favored area.On drawing panel, to press left mouse button (can be also right button in certain position, set according to personal habits), select starting point as frame, pinning left mouse button does not put, pull to certain direction, form a square box and select frame, square box selects frame region to be frame favored area, after user is all included in desired zone square box and selects in frame, discharge left mouse button, mouse off-position is that frame selects end point, and the direction vector that frame selects starting point and frame to select end point to form is that the frame of frame favored area selects direction.
In other embodiments, user can also use touch-screen and other input equipments to carry out frame selection operation.
In step S20, select information to create corresponding pel in the frame favored area of drawing panel according to frame.
In one embodiment, said method also comprises the step of setting up frame and select the corresponding relation of information and pel.Select information (for example frame selects direction) can set up different pels according to different frames.Set up after the corresponding relation that frame selects information and pel, can save as default setting, in the time starting pattern manipulation interface, load this default setting, in addition, user also can need to modify according to self to this corresponding relation of prior foundation.In a preferred embodiment, the pel of establishment has identical size, position with frame favored area.
Fig. 2 shows in an embodiment and selects information to create the method flow of corresponding pel in the frame favored area of drawing panel according to frame, and the method flow process comprises the steps:
In step S201, whether decision block favored area has the pel having created, and if any carrying out step S202, otherwise carries out step S203.
In step S202, choose the pel having created, end operation.User, in the time creating pel, if frame favored area has the pel creating, is chosen after subscriber frame choosing.
In step S203, select information to create corresponding pel in the frame favored area of drawing panel according to frame.
Fig. 3 shows in another embodiment and selects information to create the method flow of corresponding pel in the frame favored area of drawing panel according to frame, in the present embodiment, select direction to create and select pel corresponding to direction with described frame in the frame favored area of drawing panel according to the frame obtaining, be specifically divided into following steps:
In step S301, set up frame and select the corresponding relation of direction and pel.
Frame selects the corresponding relation of direction and pel to set and revise according to the actual needs of user's demands of individuals or drawing, can be also the corresponding relation that system default arranges.In a preferred embodiment, the corresponding relation that the frame of setting up selects direction and pel specifically: in the time that frame selects direction to be bottom right, respective user creates the maximum pel of number of times; In the time that frame selects direction to be lower-left, the last pel creating of respective user; In the time that frame selects direction to be upper left, respective user creates time many for several times pels; In the time that frame selects direction to be upper right, appear pel toolbar in one's mind at drawing panel and select for user.
In step S302, decision block selects the frame in information to select direction.
Preferred embodiment, select direction to create corresponding pel in frame favored area according to frame, as shown in Figure 3, specifically comprise the steps:
In step S303, in the time that described frame selects direction to be bottom right, create user in the frame favored area of drawing panel and create the pel that number of times is maximum.
In step S304, in the time that frame selects direction to be lower-left, create in the frame favored area of drawing panel the pel once creating on user.
In step S305, in the time that described frame selects direction to be upper left, create user in the frame favored area of drawing panel and create time many for several times pels.
In step S306, in the time that described frame selects direction to be upper right, appear pel toolbar in one's mind at drawing panel and select for user.
Fig. 4 shows the method flow that creates corresponding pel in an embodiment, and the method flow process comprises the steps:
In step S401, create the pel triggering block of selecting the corresponding pel of information with frame.
In this embodiment, pel triggering block is the shade module that is suspended in drawing panel top, and its true pel corresponding to institute has same shape, size.Pel triggering block initially do not show on drawing panel, appears at frame favored area obtaining after frame selects the corresponding pel of information, shows which kind of pel selects pel corresponding to information with frame is this moment, is convenient to user and judges whether this kind of pel is required pel.
In one embodiment, the creation method of pel triggering block is specially: do not decontrol (or right button) and pull and carry out frame while selecting to a direction detecting that left mouse button is pressed, obtain frame select information and according to frame select information creating the pel triggering block of corresponding pel, frame selects pel triggering block in process to appear in one's mind always, do not decontrol left mouse button, while constantly changing frame favored area size and shape, moment keeps having same position, formed objects with frame favored area, end block choosing detected when left mouse button (or right button) discharges.Pel triggering block is appeared in one's mind in frame favored area.
In other embodiments, the creation method of pel triggering block can also be: frame selects and in process, do not appear pel triggering block in one's mind, after frame choosing finishes, create the pel triggering block of selecting the corresponding pel of information with frame, pel triggering block and frame favored area have same position, formed objects.
In one embodiment, the frame that obtains user selects direction, creates the pel triggering block of selecting the corresponding pel of direction with frame.User uses mouse to carry out frame choosing, presses left mouse button and starts frame choosing, then pulls to a direction, obtains frame and selects direction, creates the pel triggering block of selecting the corresponding pel of direction with frame.
In other embodiments, after establishment is selected the pel triggering block of the corresponding pel of information with frame, further in the time mouse roller rotation being detected, carry out pel switching, be switched to the pel that user needs, or when the clicking operation of right mouse button detected, eject pel and select interface, select required pel for user.Can also select pel for user by predefine pel shortcut.
In step S402, detect user and whether pel triggering block is selected to operation.If so, carry out step S404, if not, carry out step S403.
User needs the corresponding pel of pel triggering block, need to select operation to pel triggering block.User does not need the corresponding pel of pel triggering block, as long as do not select operation or press and cancel shortcut etc. in Preset Time.
In one embodiment, user comprises mouse-click pel triggering block, double-clicks pel triggering block, pel triggering block is dragged or press enter key, shortcut etc. the selected operation of pel triggering block.
In step S403, delete pel triggering block, end operation.
In one embodiment, when do not detect pel triggering block selected operation time, delete pel triggering block, and can appear pel toolbar in one's mind at drawing panel assigned address, be convenient to user and select the instrument on pel toolbar, create the pel consistent with frame favored area position size according to user's the frame favored area that is chosen in.
In step S404, delete pel triggering block, create corresponding pel in drawing surface sheet frame favored area.
In one embodiment, after creating pel, drawing surface sheet frame favored area also comprises the number of times that records pel establishment and the step that creates the time of pel.The content of these records can be used for upgrading frame selects the corresponding relation of information and pel.Pel establishment demand and the usage degree of being convenient to understand user, amendment frame selects pel corresponding to information.
Fig. 5 shows a pel in embodiment and creates system, and this system comprises: acquisition of information module 510, pel creation module 520.Wherein:
Acquisition of information module 510 is selected information for obtaining to the frame of drawing panel.
Preferably, user uses mouse to carry out frame selection operation, and frame selects a certain region, obtains frame favored area.On drawing panel, to press left mouse button (can be also right button in certain position, set according to personal habits), select starting point as frame, pin left mouse button and do not put, pull to certain direction, form a square frame, boxed area is frame favored area, after this region is all included in square frame, discharges left mouse button, mouse off-position is that frame selects end point, and the direction vector that frame selects starting point and frame to select end point to form is that the frame of frame favored area selects direction.
In other embodiments, user can also use touch-screen to carry out frame choosing.
Pel creation module 520 selects information to create corresponding pel in the frame favored area of drawing panel according to frame.
In one embodiment, this frame selects information to comprise: the size of frame favored area, the position of frame favored area, frame select one or more in direction, and its center selects direction to comprise one or more in bottom right, lower-left, upper left and upper right.The size of the pel that pel creation module 520 creates and frame favored area and position consistency.
In a preferred embodiment, pel creation module 520 selects direction to create corresponding pel in the frame favored area of drawing panel according to frame.In this embodiment, pel creation module 520 is further used in the time that described frame selects direction to be bottom right, creates user create the pel that number of times is maximum in the frame favored area of drawing panel; In the time that frame selects direction to be lower-left, create in the frame favored area of drawing panel the pel once creating on user; In the time that described frame selects direction to be upper left, create user in the frame favored area of drawing panel and create time many for several times pels; In the time that described frame selects direction to be upper right, appear pel toolbar in one's mind at drawing panel and select for user.
In one embodiment, as shown in Figure 6, pel creation module 520 comprises pel triggering block creation module 521, detection module 522 and processing module 523.Wherein:
Pel triggering block creation module 521 is for creating the pel triggering block of selecting the corresponding pel of information with frame.
In this embodiment, pel triggering block is the shade module that is suspended in drawing panel top, and itself and corresponding true pel have same shape, size.Pel triggering block initially do not show on drawing panel, appears at frame favored area obtaining after frame selects the corresponding pel of information, shows which kind of pel selects pel corresponding to information with frame is this moment, is convenient to user and judges whether this kind of pel is required pel.
In one embodiment, the creation method of pel triggering block is specially: do not decontrol (or right button) and pull and carry out frame while selecting to a direction detecting that left mouse button is pressed, obtain frame select information and according to frame select information creating the pel triggering block of corresponding pel, frame selects pel triggering block in process to appear in one's mind always, do not decontrol left mouse button, while constantly changing frame favored area size and shape, moment keeps having same position, formed objects with frame favored area, end block choosing detected when left mouse button (or right button) discharges.Pel triggering block is appeared in one's mind in frame favored area.
In other embodiments, the creation method of pel triggering block can also be: frame selects and in process, do not appear pel triggering block in one's mind, after frame choosing finishes, pel triggering block creation module 521 creates the pel triggering block of selecting the corresponding pel of information with frame, and pel triggering block and frame favored area have same position, formed objects.
In one embodiment, the frame that obtains user selects direction, creates the pel triggering block of selecting the corresponding pel of direction with frame.User uses mouse to carry out frame choosing, presses left mouse button and starts frame choosing, then pulls to a direction, obtains frame and selects direction, creates the pel triggering block of selecting the corresponding pel of direction with frame.
Whether detection module 522 selectes operation to pel triggering block for detection of user.
User needs the corresponding pel of pel triggering block, need to select operation to pel triggering block.User does not need the corresponding pel of pel triggering block, as long as do not select operation or press and cancel shortcut etc. in Preset Time.
In one embodiment, user comprises mouse-click pel triggering block, double-clicks pel triggering block, pel triggering block is dragged or press enter key etc. the selected operation of pel triggering block.
Processing module 523, when the selected operation to pel triggering block being detected at detection module 522, deletion pel triggering block, and create corresponding pel in the frame favored area of drawing panel, when detection module 522 does not detect the selected operation of pel triggering block, delete pel triggering block.
In other embodiments, pel creation module 520 also comprises that pel toolbar display module (not shown) when the selected operation to pel triggering block do not detected at detection module 522, appears pel toolbar in one's mind at drawing panel assigned address.
In the time that frame selects the corresponding pel of information not to be the pel of user's needs, pel toolbar display module appears pel toolbar in one's mind at drawing panel assigned address, selects the pel needing for user.In a preferred embodiment, pel toolbar assigned address is near cursor of mouse position or drawing panel appointed area.User clicks the pel in pel toolbar, obtains required pel.
In another embodiment, as shown in Figure 7, this system also comprises:
Whether judge module 530, have the pel having created for decision block favored area, the pel having created described in if so, choosing, otherwise, notify described pel creation module 520 to select information to create corresponding pel in the frame favored area of drawing panel according to frame.
Module 540 is set, selects the corresponding relation of information and pel for setting up and revise frame.
In a preferred embodiment, module 540 is set selects for setting up frame the corresponding relation of direction and pel, it is specially:
In the time that frame selects direction to be bottom right, respective user creates the maximum pel of number of times; In the time that frame selects direction to be lower-left, the last pel creating of respective user; In the time that frame selects direction to be upper left, respective user creates time many for several times pels; In the time that frame selects direction to be upper right, appear pel toolbar in one's mind at drawing panel and select for user.
The set frame of module 540 is set selects the corresponding relation of direction and pel to can be used as default setting, in the time starting pattern manipulation interface, load this default setting, meanwhile, user also can select the corresponding relation of direction and pel to modify to frame by module 540 is set.For example, in the above-described embodiments, by module 540 is set, also frame can be selected to direction be the last pel creating of bottom right respective user.
Further, this system also comprises logging modle 550, records the time of number of times and the establishment pel of pel establishment.The content that logging modle 550 records can be used for upgrading frame selects the corresponding relation of information and pel.Pel establishment demand and the usage degree of being convenient to understand user, amendment frame selects pel corresponding to information.
Above-mentioned primitive creation method and system, obtain the frame of drawing panel selected to information, selects information to create corresponding pel in the frame favored area of drawing panel according to described frame.Adopt the method and system, user only need carry out frame choosing to drawing panel, can select information to create corresponding pel in frame favored area according to user's frame, while establishment continuously, do not need moving between toolbar and drawing panel repeatedly, process is simple, convenient to operation, save plenty of time and energy, make drawing keep continuity, greatly improved drawing efficiency, strengthened user's experience effect.
The above embodiment has only expressed embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.