[summary of the invention]
In view of this, be necessary to provide a kind of creation method of pel fast and easily at the loaded down with trivial details problem of above-mentioned pel constructive process.
In addition, also be necessary to provide a kind of pel efficiently to create system.
A kind of pel creation method comprises the steps:
The frame that obtains the drawing panel selects information;
Select information to create corresponding pel according to described frame in the frame favored area of drawing panel.
Preferably, described frame selects information to comprise: the position of the size of frame favored area, frame favored area and frame select one or more in the direction, and described frame selects direction to comprise bottom right, lower-left, in upper left and upper right one or more.
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 according to the frame that obtains and select the corresponding pel of direction with described frame in the frame favored area of drawing panel.
Preferably, the frame that obtains of described basis select direction the frame favored area of drawing panel create select the corresponding pel of direction with described frame step specifically:
Set up the corresponding relation that frame selects direction and pel;
Decision block selects the frame in the information to select direction;
When described frame selects direction to be the bottom right, create the user in the frame favored area of drawing panel and create the maximum pel of number of times;
When described frame selects direction to be the lower-left, create the pel of once creating on the user in the frame favored area of drawing panel;
When described frame when to select direction be upper left, create the user in the frame favored area of drawing panel and create time many for several times pels;
When described frame when to select direction be upper right, appear the pel toolbar in one's mind at the drawing panel and select for the user.
Preferably, after obtaining the step that frame to the drawing panel selects information, also comprise:
Whether the decision block favored area has the pel of having created, if, then choose the described pel of having created, describedly select information to create the step of corresponding pel in the frame favored area of drawing panel otherwise carry out according to described frame.
Preferably, describedly select step that information creates corresponding pel in the frame favored area of drawing panel specifically according to frame:
Creating with described frame selects the pel of the corresponding pel of information to trigger piece;
Detection triggers the selected operation of piece to described pel;
When detecting when described pel triggered the selected operation of piece, delete described pel triggering piece, and create corresponding pel in the frame favored area of drawing panel;
When not detecting when described pel triggered the selected operation of piece deletion pel triggering piece.
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 not detecting when described pel triggered the selected operation of piece, appear the pel toolbar in one's mind at the assigned address of drawing panel, and obtain the pel in the pel toolbar that the user clicks, delete described pel and trigger piece, at the frame favored area establishment pel of drawing panel.
Preferably, described method also comprises number of times that the record pel is created and the step of creating the time of pel.
A kind of pel is created system, and described system comprises:
The information acquisition module, the frame that obtains the drawing panel selects information;
The 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 position of the size of frame favored area, frame favored area and frame select one or more in the direction, and described frame selects direction to comprise bottom right, lower-left, in upper left and upper right one or more.
Preferably, described system also comprises:
Module is set, is used to set up and revise the corresponding relation that described frame selects direction and pel;
Described pel creation module is used for selecting direction to create in the frame favored area of drawing panel according to the frame that obtains and selects the corresponding pel of direction with described frame.
Preferably, described pel creation module is further used for when described frame selects direction to be the bottom right, creates the user in the frame favored area of drawing panel and creates the maximum pel of number of times; When described frame selects direction to be the lower-left, create the pel of once creating on the user in the frame favored area of drawing panel; When described frame when to select direction be upper left, create the user in the frame favored area of drawing panel and create time many for several times pels; When described frame when to select direction be upper right, appear the pel toolbar in one's mind at the drawing panel and select for the user.
Preferably, described system also comprises:
Judge module, whether the decision block favored area has the pel of having created, if, then choose the described pel of having created, 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 triggers the piece creation module, is used to create with described frame select the pel of the corresponding pel of information to trigger piece;
Detection module is used to detect the selected operation that described pel is triggered piece;
Processing module, be used for detecting when pel triggered the selected operation of piece when described detection module, deletion pel triggering piece, and create corresponding pel in the frame favored area of drawing panel, when described detection module does not detect when pel triggered the selected operation of piece deletion pel triggering piece.
Preferably, described system also comprises:
Logging modle is used to write down the number of times of pel establishment and the time of creating pel.
Above-mentioned pel creation method and system, the frame that obtains the drawing panel selects information, selects information to create corresponding pel in the frame favored area of drawing panel according to described frame.Adopt this method and system, the user only needs the drawing panel is carried out the frame choosing, can select information to create corresponding pel according to user's frame in the frame favored area, do not need moving between toolbar and drawing panel repeatedly when creating continuously, process is simple, and is 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,, will make technical scheme of the present invention and other beneficial effects apparent by the specific embodiment of the present invention is described in detail.
Fig. 1 shows the flow process of a pel creation method among the embodiment, and this method flow comprises the steps:
In step S10, the frame that obtains the drawing panel selects information.
It is the operation information of user when drawing panel upper ledge selects a certain zone that frame selects information.In one embodiment, frame selects information to comprise: the position of the size of frame favored area, frame favored area and frame select one or more in the direction, and its center selects direction to comprise bottom right, lower-left, in upper left and upper right one or more.
In one embodiment, the user uses mouse to carry out the frame selection operation, obtains the frame favored area.To press left mouse button (also can be right button in certain position on the drawing panel, 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 box and select frame, square box selects the frame zone to be the frame favored area, and the user discharges left mouse button after desired zone all is included in square box and selects in the frame, the 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, the user can also use touch-screen and other input equipments to carry out the 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 and sets up the step that frame selects the corresponding relation of information and pel.Select information (for example frame selects direction) then can set up different pels according to different frames.After setting up the corresponding relation that frame selects information and pel, can save as default setting, load this default setting when starting pattern manipulation interface, in addition, the user also can make amendment according to self needs to this corresponding relation of prior foundation.In preferred embodiment, the pel of establishment has identical size, position with the frame favored area.
Fig. 2 shows among the embodiment according to frame and selects information to create the method flow of corresponding pel in the frame favored area of drawing panel, and this method flow comprises the steps:
In step S201, whether the decision block favored area has the pel of having created, if any then carrying out step S202, otherwise carries out step S203.
In step S202, choose the pel of having created, end operation.The user if the frame favored area has the pel that creates, after the subscriber frame choosing chooses it when creating pel.
In step S203, select information to create corresponding pel in the frame favored area of drawing panel according to frame.
Fig. 3 shows among 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, selecting direction to create in the frame favored area of drawing panel according to the frame that obtains selects the corresponding pel of direction with described frame, specifically is divided into following steps:
In step S301, set up the corresponding relation that frame selects direction and pel.
Frame selects the corresponding relation of direction and pel to set and revise according to user's the demands of individuals or the actual needs of drawing, also can be the corresponding relation that system default is provided with.In preferred embodiment, the corresponding relation that the frame of being set up selects direction and pel specifically: when frame selected direction to be the bottom right, respective user was created the maximum pel of number of times; When frame selects direction to be the lower-left, the last pel of creating of respective user; When frame when to select direction be upper left, respective user is created time many for several times pels; When frame when to select direction be upper right, appear the pel toolbar in one's mind at the drawing panel and select for the user.
In step S302, decision block selects the frame in the information to select direction.
Preferred embodiment, select direction to create corresponding pel, as shown in Figure 3, specifically comprise the steps: in the frame favored area according to frame
In step S303, when described frame selects direction to be the bottom right, create the user in the frame favored area of drawing panel and create the maximum pel of number of times.
In step S304, when frame selects direction to be the lower-left, create the pel of once creating on the user in the frame favored area of drawing panel.
In step S305,, create the user in the frame favored area of drawing panel and create time many for several times pels when described frame when to select direction be upper left.
In step S306,, appear the pel toolbar in one's mind at the drawing panel and select for the user when described frame when to select direction be upper right.
Fig. 4 shows the method flow of creating corresponding pel among the embodiment, and this method flow comprises the steps:
In step S401, create with frame and select the pel of the corresponding pel of information to trigger piece.
In this embodiment, it is the shade module that is suspended in drawing panel top that pel triggers piece, and its corresponding true pel with institute has identical shaped, big or small.Pel triggers piece and does not initially show on the drawing panel, appears at the frame favored area after frame selects the corresponding pel of information obtaining, and shows which kind of pel selects the corresponding pel of information with frame is this moment, is convenient to the user and judges whether this kind pel is required pel.
In one embodiment, the creation method that pel triggers piece is specially: press not decontrol (perhaps right button) and pull to a direction and carry out frame when selecting detecting left mouse button, obtain frame select information and according to frame select information creating the pel of corresponding pel trigger piece, frame selects in the process pel to trigger piece to appear in one's mind always, do not decontrol left mouse button, when constantly changing frame favored area size and shape, keep having same position, identical size constantly with the frame favored area, when detecting left mouse button (perhaps right button) release, the end block choosing.Pel triggers piece and appears in one's mind in the frame favored area.
In other embodiments, the creation method that pel triggers piece can also not appear pel in one's mind and triggers piece for: frame selects in the process, after the frame choosing finishes, to create with frame and select the pel of the corresponding pel of information to trigger piece, pel triggers piece and has same position, identical size with the frame favored area.
In one embodiment, the frame that obtains the user selects direction, creates with frame and selects the pel of the corresponding pel of direction to trigger piece.The user uses mouse to carry out the frame choosing, presses left mouse button and begins the frame choosing, pulls to a direction then, obtains frame and selects direction, creates with frame and selects the pel of the corresponding pel of direction to trigger piece.
In other embodiments, create with after frame selects the pel triggering piece of the corresponding pel of information, further carrying out pel when detecting the mouse roller rotation switches, switch to the pel that the user needs, when perhaps detecting the clicking operation of right mouse button, eject pel and select the interface, select required pel for the user.Can also select pel for the user by predefine pel shortcut.
In step S402, detect the user and whether pel triggering piece is selected operation.If, then carry out step S404, if not, then carry out step S403.
The user needs pel to trigger the corresponding pel of piece, need trigger piece to pel and select operation.The user does not need pel to trigger the corresponding pel of piece, as long as do not select operation or press cancellation shortcut etc. in Preset Time.
In one embodiment, the user comprises that to the selected operation that pel triggers piece the mouse-click pel triggers piece, double-clicks pel triggering piece, pel triggering piece is dragged or press enter key, shortcut etc.
In step S403, the deletion pel triggers piece, end operation.
In one embodiment, when not detecting when pel triggered the selected operation of piece, the deletion pel triggers piece, and can appear the pel toolbar in one's mind at drawing panel assigned address, be convenient to the user and select instrument on the pel toolbar, create and the corresponding to pel of frame favored area position size according to user's the frame favored area that is chosen in.
In step S404, the deletion pel triggers piece, creates corresponding pel in drawing surface sheet frame favored area.
In one embodiment, after creating pel, drawing surface sheet frame favored area also comprises number of times that the record pel is created and the step of creating the time of pel.The content of these records can be used for upgrading the corresponding relation that frame selects information and pel.Be convenient to understand user's pel establishment demand and usage degree, revise the pel that frame selects the information correspondence.
Fig. 5 shows a pel among the embodiment and creates system, and this system comprises: information acquisition module 510, pel creation module 520.Wherein:
The frame that information acquisition module 510 is used to obtain the drawing panel selects information.
Preferably, the user uses mouse to carry out the frame selection operation, and frame selects a certain zone, obtains the frame favored area.To press left mouse button (also can be right button in certain position on the drawing panel, 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 the frame favored area, should the zone all be included in the square frame after, discharge left mouse button, the 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, the user can also use touch-screen to carry out the 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 the direction, and its center selects direction to comprise bottom right, lower-left, in upper left and upper right one or more.The pel that pel creation module 520 is created and the size and the position consistency of frame favored area.
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.Among this embodiment, pel creation module 520 is further used for when described frame selects direction to be the bottom right, creates the user in the frame favored area of drawing panel and creates the maximum pel of number of times; When frame selects direction to be the lower-left, create the pel of once creating on the user in the frame favored area of drawing panel; When described frame when to select direction be upper left, create the user in the frame favored area of drawing panel and create time many for several times pels; When described frame when to select direction be upper right, appear the pel toolbar in one's mind at the drawing panel and select for the user.
In one embodiment, as shown in Figure 6, pel creation module 520 comprises that pel triggers piece creation module 521, detection module 522 and processing module 523.Wherein:
Pel triggers piece creation module 521 and is used to create the pel triggering piece that selects the corresponding pel of information with frame.
In this embodiment, it is the shade module that is suspended in drawing panel top that pel triggers piece, and itself and pairing true pel have identical shaped, big or small.Pel triggers piece and does not initially show on the drawing panel, appears at the frame favored area after frame selects the corresponding pel of information obtaining, and shows which kind of pel selects the corresponding pel of information with frame is this moment, is convenient to the user and judges whether this kind pel is required pel.
In one embodiment, the creation method that pel triggers piece is specially: press not decontrol (perhaps right button) and pull to a direction and carry out frame when selecting detecting left mouse button, obtain frame select information and according to frame select information creating the pel of corresponding pel trigger piece, frame selects in the process pel to trigger piece to appear in one's mind always, do not decontrol left mouse button, when constantly changing frame favored area size and shape, keep having same position, identical size constantly with the frame favored area, when detecting left mouse button (perhaps right button) release, the end block choosing.Pel triggers piece and appears in one's mind in the frame favored area.
In other embodiments, the creation method that pel triggers piece can also not appear pel in one's mind and triggers piece for: frame selects in the process, after the frame choosing finishes, pel triggers piece creation module 521 and creates the pel triggering piece that selects the corresponding pel of information with frame, and pel triggers piece and has same position, identical size with the frame favored area.
In one embodiment, the frame that obtains the user selects direction, creates with frame and selects the pel of the corresponding pel of direction to trigger piece.The user uses mouse to carry out the frame choosing, presses left mouse button and begins the frame choosing, pulls to a direction then, obtains frame and selects direction, creates with frame and selects the pel of the corresponding pel of direction to trigger piece.
Detection module 522 is used to detect the user and whether pel triggering piece is selected operation.
The user needs pel to trigger the corresponding pel of piece, need trigger piece to pel and select operation.The user does not need pel to trigger the corresponding pel of piece, as long as do not select operation or press cancellation shortcut etc. in Preset Time.
In one embodiment, the user comprises that to the selected operation that pel triggers piece the mouse-click pel triggers piece, double-clicks pel triggering piece, pel triggering piece is dragged or press enter key etc.
Processing module 523, be used for detecting when pel triggered the selected operation of piece at detection module 522, deletion pel triggering piece, and create corresponding pel in the frame favored area of drawing panel, when detection module 522 did not detect the selected operation of pel triggering piece, the deletion pel triggered piece.
In other embodiments, pel creation module 520 comprises that also pel toolbar display module (not shown) is used for not detecting when pel triggered the selected operation of piece at detection module 522, appears the pel toolbar in one's mind at drawing panel assigned address.
When frame selected the corresponding pel of information not to be the pel of user's needs, pel toolbar display module appeared the pel toolbar in one's mind at drawing panel assigned address, selected the pel that needs for the user.In a preferred embodiment, pel toolbar assigned address is near cursor of mouse position or the drawing panel appointed area.The user clicks the pel in the pel toolbar, obtains required pel.
In another embodiment, as shown in Figure 7, this system also comprises:
Judge module 530 is used for the decision block favored area and whether has the pel of having created, if, then choose the described pel of having created, 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, is used to set up and revise the corresponding relation that frame selects information and pel.
In preferred embodiment, module 540 is set is used to set up the corresponding relation that frame selects direction and pel, it is specially:
When frame selected direction to be the bottom right, respective user was created the maximum pel of number of times; When frame selects direction to be the lower-left, the last pel of creating of respective user; When frame when to select direction be upper left, respective user is created time many for several times pels; When frame when to select direction be upper right, appear the pel toolbar in one's mind at the drawing panel and select for the user.
Module 540 set frames are set selects the corresponding relation of direction and pel to can be used as default setting, when starting pattern manipulation interface, load this default setting, simultaneously, the user also can select the corresponding relation of direction and pel to make amendment by 540 pairs of frames of module are set.For example, in the above-described embodiments, also frame can be selected direction be the last pel of creating of bottom right respective user by module 540 is set.
Further, this system also comprises logging modle 550, number of times that the record pel is created and the time of creating pel.The content of logging modle 550 records can be used for upgrading the corresponding relation that frame selects information and pel.Be convenient to understand user's pel establishment demand and usage degree, revise the pel that frame selects the information correspondence.
Above-mentioned pel creation method and system, the frame that obtains the drawing panel selects information, selects information to create corresponding pel in the frame favored area of drawing panel according to described frame.Adopt this method and system, the user only needs the drawing panel is carried out the frame choosing, can select information to create corresponding pel according to user's frame in the frame favored area, do not need moving between toolbar and drawing panel repeatedly when creating continuously, process is simple, and is 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 claim of the present invention.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.