CN102663791A - Method aimed at editing screenshot area and client-side thereof - Google Patents

Method aimed at editing screenshot area and client-side thereof Download PDF

Info

Publication number
CN102663791A
CN102663791A CN2012100753079A CN201210075307A CN102663791A CN 102663791 A CN102663791 A CN 102663791A CN 2012100753079 A CN2012100753079 A CN 2012100753079A CN 201210075307 A CN201210075307 A CN 201210075307A CN 102663791 A CN102663791 A CN 102663791A
Authority
CN
China
Prior art keywords
montage
sectional drawing
constituency
zone
motion track
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012100753079A
Other languages
Chinese (zh)
Inventor
刘红梅
马宇尘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Liangming Technology Development Co Ltd
Original Assignee
Shanghai Liangming Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Liangming Technology Development Co Ltd filed Critical Shanghai Liangming Technology Development Co Ltd
Priority to CN2012100753079A priority Critical patent/CN102663791A/en
Publication of CN102663791A publication Critical patent/CN102663791A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method aimed at editing a screenshot area and a client-side thereof, and belongs to the field of computers and software technology. The method arranges the editing function item for editing the screenshot area in a screenshot tool, the process aimed at editing the screenshot area through the editing function [item] comprises: collecting trigger action of the user aimed at the editing function in the screenshot information; generating operation pointers aimed at editing the screenshot area; collecting operation messages of the operation pointers in the screenshot area, determines editing section aimed at the screenshot area; deleting the editing section from the screenshot area and outputting the screenshot data after deletion of the editing section. The method enables the user to edit the aimed screenshot area through arranging the editing function item in the screenshot tool; thereby a more effective data area is obtained to satisfy the higher level demand of the user.

Description

A kind of method and client of carrying out montage to the sectional drawing zone
Technical field
The invention belongs to computing machine, software technology field.
Background technology
At present, utilize the sectional drawing instrument, become a kind of important way that the user obtains the information content fast with the content in the form intercepting current screen of picture.For example, the screenshot capture function that JICQ provides, the user can carry out random intercepting to interested content in the current screen, and preserves or send to the contact person with the form of picture and share.
In the prior art, to the sectional drawing data can carry out scaling, add literal, editing operations such as frame line, but useless or unnecessary when regional when comprising in the sectional drawing data, if the user hopes that removal should the zone, then can't realize through existing sectional drawing instrument.
The user runs into this situation through regular meeting when using the sectional drawing instrument to carry out image interception, the associated content information distribution is in two page numbers; When the user need be to this part content sectional drawing; Page number cut zone can to occur between the associated content, make between the content association and discontinuous, in order to address this problem; The user often needs intercepting top content in the page up sign indicating number earlier; And then in next page number intercepting lower part content, at last again with two parts content splicing at one, visible this operating process is very numerous and diverse.
If the montage function items can be set in the sectional drawing instrument; Utilize the montage instrument that useless or unnecessary zone is removed to the sectional drawing data; The new sectional drawing zone of composition is spliced in other zone after will removing again again; So then can solve the above-mentioned problem that runs into effectively, improve user's experience.
Summary of the invention
The objective of the invention is to, a kind of method and client of carrying out montage to the sectional drawing zone is provided.Utilize the present invention; The montage function items is set in the sectional drawing instrument, and the user can select the specific region to remove in the sectional drawing zone, newer sectional drawing zone is formed in other zone; Make the user to cut randomly, satisfied the higher level demand of user the sectional drawing zone.
Technical scheme provided by the invention comprises:
A kind of method of carrying out montage to the sectional drawing zone, this method is provided with the montage function items in order to montage sectional drawing zone in the sectional drawing instrument, and the process of carrying out montage to the sectional drawing zone through said montage function items comprises the steps:
Step 1 is gathered the trigger action of user to the montage function items in the sectional drawing information;
Step 2 generates the operation pointer that carries out montage in order to the sectional drawing zone;
Step 3 is gathered the operation information of aforementioned operation pointer in the sectional drawing zone, confirms the montage constituency to the sectional drawing zone;
Step 4 is deleted aforementioned montage constituency in the sectional drawing zone, the sectional drawing data behind the output deletion montage constituency.
Preferably, in the sectional drawing toolbar of sectional drawing data, be provided with in order to trigger the icon control of said montage function items.
Preferably, trigger the montage function items in the said sectional drawing information through shortcut.
Preferably, the said operation pointer that carries out montage to the sectional drawing zone is cursor of mouse or touch point.
Preferably, confirm in the said step 3 that the process that is directed against the regional montage constituency of sectional drawing is:
Gather the starting point and the terminating point of sectional drawing montage pointer, said starting point and terminating point are generated the rectangular area as cornerwise two end points of rectangle;
Obtain the sectional drawing area part that is comprised in the aforementioned rectangular area, with this sectional drawing area part as montage constituency to sectional drawing zone.
Preferably, confirm in the said step 3 that the process that is directed against the regional montage constituency of sectional drawing is:
The motion track of acquisition operations pointer in the sectional drawing zone for said operation pointer each point of process in motion track adds coordinate, and writes down each coordinate data;
Coordinate data to record is monitored, and when the starting point coordinate in the motion track is identical with the terminating point coordinate, confirms that said motion track is a closed loop, and the zone that said motion track is surrounded is as the montage constituency;
When the starting point coordinate in the motion track and terminating point coordinate are inequality, said starting point is connected with straight line with terminating point so that said motion track constitutes closed loop, with the closed loop zone that constitutes as the montage constituency.
Preferably, confirm in the said step 3 that the process that is directed against the regional montage constituency of sectional drawing is:
Set up coordinate-system according to the sectional drawing zone, and obtain the coordinate information of sectional drawing edges of regions line;
The motion track of acquisition operations pointer for said operation pointer each point of process in motion track adds coordinate, and writes down each coordinate data;
With the intersection point of motion track and the sectional drawing edges of regions line of operation pointer as starting point and terminating point, according to said starting point, terminating point and to operate the motion track of pointer in the sectional drawing zone be two zones with the sectional drawing area dividing;
Trigger message in two zones of acquisition operations pointer after aforementioned division is confirmed as the montage constituency with the zone of triggering.
Preferably, behind definite montage constituency, be directed to the marginal position in montage constituency, be provided with and follow the operating point of change in order to drag marginal position.
Preferably, the mode of the sectional drawing data behind the output deletion montage constituency is:
Judge whether the sectional drawing data behind the said deletion montage constituency are continuous zone;
If continuous zone; The figure scope that obtains behind the montage constituency is removed in the sectional drawing zone; As the sectional drawing data behind the deletion montage constituency, after perhaps the montage constituency in the sectional drawing zone being filled through transparent color, as the sectional drawing data behind the deletion montage constituency;
If not continuous zone, gather the image-region of adjacent both sides, montage constituency, the image-region marginal portion of adjacent both sides is spliced each other but do not overlap, with the sectional drawing data of spliced image-region after as deletion montage constituency.
The present invention also provides a kind of client of carrying out montage to the sectional drawing zone, and this client comprises:
The montage function items is provided with the unit, is used at the sectional drawing instrument montage function items in order to montage sectional drawing zone being set;
Montage function items trigger element is provided with the unit with aforementioned montage function items and links to each other, and is used for gathering the trigger action of user to the montage function items of sectional drawing information;
The operation pointer generator links to each other with aforementioned montage function items trigger element, is used to generate the operation pointer that carries out montage in order to the sectional drawing zone;
The unit is confirmed in the montage constituency, links to each other with the aforementioned operation pointer generator, is used for gathering the operation information of aforementioned operation pointer in the sectional drawing zone, confirms the montage constituency to the sectional drawing zone;
Sectional drawing data output unit confirms that with aforementioned montage constituency the unit links to each other, and is used for aforementioned montage constituency is deleted in the sectional drawing zone sectional drawing data behind the output deletion montage constituency.
Preferably, said montage constituency confirms that the unit comprises:
Rectangle constituency determination module; Be used to gather the starting point and the terminating point of sectional drawing montage pointer; Said starting point and terminating point are generated the rectangular area as cornerwise two end points of rectangle, with the sectional drawing area part that is comprised in this rectangular area, as montage constituency to the sectional drawing zone.
Preferably, said montage constituency confirms that the unit comprises:
Closed loop constituency determination module; Be used for the motion track of acquisition operations pointer in the sectional drawing zone; When the starting point coordinate in the motion track is identical with the terminating point coordinate, confirm that said motion track is a closed loop, the zone that said motion track is surrounded is as the montage constituency; When the starting point coordinate in the motion track and terminating point coordinate are inequality, said starting point is connected with straight line with terminating point so that said motion track constitutes closed loop, with the closed loop zone that constitutes as the montage constituency.
Preferably, said montage constituency confirms that the unit comprises:
Constituency, edge determination module is used for the motion track of acquisition operations pointer, with the intersection point of the motion track of operation pointer and sectional drawing edges of regions line as starting point and terminating point; Is two zones according to said starting point, terminating point and the motion track of operation pointer in the sectional drawing zone with the sectional drawing area dividing; According to the trigger message in two zones of operation pointer after aforementioned division, the montage constituency is confirmed as in the zone of triggering.
Compared with prior art; The invention has the beneficial effects as follows: through the montage function items is set in the sectional drawing instrument; Unnecessary or useless when regional when comprising in user's truncated picture data, can come to carry out cutting through the montage function items, if the zone after the montage is then directly exported for the continuum in other zone after the montage to unnecessary or useless zone; If other zone after the montage is not the continuum, then other zone is stitched together again and forms new sectional drawing zone.Technical scheme of the present invention has made things convenient for the user to remove data area redundant in the sectional drawing information, obtains succinct more effectively sectional drawing data message.
Description of drawings
A kind of method flow diagram that carries out montage to the sectional drawing zone that Fig. 1 provides for first embodiment of the invention;
Fig. 1-1 has showed the synoptic diagram of the sectional drawing toolbar that includes montage icon control in the embodiment of the invention;
Fig. 1-2 has showed that the rectangular area that constitutes through starting point and terminating point in the embodiment of the invention confirms the synoptic diagram in montage constituency;
Fig. 1-3 has showed in the embodiment of the invention synoptic diagram of confirming the montage constituency through the motion track of operation pointer;
Fig. 1-4 has showed in the embodiment of the invention through the motion track of operation pointer and the synoptic diagram that sectional drawing edges of regions line is confirmed the montage constituency;
Fig. 1-5 has showed the synoptic diagram of exporting when the sectional drawing data behind the deletion montage constituency are not the continuum in the embodiment of the invention;
Fig. 1-6 has showed the synoptic diagram of exporting when the sectional drawing data behind the deletion montage constituency are the continuum in the embodiment of the invention;
Fig. 2 carries out the method flow diagram of montage for the instant messaging sectional drawing tool needle that utilizes that second embodiment of the invention provides to the sectional drawing zone;
A kind of client synoptic diagram that carries out montage to the sectional drawing zone that Fig. 3 provides for third embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment embodiment of the present invention are done further detailed explanation.
Referring to Fig. 1, be a kind of method flow diagram that carries out montage to the sectional drawing zone that first embodiment of the invention provides, concrete steps are described below.
S11 is provided with the montage function items in order to montage sectional drawing zone in the sectional drawing instrument;
Said montage function items is directed against the function that the sectional drawing data are carried out montage for what in the sectional drawing tool system, set in advance in order to realization.When the user started sectional drawing instrument intercepting image information, corresponding sectional drawing regional location generates had the sectional drawing toolbar, include in this sectional drawing toolbar to cut-away view look like to edit, cancel, share, functionality controls such as preservation.In the embodiment of the invention, in above-mentioned sectional drawing toolbar, be added with the montage icon control that carries out montage in order to the sectional drawing data, the user starts sectional drawing montage function through triggering this montage icon control.
Referring to Fig. 1-1, showed the synoptic diagram of the sectional drawing toolbar that includes montage icon control in the embodiment of the invention.As shown in the figure; The image information that sectional drawing data 100 are obtained through the sectional drawing instrument for the user, this image information are the content information in two page numbers in the pdf document, and the first half is first page a data content; The latter half is second page a data content, and center section is page number interval and page number information.Lower position generation in sectional drawing data 100 has sectional drawing toolbar 110; Include in this sectional drawing toolbar to cut-away view look like to edit, cancel, icon such as preservation; In sectional drawing toolbar 110, be provided with montage icon control 101 in the embodiment of the invention, the operation entry that carries out montage to sectional drawing data 100.
S12 gathers the trigger action of user to the montage function items in the sectional drawing information;
As user during, promptly produce trigger action to the montage function items through the montage icon control in the click sectional drawing toolbar.Utilize the Hook Function of system in the sectional drawing toolbar, to catch mouse information; Obtain the position data of click through relevant api function; And the corresponding related content in judgement click position; When the content of correspondence is montage icon control, then gather the trigger message that is directed to the montage function items, start sectional drawing montage function.
In addition, also can trigger to the montage function items, for example, the triggering mode of the key assignment combination of " Ctrl+Alt+Q " as the montage function items can be set through the shortcut form.Keyboard response through keyboard Hook Function interception system; Obtain the virtual key assignments of user's keyboard; Through the concrete button that virtual key assignments judges is pressed, concrete button value and preset shortcut key assignments are compared, when two key assignments are consistent; Then gather the trigger message that is directed to the montage function items, start sectional drawing montage function.
S13 generates the operation pointer that carries out montage in order to the sectional drawing zone;
When collecting the user, convert current cursor of mouse or touch point into carry out montage to the sectional drawing zone operation pointer to the trigger action of the montage function items in the sectional drawing information.
S14 gathers the operation information of aforementioned operation pointer in the sectional drawing zone, confirms the montage constituency to the sectional drawing zone;
Operation information through the operation pointer confirms that the process in montage constituency is: gather the starting point and the terminating point of sectional drawing montage pointer, said starting point and terminating point are generated the rectangular area as cornerwise two end points of rectangle; Obtain the sectional drawing area part that is comprised in the aforementioned rectangular area, with this sectional drawing area part as montage constituency to sectional drawing zone.Referring to Fig. 1-2, showed the synoptic diagram of confirming the montage constituency through the rectangular area of starting point and terminating point formation.As shown in the figure, in sectional drawing data 110, as user during through click montage icon control 101; Cursor of mouse or touch point convert the operation pointer into; Trigger position through the acquisition operations pointer gets access to starting point 102 and terminating point 103, and starting point 102 and terminating point 103 are generated rectangular area 104 as cornerwise two end points of rectangle, and is as shown in the figure; The rectangular area 104 that dotted line surrounds comprises part sectional drawing zone, and the montage constituency is confirmed as in this part sectional drawing zone.
The process of confirming the montage constituency through the operation information of operation pointer can also be the motion track of acquisition operations pointer in the sectional drawing zone, is that said operation pointer each point of process in motion track adds coordinate, and writes down each coordinate data; Coordinate data to record is monitored, and when the starting point coordinate in the motion track is identical with the terminating point coordinate, confirms that said motion track is a closed loop, and the zone that said motion track is surrounded is as the montage constituency; When the starting point coordinate in the motion track and terminating point coordinate are inequality, said starting point is connected with straight line with terminating point so that said motion track constitutes closed loop, with the closed loop zone that constitutes as the montage constituency.
Referring to Fig. 1-3, showed the synoptic diagram of confirming the montage constituency through the motion track of operation pointer.As shown in the figure, the operation pointer begins to move from starting point 102, moves a circular back terminating point 103 and overlaps with starting point 102, and the zone that this moment, motion track surrounded is the border circular areas of closure, with this border circular areas as the montage constituency.When if the terminating point 103 after the operation pen travel does not overlap with starting point 102, then starting point 102 is connected with terminating point 103 usefulness straight lines, make the motion track of operation pointer constitute closed loop, with the closed loop zone that constitutes as the montage constituency.
Through the operation pointer operation information confirm the montage constituency process can also for: set up coordinate-system according to the sectional drawing zone, and obtain the coordinate information of sectional drawing edges of regions line; The motion track of acquisition operations pointer for said operation pointer each point of process in motion track adds coordinate, and writes down each coordinate data; With the intersection point of motion track and the sectional drawing edges of regions line of operation pointer as starting point and terminating point, according to said starting point, terminating point and to operate the motion track of pointer in the sectional drawing zone be two zones with the sectional drawing area dividing; Trigger message in two zones of acquisition operations pointer after aforementioned division is confirmed as the montage constituency with the zone of triggering.
Referring to Fig. 1-4, showed through the motion track of operation pointer and the synoptic diagram that sectional drawing edges of regions line is confirmed the montage constituency.As shown in the figure; With the intersection point of the motion track 105 of operation pointer and sectional drawing edges of regions line 106 as starting point 102 and terminating point 103; Is two zones by starting point 102, terminating point 103 and the motion track of operation pointer in the sectional drawing zone with the sectional drawing area dividing; Like figure, shadow region 107 is one of them zone, and the zone beyond the shadow region 107 is another zone.If the operation pointer triggers, confirm that then shadow region 107 is the montage constituency in shadow region 107; If the operation pointer triggers, confirm that then another zone is the montage constituency in another zone.
Behind definite montage constituency, the marginal position in the montage constituency is provided with operating point, can the marginal position in montage constituency be dragged through this operating point, thus the operation that realization zooms in or out to the montage constituency.
S15 deletes aforementioned montage constituency in the sectional drawing zone, the sectional drawing data behind the output deletion montage constituency.
The mode of the sectional drawing data behind the output deletion montage constituency is: judge whether the sectional drawing data behind the said deletion montage constituency are continuous zone; If continuous zone; The figure scope that obtains behind the montage constituency is removed in the sectional drawing zone; As the sectional drawing data behind the deletion montage constituency, after perhaps the montage constituency in the sectional drawing zone being filled through transparent color, as the sectional drawing data behind the deletion montage constituency; If not continuous zone, gather the image-region of adjacent both sides, montage constituency, the image-region marginal portion of adjacent both sides is spliced each other but do not overlap, with the sectional drawing data of spliced image-region after as deletion montage constituency.
Shown in Fig. 1-2, the montage constituency is the center section in former sectional drawing zone, and behind the deletion montage constituency, former sectional drawing zone then is split into two distinct area parts up and down, and in this case, the sectional drawing data behind the deletion montage constituency are not continuous zones.Shown in Fig. 1-3, the montage constituency is a border circular areas in the former sectional drawing zone, and then deleting the sectional drawing data that obtain behind the montage constituency is continuous zone; To the situation shown in Fig. 1-4, the montage constituency is at the marginal position in former sectional drawing zone, and the sectional drawing data of deleting the acquisition behind this montage constituency also are continuous zones.
Referring to Fig. 1-5, showed the synoptic diagram of exporting when sectional drawing data behind the deletion montage constituency are not the continuum.To the sectional drawing data 100 among Fig. 1-2; Behind the montage constituency of deletion center section, shown in Fig. 1-5, sectional drawing data 100 are split into two discontinuous data areas; Be respectively first zone 120 and second zone 130; The upper rim in first zone lower limb of 120 part and second zone 130 is spliced each other but do not overlap, form spliced image-region 150, the sectional drawing data of this image-region 150 after as deletion montage constituency are exported.
Referring to Fig. 1-6, showed the synoptic diagram of exporting when sectional drawing data behind the deletion montage constituency are the continuum.To the sectional drawing data 100 among Fig. 1-4; When shadow region 107 is the montage constituency; After deleting this part montage constituency, shown in Fig. 1-6, the data area 160 of acquisition still is continuous zone; Can export as the sectional drawing data behind the deletion montage constituency directly with the figure scope of this data area 160.In addition, also can be with the sectional drawing data 100 among Fig. 1-4, after fill through transparent color montage constituency wherein (shadow region 107), export as the sectional drawing data behind the deletion montage constituency.
Being arranged on the PC with the instant communication client that has the sectional drawing function below is example; Specify the scheme that the user provides according to the embodiment of the invention; To the process that montage is carried out in the sectional drawing zone, as shown in Figure 2, showed the idiographic flow that the user carries out montage to the sectional drawing zone:
S21, user are in the operation entry startup screen sectional drawing function of IM client through the triggering screenshot capture, and entering screenshot capture interface;
For example, get into the screenshot capture interface,, get into the screenshot capture interface perhaps through the screenshot capture button in the click instant messaging interactive interface through shortcut " Ctrl+Alt+A ".
S22, intercepting destination image data in the screenshot capture interface triggers the montage function items in the sectional drawing toolbar of correspondence;
In the screenshot capture interface, choose object region through mouse pointer and carry out intercepting; Behind the intercepting image-region; Lower position in sectional drawing zone generates has the sectional drawing toolbar, in this sectional drawing toolbar, include to the sectional drawing constituency edit, cancel, share, various functionality controls such as preservation.In the scheme provided by the invention, in the sectional drawing toolbar that generates, be provided with the montage function items that carries out cutting in order to the sectional drawing zone, the user can trigger the montage function items through mouse or shortcut, starts sectional drawing montage function.
S23 through the move operation of editing operation pointer in the sectional drawing zone, confirms the montage constituency;
Confirm that through the editing operation pointer mode in montage constituency has following several kinds:
1, confirm the montage constituency through the starting point and the terminating point of editing operation pointer.Said starting point and terminating point are generated the rectangular area as cornerwise two end points of rectangle; Obtain the sectional drawing area part that is comprised in the aforementioned rectangular area, with this sectional drawing area part as montage constituency to sectional drawing zone.
2, confirm the montage constituency through the motion track of editing operation pointer in the sectional drawing zone.If the motion track of editing operation pointer forms closed loop in the sectional drawing zone, then with this closed loop zone as the montage constituency; If the motion track of editing operation pointer in the sectional drawing zone but do not form closed loop, then is connected with terminating point starting point through straight line so that said motion track formation closed loop, with the closed loop zone of formation as the montage constituency.
3, confirm the montage constituency through the motion track and the regional edge line of sectional drawing of editing operation pointer in the sectional drawing zone.When motion track and the sectional drawing edges of regions line of operation pointer have two intersection points; With these two intersection points as starting point and terminating point; Is two zones according to said starting point, terminating point and the motion track of operation pointer in the sectional drawing zone with the sectional drawing area dividing; After the user triggers to one of them zone, the montage constituency is confirmed as in the zone of being triggered.
S24 deletes aforementioned montage constituency in the sectional drawing zone, the sectional drawing data behind the output deletion montage constituency;
When the sectional drawing data behind the deletion montage constituency are the continuum, directly the figure scope that obtains behind the montage constituency is removed in the sectional drawing zone, export as the sectional drawing data behind the deletion montage constituency; After perhaps the montage constituency in the sectional drawing zone being filled through transparent color, export as the sectional drawing data behind the deletion montage constituency.When the sectional drawing data behind the deletion montage constituency are discontinuity zone; Gather the image-region of adjacent both sides, montage constituency; The image-region marginal portion of adjacent both sides is spliced each other but do not overlap, the sectional drawing data of spliced image-region after as deletion montage constituency are exported.
S25 sends to the other side with the sectional drawing data behind the deletion montage constituency of output through JICQ, and these sectional drawing data is kept in local terminal or the server.
Directly the sectional drawing data behind the output deletion montage constituency in the instant messaging interactive interface of current unlatching when receiving user's transmission instruction, are sent to these sectional drawing data contact person's client of user.
In conjunction with the method embodiment that montage is carried out in the sectional drawing zone that is directed against of front description, the present invention also provides supporting client.
Referring to Fig. 3, be a kind of client synoptic diagram that carries out montage to the sectional drawing zone that third embodiment of the invention provides, this client comprises:
The montage function items is provided with unit 310, is used at the sectional drawing instrument montage function items in order to montage sectional drawing zone being set;
Montage function items trigger element 320 is provided with unit 310 with aforementioned montage function items and links to each other, and is used for gathering the trigger action of user to the montage function items of sectional drawing information;
Operation pointer generator 330 links to each other with aforementioned montage function items trigger element 320, is used to generate the operation pointer that carries out montage in order to the sectional drawing zone;
Unit 340 is confirmed in the montage constituency, links to each other with aforementioned operation pointer generator 330, is used for gathering the operation information of aforementioned operation pointer in the sectional drawing zone, confirms the montage constituency to the sectional drawing zone;
Sectional drawing data output unit 350 confirms that with aforementioned montage constituency unit 340 links to each other, and is used for aforementioned montage constituency is deleted in the sectional drawing zone sectional drawing data behind the output deletion montage constituency.
Wherein, the montage constituency confirms that unit 340 comprises following construction module:
Rectangle constituency determination module 341; Be used to gather the starting point and the terminating point of sectional drawing montage pointer; Said starting point and terminating point are generated the rectangular area as cornerwise two end points of rectangle, with the sectional drawing area part that is comprised in this rectangular area, as montage constituency to the sectional drawing zone;
Closed loop constituency determination module 342; Be used for the motion track of acquisition operations pointer in the sectional drawing zone; When the starting point coordinate in the motion track is identical with the terminating point coordinate, confirm that said motion track is a closed loop, the zone that said motion track is surrounded is as the montage constituency; When the starting point coordinate in the motion track and terminating point coordinate are inequality, said starting point is connected with straight line with terminating point so that said motion track constitutes closed loop, with the closed loop zone that constitutes as the montage constituency;
Constituency, edge determination module 343 is used for the motion track of acquisition operations pointer, with the intersection point of the motion track of operation pointer and sectional drawing edges of regions line as starting point and terminating point; Is two zones according to said starting point, terminating point and the motion track of operation pointer in the sectional drawing zone with the sectional drawing area dividing; According to the trigger message in two zones of operation pointer after aforementioned division, the montage constituency is confirmed as in the zone of triggering.
In the described client of present embodiment, through the montage function items unit 310 is set the function items that carries out montage in order to the sectional drawing zone is set in the sectional drawing instrument, and the icon control is set in the sectional drawing toolbar, as opening montage function operations inlet; After user's intercepting image information; When in the sectional drawing toolbar, passing through mouse triggering icon control; Montage function items trigger element 320 obtains user's trigger action information; And this trigger message is sent to operation pointer generator 330, generate the operation pointer that carries out montage in order to the sectional drawing zone by operation pointer generator 330; The operation information of unit 340 according to the operation pointer confirmed in the montage constituency, confirms mode through different constituencies such as rectangle constituency determination module 341, closed loop constituency determination module 342, constituency, edge determination modules 343, confirms the montage constituency to the sectional drawing zone; By sectional drawing data output unit 350 the montage constituency of confirming is deleted at last, and the sectional drawing data behind the output deletion montage constituency.
More than be the description of this invention and non-limiting, based on other embodiment of inventive concept, all among protection scope of the present invention.

Claims (13)

1. method of carrying out montage to the sectional drawing zone, it is characterized in that: this method is provided with the montage function items in order to montage sectional drawing zone in the sectional drawing instrument, and the process of carrying out montage to the sectional drawing zone through said montage function items comprises the steps,
Step 1 is gathered the trigger action of user to the montage function items in the sectional drawing information;
Step 2 generates the operation pointer that carries out montage in order to the sectional drawing zone;
Step 3 is gathered the operation information of aforementioned operation pointer in the sectional drawing zone, confirms the montage constituency to the sectional drawing zone;
Step 4 is deleted aforementioned montage constituency in the sectional drawing zone, the sectional drawing data behind the output deletion montage constituency.
2. a kind of method of carrying out montage to the sectional drawing zone according to claim 1 is characterized in that: in the sectional drawing toolbar of sectional drawing data, be provided with in order to trigger the icon control of said montage function items.
3. a kind of method of carrying out montage to the sectional drawing zone according to claim 1 is characterized in that: trigger the montage function items in the said sectional drawing information through shortcut.
4. a kind of method of carrying out montage to the sectional drawing zone according to claim 1 is characterized in that: the said operation pointer that carries out montage to the sectional drawing zone is cursor of mouse or touch point.
5. a kind of method of carrying out montage to the sectional drawing zone according to claim 1 is characterized in that: confirms in the said step 3 to the process in the regional montage constituency of sectional drawing to do,
Gather the starting point and the terminating point of sectional drawing montage pointer, said starting point and terminating point are generated the rectangular area as cornerwise two end points of rectangle;
Obtain the sectional drawing area part that is comprised in the aforementioned rectangular area, with this sectional drawing area part as montage constituency to sectional drawing zone.
6. a kind of method of carrying out montage to the sectional drawing zone according to claim 1 is characterized in that: confirms in the said step 3 to the process in the regional montage constituency of sectional drawing to do,
The motion track of acquisition operations pointer in the sectional drawing zone for said operation pointer each point of process in motion track adds coordinate, and writes down each coordinate data;
Coordinate data to record is monitored, and when the starting point coordinate in the motion track is identical with the terminating point coordinate, confirms that said motion track is a closed loop, and the zone that said motion track is surrounded is as the montage constituency;
When the starting point coordinate in the motion track and terminating point coordinate are inequality, said starting point is connected with straight line with terminating point so that said motion track constitutes closed loop, with the closed loop zone that constitutes as the montage constituency.
7. a kind of method of carrying out montage to the sectional drawing zone according to claim 1 is characterized in that: confirms in the said step 3 to the process in the regional montage constituency of sectional drawing to do,
Set up coordinate-system according to the sectional drawing zone, and obtain the coordinate information of sectional drawing edges of regions line;
The motion track of acquisition operations pointer for said operation pointer each point of process in motion track adds coordinate, and writes down each coordinate data;
With the intersection point of motion track and the sectional drawing edges of regions line of operation pointer as starting point and terminating point, according to said starting point, terminating point and to operate the motion track of pointer in the sectional drawing zone be two zones with the sectional drawing area dividing;
Trigger message in two zones of acquisition operations pointer after aforementioned division is confirmed as the montage constituency with the zone of triggering.
8. a kind of method of carrying out montage to the sectional drawing zone according to claim 1 is characterized in that: behind definite montage constituency, be directed to the marginal position in montage constituency, be provided with and follow the operating point of change in order to drag marginal position.
9. a kind of method of carrying out montage to the sectional drawing zone according to claim 1 is characterized in that: the mode of the sectional drawing data behind the output deletion montage constituency does,
Judge whether the sectional drawing data behind the said deletion montage constituency are continuous zone;
If continuous zone; The figure scope that obtains behind the montage constituency is removed in the sectional drawing zone; As the sectional drawing data behind the deletion montage constituency, after perhaps the montage constituency in the sectional drawing zone being filled through transparent color, as the sectional drawing data behind the deletion montage constituency;
If not continuous zone, gather the image-region of adjacent both sides, montage constituency, the image-region marginal portion of adjacent both sides is spliced each other but do not overlap, with the sectional drawing data of spliced image-region after as deletion montage constituency.
10. one kind is directed against the client that montage is carried out in the sectional drawing zone, it is characterized in that this client comprises:
The montage function items is provided with the unit, is used at the sectional drawing instrument montage function items in order to montage sectional drawing zone being set;
Montage function items trigger element is provided with the unit with aforementioned montage function items and links to each other, and is used for gathering the trigger action of user to the montage function items of sectional drawing information;
The operation pointer generator links to each other with aforementioned montage function items trigger element, is used to generate the operation pointer that carries out montage in order to the sectional drawing zone;
The unit is confirmed in the montage constituency, links to each other with the aforementioned operation pointer generator, is used for gathering the operation information of aforementioned operation pointer in the sectional drawing zone, confirms the montage constituency to the sectional drawing zone;
Sectional drawing data output unit confirms that with aforementioned montage constituency the unit links to each other, and is used for aforementioned montage constituency is deleted in the sectional drawing zone sectional drawing data behind the output deletion montage constituency.
11. a kind of client of carrying out montage to the sectional drawing zone according to claim 10 is characterized in that said montage constituency confirms that the unit comprises:
Rectangle constituency determination module; Be used to gather the starting point and the terminating point of sectional drawing montage pointer; Said starting point and terminating point are generated the rectangular area as cornerwise two end points of rectangle, with the sectional drawing area part that is comprised in this rectangular area, as montage constituency to the sectional drawing zone.
12. a kind of client of carrying out montage to the sectional drawing zone according to claim 10 is characterized in that said montage constituency confirms that the unit comprises:
Closed loop constituency determination module; Be used for the motion track of acquisition operations pointer in the sectional drawing zone; When the starting point coordinate in the motion track is identical with the terminating point coordinate, confirm that said motion track is a closed loop, the zone that said motion track is surrounded is as the montage constituency; When the starting point coordinate in the motion track and terminating point coordinate are inequality, said starting point is connected with straight line with terminating point so that said motion track constitutes closed loop, with the closed loop zone that constitutes as the montage constituency.
13. a kind of client of carrying out montage to the sectional drawing zone according to claim 10 is characterized in that said montage constituency confirms that the unit comprises:
Constituency, edge determination module is used for the motion track of acquisition operations pointer, with the intersection point of the motion track of operation pointer and sectional drawing edges of regions line as starting point and terminating point; Is two zones according to said starting point, terminating point and the motion track of operation pointer in the sectional drawing zone with the sectional drawing area dividing; According to the trigger message in two zones of operation pointer after aforementioned division, the montage constituency is confirmed as in the zone of triggering.
CN2012100753079A 2012-03-20 2012-03-20 Method aimed at editing screenshot area and client-side thereof Pending CN102663791A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100753079A CN102663791A (en) 2012-03-20 2012-03-20 Method aimed at editing screenshot area and client-side thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100753079A CN102663791A (en) 2012-03-20 2012-03-20 Method aimed at editing screenshot area and client-side thereof

Publications (1)

Publication Number Publication Date
CN102663791A true CN102663791A (en) 2012-09-12

Family

ID=46773269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100753079A Pending CN102663791A (en) 2012-03-20 2012-03-20 Method aimed at editing screenshot area and client-side thereof

Country Status (1)

Country Link
CN (1) CN102663791A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946344A (en) * 2012-11-14 2013-02-27 上海量明科技发展有限公司 Method, client and system for inviting instant communication users to send images
CN103197854A (en) * 2013-04-07 2013-07-10 广州视睿电子科技有限公司 Screen capture method and device for multi-channel display of all-in-one machine
CN103873916A (en) * 2012-12-13 2014-06-18 深圳市快播科技有限公司 Video thumbnail processing method, video thumbnail processing system and video player
CN104331230A (en) * 2014-11-24 2015-02-04 联想(北京)有限公司 Information processing method and electronic equipment
CN104503687A (en) * 2014-12-22 2015-04-08 上海斐讯数据通信技术有限公司 Screen capturing method and mobile terminal
CN104808923A (en) * 2015-05-25 2015-07-29 联想(北京)有限公司 Screen control method and electronic equipment
CN105068723A (en) * 2015-07-27 2015-11-18 联想(北京)有限公司 Information processing method and electronic device
CN105549891A (en) * 2016-01-12 2016-05-04 努比亚技术有限公司 Screenshot method based on back pressure sensor and mobile terminal
CN105808125A (en) * 2014-12-29 2016-07-27 鸿合科技有限公司 Method and device for quickly cutting picture object by means of gesture
CN106303255A (en) * 2016-08-30 2017-01-04 广东小天才科技有限公司 The method and apparatus of quick obtaining target area image
CN106406690A (en) * 2016-08-25 2017-02-15 深圳市金立通信设备有限公司 Method and terminal for adjusting display through screenshot
CN106775336A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of content duplication method, device and terminal
CN107766038A (en) * 2017-10-24 2018-03-06 四川长虹电器股份有限公司 It is a kind of to carry out the method that profile is cut out and beautified to UI controls based on android system
CN108037871A (en) * 2017-11-07 2018-05-15 维沃移动通信有限公司 Screenshotss method and mobile terminal
CN108196766A (en) * 2017-12-20 2018-06-22 努比亚技术有限公司 A kind of display interface processing method, terminal and computer readable storage medium
US10025490B2 (en) 2013-04-07 2018-07-17 Guangzhou Shirui Electronics Co., Ltd. Method, device and computer storage medium for multichannel touch control of all-in-one machine
CN109240592A (en) * 2018-10-09 2019-01-18 珠海格力电器股份有限公司 Touch screen screenshotss method and terminal
CN109960685A (en) * 2019-03-26 2019-07-02 广州国音智能科技有限公司 A kind of method and relevant apparatus handling audio file
WO2020063091A1 (en) * 2018-09-27 2020-04-02 维沃移动通信有限公司 Picture processing method and terminal device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764103A (en) * 2004-10-20 2006-04-26 国际商业机器公司 Privacy protection method and apparatus for remote control
CN101262475A (en) * 2008-02-01 2008-09-10 张尧森 Method for realizing webpage block image cutting on webpage
CN102263706A (en) * 2010-05-26 2011-11-30 腾讯科技(深圳)有限公司 Image interception method and apparatus thereof
CN102317933A (en) * 2009-01-02 2012-01-11 苹果公司 Content Profiling to Dynamically Configure Content Processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764103A (en) * 2004-10-20 2006-04-26 国际商业机器公司 Privacy protection method and apparatus for remote control
CN101262475A (en) * 2008-02-01 2008-09-10 张尧森 Method for realizing webpage block image cutting on webpage
CN102317933A (en) * 2009-01-02 2012-01-11 苹果公司 Content Profiling to Dynamically Configure Content Processing
CN102263706A (en) * 2010-05-26 2011-11-30 腾讯科技(深圳)有限公司 Image interception method and apparatus thereof

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946344B (en) * 2012-11-14 2016-03-23 上海量明科技发展有限公司 Invite the method for instant communication users transmission image, client and system
CN102946344A (en) * 2012-11-14 2013-02-27 上海量明科技发展有限公司 Method, client and system for inviting instant communication users to send images
CN103873916A (en) * 2012-12-13 2014-06-18 深圳市快播科技有限公司 Video thumbnail processing method, video thumbnail processing system and video player
CN103197854A (en) * 2013-04-07 2013-07-10 广州视睿电子科技有限公司 Screen capture method and device for multi-channel display of all-in-one machine
US10025490B2 (en) 2013-04-07 2018-07-17 Guangzhou Shirui Electronics Co., Ltd. Method, device and computer storage medium for multichannel touch control of all-in-one machine
CN104331230A (en) * 2014-11-24 2015-02-04 联想(北京)有限公司 Information processing method and electronic equipment
CN104503687A (en) * 2014-12-22 2015-04-08 上海斐讯数据通信技术有限公司 Screen capturing method and mobile terminal
CN105808125A (en) * 2014-12-29 2016-07-27 鸿合科技有限公司 Method and device for quickly cutting picture object by means of gesture
CN104808923A (en) * 2015-05-25 2015-07-29 联想(北京)有限公司 Screen control method and electronic equipment
CN105068723A (en) * 2015-07-27 2015-11-18 联想(北京)有限公司 Information processing method and electronic device
CN105068723B (en) * 2015-07-27 2019-12-24 联想(北京)有限公司 Information processing method and electronic equipment
CN105549891A (en) * 2016-01-12 2016-05-04 努比亚技术有限公司 Screenshot method based on back pressure sensor and mobile terminal
CN105549891B (en) * 2016-01-12 2019-10-15 努比亚技术有限公司 A kind of screenshot method and mobile terminal based on backside pressure sensor
CN106406690A (en) * 2016-08-25 2017-02-15 深圳市金立通信设备有限公司 Method and terminal for adjusting display through screenshot
CN106303255A (en) * 2016-08-30 2017-01-04 广东小天才科技有限公司 The method and apparatus of quick obtaining target area image
CN106303255B (en) * 2016-08-30 2019-08-02 广东小天才科技有限公司 The method and apparatus of quick obtaining target area image
CN106775336A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of content duplication method, device and terminal
CN107766038A (en) * 2017-10-24 2018-03-06 四川长虹电器股份有限公司 It is a kind of to carry out the method that profile is cut out and beautified to UI controls based on android system
CN107766038B (en) * 2017-10-24 2021-06-29 四川长虹电器股份有限公司 Method for carrying out contour clipping and beautifying on UI control based on Android system
CN108037871A (en) * 2017-11-07 2018-05-15 维沃移动通信有限公司 Screenshotss method and mobile terminal
CN108196766A (en) * 2017-12-20 2018-06-22 努比亚技术有限公司 A kind of display interface processing method, terminal and computer readable storage medium
WO2020063091A1 (en) * 2018-09-27 2020-04-02 维沃移动通信有限公司 Picture processing method and terminal device
CN109240592A (en) * 2018-10-09 2019-01-18 珠海格力电器股份有限公司 Touch screen screenshotss method and terminal
CN109960685A (en) * 2019-03-26 2019-07-02 广州国音智能科技有限公司 A kind of method and relevant apparatus handling audio file

Similar Documents

Publication Publication Date Title
CN102663791A (en) Method aimed at editing screenshot area and client-side thereof
CN111290675B (en) Screenshot picture sharing method and device, terminal and storage medium
CN103793241B (en) Communication device starts the update of the key frame of mobile communication device with method
CN104885048B (en) System and method for managing digital content items
EP2641157B1 (en) Method and apparatus for displaying user interface capable of intuitively editing and browsing folder
US20180275985A1 (en) Workflow generation and editing
CN104238949A (en) Split-screen displaying method and device
TW201602931A (en) Creating calendar event from timeline
EP3098700B1 (en) Display control method and display control device
KR20140082000A (en) Terminal and method for providing related application
CN101834938A (en) Device and method for realizing horizontal/vertical screen switching of mobile terminal
CN105095107A (en) Buffer memory data cleaning method and apparatus
TW201706875A (en) Method and computing device for providing dynamic navigation bar for expanded communication service
CN103197827A (en) Method for providing user interface
CN108196759A (en) Control figure calibration method and terminal
CN102801649A (en) Method and terminal for establishing shortcut of instant messaging interactive interface
CN102722359A (en) Method and device for displaying application program and portable mobile terminal
CN110187875A (en) A kind of component visual melts forwarding method
CN103336657B (en) Unlocking screen method and communication terminal
CN114527897B (en) Tracking and restoring pointer locations between applications
CN112947825A (en) Display control method, display control device, electronic device, and medium
JP2020161135A (en) Method and system for displaying chat thread
CN113918260A (en) Application program display method and device and electronic equipment
CN106201445A (en) The edit methods of a kind of reminder message, device and terminal unit
CN104216646A (en) Method and device for creating application program based on gesture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120912