CN106095260B - Highlight the method and system in region - Google Patents
Highlight the method and system in region Download PDFInfo
- Publication number
- CN106095260B CN106095260B CN201610410053.XA CN201610410053A CN106095260B CN 106095260 B CN106095260 B CN 106095260B CN 201610410053 A CN201610410053 A CN 201610410053A CN 106095260 B CN106095260 B CN 106095260B
- Authority
- CN
- China
- Prior art keywords
- outburst area
- mark
- mobile
- circle
- page
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0485—Scrolling or panning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Image Generation (AREA)
Abstract
The present invention provides a kind of method and system for highlighting region, and method includes: to obtain the display page;The gray scale page is drawn on the page;Transparent outburst area is created on the gray scale page, and presets one for triggering the mark of scaling event;Obtain the coordinate information of the outburst area and the mark;Mobile or zoom operations are carried out to the outburst area according to the coordinate information.The present invention will show page shielding by drawing the gray scale page, and transparent outburst area is created on the gray scale page, by the mobile or scaling gray scale page that the content given prominence to the key points is needed to show by outburst area, and other contents are all shielded on the page, generate the effect for highlighting key content.
Description
Technical field
The present invention relates to technical field of image processing more particularly to a kind of method and system for highlighting region.
Background technique
With the development of science and technology, on modern classroom teacher be all lecture content is demonstrated using multimedia tools such as PPT, and
And often encounter the case where needing to protrude certain block region, such as the formula for allowing classmate all to see Newton's second law, it is general to do
Method, which is teacher, to be enclosed formula come but classmates still are able to see the content of other parts, cannot be absorbed in reason with red pen
Solve formula.
The Chinese patent of 102890602 B of Publication No. CN discloses a kind of highlighted method of object and display dress
It sets, method includes: to receive object pre-display signal;Test object pre-display signal opens blurred background;Object highlight in
Specific region;And the second object shows signal if it exists, then the second object dynamic is highlighted in specific region.This method energy
Enough objects to the fixed position such as pop-up box highlight.But the content of a PPT often more than one emphasis, it is prominent every time
The content shown out might not be on the same position, and the specific region of the above method is immovable, can not scale, not
Region suitable for scenes such as PPT demonstrations highlights.
Summary of the invention
The technical problems to be solved by the present invention are: providing a kind of method and system for highlighting region, can shield
The region that emphasis is shown is not needed, only display needs the region given prominence to the key points, and can change highlighted position and model
Enclose size.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention are as follows:
A method of highlighting region, comprising:
Obtain the display page;
The gray scale page is drawn on the page;
Transparent outburst area is created on the gray scale page, and presets one for triggering the mark of scaling event;
Obtain the coordinate information of the outburst area and the mark;
Mobile or zoom operations are carried out to the outburst area according to the coordinate information.
Another technical solution of the invention are as follows:
A kind of system highlighting region, comprising:
First obtains module, for obtaining the display page;
Drafting module, for drawing the gray scale page on the page;
Creation module, for creating transparent outburst area on the gray scale page, and default one for triggering contracting
Put the mark of event;
Second obtains module, for obtaining the coordinate information of the outburst area and the mark;
Control module, for carrying out mobile or zoom operations to the outburst area according to the coordinate information.
The beneficial effects of the present invention are: the display page is obtained, by drawing the gray scale page on this page, by the page
Shielding;Transparent outburst area and default mark are created on the gray scale page again, according to the coordinate of outburst area and mark
Information is i.e. removable or scales the outburst area, so that content of pages outstanding is needed to show by outburst area;Due to
The other parts of the page are in masked state, therefore only the corresponding content of pages of outburst area can show that full page,
Realize the effect given prominence to the key points.Outburst area size of the invention, position is adjustable, using flexible.
Detailed description of the invention
Fig. 1 is the flow chart of the method for highlighting region of one embodiment of the invention;
Fig. 2 is the flow chart of the method for highlighting region of the embodiment of the present invention one;
Fig. 3 is the structural schematic diagram of the system for highlighting region of one embodiment of the invention;
Fig. 4 is the structural schematic diagram of the system for highlighting region of the embodiment of the present invention three;
Fig. 5 is the outburst area schematic diagram of the method for highlighting region of the embodiment of the present invention two;
Fig. 6 is the structural schematic diagram of the system for highlighting region of the embodiment of the present invention four.
Label declaration:
1, first module is obtained;2, drafting module;3, creation module;4, second module is obtained;5, control module;501,
Three obtain module;502, the 4th module is obtained;503, the first computing module;504, Zoom module;505, the 5th module is obtained;
506, the second computing module;507, first movement module;508, third computing module;509, the second mobile module;510, it is arranged
Module.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached
Figure is explained.
The most critical design of the present invention is: drawing the gray scale page on the page, and create on the gray scale page transparent
Outburst area, mobile or scaling outburst area make that content outstanding is wanted to pass through display in outburst area on the page.
Fig. 1 is please referred to, the present invention provides
A method of highlighting region, comprising:
S1: the display page is obtained;
S2: the gray scale page is drawn on the page;
S3: creating transparent outburst area on the gray scale page, and presets one for triggering the mark of scaling event
Know;
S4: the coordinate information of the outburst area and the mark is obtained;
S5: mobile or zoom operations are carried out to the outburst area according to the coordinate information.
As can be seen from the above description, the page is shielded by drawing the gray scale page, and create transparent dash forward on the gray scale page
Region out by mobile or scaling outburst area that content outstanding is needed to show by outburst area, thus on the page its
His content is all shielded, and is only shown the corresponding content of outburst area, is realized the effect given prominence to the key points.
Further, operation is zoomed in and out to the outburst area according to the coordinate information specifically:
S511: the move to the mark is obtained, and according to the mobile mark of the move;
S512: the coordinate information after obtaining the mark movement;
S513: according to coordinate information of the mark after mobile and the mark in the position of outburst area, described in acquisition
The scaling of outburst area;
S514: the outburst area is scaled according to the scaling.
As can be seen from the above description, by the mark on mobile outburst area, according to the mark in the position of outburst area and
Coordinate information after movement can be obtained the scaling of outburst area, to zoom in and out to outburst area.
Further, moving operation is carried out to the outburst area according to the coordinate information specifically:
S501: the move to the outburst area is obtained, the move includes moving direction and moving distance;
S502: the prominent area is calculated in coordinate information, moving direction and moving distance according to the outburst area
Coordinate information after domain is mobile;
S503: according to the mobile outburst area of coordinate information of the outburst area after mobile;
S504: the coordinate information after the mark movement is calculated according to coordinate information of the outburst area after mobile;
S505: according to the coordinate information mobile mark of the mark after mobile.
As can be seen from the above description, by move calculate outburst area it is mobile after coordinate information, further according to calculating
The mobile outburst area of coordinate information;After outburst area movement, mark is not mobile simultaneously, and therefore, it is necessary to again to mark
It is moved, so that mark is without departing from outburst area.
Further, the shape of the outburst area is circle, and the coordinate information of outburst area includes central coordinate of circle;It is described
Mark is set to the edge of the outburst area;Operation is zoomed in and out to the outburst area according to the coordinate information specifically:
The move to the mark is obtained, and according to the mobile mark of the move;
Coordinate after obtaining the mark movement;
The distance for calculating coordinate of the central coordinate of circle to the mark after mobile, by the distance as described circular
Radius;
The outburst area is scaled according to the radius.
As can be seen from the above description, circle is one of most common prominent shape, mark is located at circular outburst area side
Edge, when scaling, mobile logo calculates and is identified to the distance between center of circle, that is, the circular radius after scaling is according to the radius
Circular outburst area can be zoomed in and out, implementation method is simple.
Further, moving operation is carried out to the outburst area according to the coordinate information specifically:
The move to the outburst area is obtained, the move includes moving direction and moving distance;
The center of circle being calculated after the outburst area movement according to the central coordinate of circle, moving direction and moving distance is sat
Mark;
According to the mobile outburst area of central coordinate of circle of the outburst area after mobile;
The abscissa in the center of circle after movement is added into the half of radius as the abscissa of the mark;By the center of circle after movement
Ordinate is used as the mark ordinate plus the 86% of radius;
The mobile mark of abscissa and ordinate according to the mark.
As can be seen from the above description, the abscissa in the center of circle after movement to be added to the half of circular radius after outburst area is mobile
Abscissa as mark;The ordinate in the center of circle after movement is regard as mark ordinate plus the 86% of circular radius, so that mark
Know just at circular edge, and at the circular lower right corner.When default mark, that is, the above method can be used to be located at mark
On the bottom right method, edge of round outburst area.It is of course also possible to mark is set to other positions, and such as: by the abscissa in the center of circle
The abscissa generally as mark of radius is subtracted, the ordinate in the center of circle adds the 86% vertical seat as mark of circular radius
Mark, i.e. mark are located on circular lower-left method, edge;The abscissa in the center of circle is added to 86% abscissa as mark of radius,
The ordinate in the center of circle subtracts ordinate of the half of circular radius as mark, i.e. mark is located on circular upper right method, edge;
Circular abscissa is subtracted to 86% abscissa as mark of radius, circular ordinate subtracts the half of radius as mark
The ordinate of knowledge, i.e. mark are located on circular upper left method, edge.
Further, described that the outburst area is calculated according to the central coordinate of circle, moving direction and moving distance
Advance one after central coordinate of circle after movement, according to the mobile outburst area of central coordinate of circle of the outburst area after mobile
Step includes:
If the abscissa in the center of circle after the outburst area is mobile is less than the minimum abscissa of the page, by the page
Abscissa of the minimum abscissa as the center of circle;
If the abscissa in the center of circle after the outburst area is mobile is greater than the maximum abscissa of the page, by the page
Abscissa of the maximum abscissa as the center of circle;
If the ordinate in the center of circle after the outburst area is mobile is less than the minimum ordinate of the page, by the page
Ordinate of the minimum ordinate as the center of circle;
If the ordinate in the center of circle after the outburst area is mobile is greater than the maximum abscissa of the page, by the page
Abscissa of the maximum abscissa as the center of circle.
As can be seen from the above description, needing first to judge whether central coordinate of circle exceeds page after calculating the central coordinate of circle after movement
The range in face needs if having exceeded Page Range using the coordinate of corresponding page boundary as the central coordinate of circle after mobile,
Circular outburst area is moved again, it is ensured that outburst area is in the page.
Referring to figure 3., another technical solution of the invention are as follows:
A kind of system highlighting region, comprising:
First obtains module 1, for obtaining the display page;
Drafting module 2, for drawing the gray scale page on the page;
Creation module 3, for creating transparent outburst area on the gray scale page, and default one for triggering contracting
Put the mark of event;
Second obtains module 4, for obtaining the coordinate information of the outburst area and the mark;
Control module 5, for carrying out mobile or zoom operations to the outburst area according to the coordinate information.
As can be seen from the above description, drafting module 2 draws the gray scale page should after first obtains the acquisition display page of module 1
Page shielding, and transparent outburst area is created on the gray scale page by creation module 3, then by control module 5 it is mobile or
The scaling gray scale page makes that the content given prominence to the key points is needed to show by outburst area, so that other contents are all shielded on the page
It covers, only shows the corresponding content of pages of outburst area, realize the effect given prominence to the key points.
Further, the control module 5 includes:
Third obtains module 501, for obtaining the move to the mark, and it is mobile according to the move
The mark;
4th obtains module 502, for obtaining the coordinate information after the mark moves;
First computing module 503, for according to coordinate information of the mark after mobile and the mark in outburst area
Position, obtain the scaling of the outburst area;
Zoom module 504, for scaling the outburst area according to the scaling;
5th obtains module 505, and for obtaining the move to the outburst area, the move includes movement
Direction and moving distance;
Second computing module 506, for coordinate information, moving direction and the moving distance calculating according to the outburst area
Coordinate information after obtaining the outburst area movement;
First movement module 507, for according to the mobile outburst area of coordinate information of the outburst area after mobile;
Third computing module 508, for calculating the mark movement according to coordinate information of the outburst area after mobile
Coordinate information afterwards;
Second mobile module 509, for the mobile mark of coordinate information according to the mark after mobile.
As can be seen from the above description, the 4th obtains module 502 after third obtains the acquisition of module 501 to the move of mark
Coordinate after identifying movement is obtained, so that the first computing module 503 can calculate the scaling of outburst area, Zoom module
504 zoom in and out outburst area further according to the scaling;5th acquisition module 505 gets the mobile finger to outburst area
After order, the second computing module 506 calculates the coordinate after outburst area movement, so that first movement module 507 is according to the protrusion
The mobile outburst area of coordinate after region is mobile;Again by third computing module 508 calculate mark it is mobile after coordinate, second
Mobile module 509 again moves mark.
Further, the shape of the outburst area is circle, and the coordinate information of outburst area includes central coordinate of circle;It is described
Mark is set to the edge of the outburst area;The control module 5 includes:
Third obtains module 501, for obtaining the move to the mark, and according to the mobile institute of the move
State mark;
4th obtains module 502, for obtaining the coordinate after the mark moves;
First computing module 503, for calculating the distance of coordinate of the central coordinate of circle to the mark after mobile, by institute
It states distance and is used as the circular radius;
Zoom module 504, for scaling the outburst area according to the radius;
5th obtains module 505, and for obtaining the move to the outburst area, the move includes movement
Direction and moving distance;
Second computing module 506, it is described prominent for being calculated according to the central coordinate of circle, moving direction and moving distance
Central coordinate of circle after region is mobile out;
First movement module 507, for according to the mobile outburst area of central coordinate of circle of the outburst area after mobile;
Third computing module 508, the abscissa for that will move the rear center of circle add the half of radius as the mark
Abscissa;The ordinate in the center of circle after movement is regard as the mark ordinate plus the 86% of radius;
Second mobile module 509, for the abscissa and the mobile mark of ordinate according to the mark.
As can be seen from the above description, circle is one of most common prominent shape, mark is located at circular outburst area side
Edge, when scaling, mobile logo calculates and is identified to the distance between center of circle, that is, the circular radius after scaling is according to the radius
Circular outburst area can be zoomed in and out;When mobile, calculate it is mobile after central coordinate of circle can to circular outburst area into
Row movement;Implementation method is simple.
Further, further includes:
Setup module 510, if the abscissa in the center of circle for the outburst area after mobile is less than the horizontal seat of minimum of the page
Mark, then using the minimum abscissa of the page as the abscissa in the center of circle;
If the abscissa in the center of circle after the outburst area is mobile is greater than the maximum abscissa of the page, by the page
Abscissa of the maximum abscissa as the center of circle;
If the ordinate in the center of circle after the outburst area is mobile is less than the minimum ordinate of the page, by the page
Ordinate of the minimum ordinate as the center of circle;
If the ordinate in the center of circle after the outburst area is mobile is greater than the maximum abscissa of the page, by the page
Abscissa of the maximum abscissa as the center of circle.
As can be seen from the above description, judge whether the central coordinate of circle after movement exceeds the range of the page by setup module 510,
If having exceeded Page Range, need using the coordinate of corresponding page boundary as the central coordinate of circle after movement, then mobile circle
The outburst area of shape, it is ensured that outburst area is in the page.
Referring to figure 2., the embodiment of the present invention one are as follows:
A method of highlighting region, comprising:
S1: the display page is obtained;
S2: the gray scale page is drawn on the page;
S3: creating transparent outburst area on the gray scale page, and presets one for triggering the mark of scaling event
Know;Specifically, creating transparent outburst area in the center of the gray scale page;
S4: the coordinate information of the outburst area and the mark is obtained;
S501: the move to the outburst area is obtained, the move includes moving direction and moving distance;
S502: after the outburst area movement is calculated in coordinate information, moving direction and moving distance according to the outburst area
Coordinate information;S503: according to the mobile outburst area of coordinate information of the outburst area after mobile;S504: according to institute
Coordinate information after stating outburst area movement calculates the coordinate information after the mark movement;S505: it is moved according to the mark
The mobile mark of coordinate information afterwards;
S511: the move to the mark is obtained, and according to the mobile mark of the move;S512: it obtains
Coordinate information after taking the mark mobile;S513: the coordinate information and the mark after moving according to the mark are in protrusion
The position in region obtains the scaling of the outburst area;S514: the outburst area is scaled according to the scaling.
Referring to figure 5., the embodiment of the present invention two are as follows:
A method of highlighting region, comprising:
Obtain the display page;
The gray scale page is drawn on the page;
Transparent circular outburst area is created in gray scale page center, and at the edge of the outburst area
The upper mark being arranged for triggering scaling event;As shown in Figure 5;
Obtain the central coordinate of circle and radius of the outburst area;
The move to the outburst area is obtained, the move includes moving direction and moving distance;Foundation
The central coordinate of circle after the outburst area movement is calculated in the central coordinate of circle, moving direction and moving distance;
Judge whether the central coordinate of circle after outburst area is mobile exceeds Page Range, specifically, if the outburst area moves
The abscissa in the center of circle after dynamic is less than the minimum abscissa of the page, then using the minimum abscissa of the page as the center of circle
Abscissa;If the abscissa in the center of circle after the outburst area is mobile is greater than the maximum abscissa of the page, by the page
Abscissa of the maximum abscissa as the center of circle;If the ordinate in the center of circle after the outburst area is mobile is less than the page most
Small ordinate, then using the minimum ordinate of the page as the ordinate in the center of circle;If after the outburst area is mobile
The ordinate in the center of circle is greater than the maximum abscissa of the page, then using the maximum abscissa of the page as the horizontal seat in the center of circle
Mark;If central coordinate of circle is not belonging to above-mentioned four kinds of situations, followed the steps below using the above-mentioned central coordinate of circle being calculated;
According to the mobile outburst area of central coordinate of circle of the outburst area after mobile;By the abscissa in the center of circle after movement
In addition abscissa of the half of radius as the mark;It will be described in 86% conduct of the ordinate in the center of circle after movement plus radius
Identify ordinate;The mobile mark of abscissa and ordinate according to the mark;It, will if mark has exceeded Page Range
Mark moves on the round edge in the page;
The move to the mark is obtained, and according to the mobile mark of the move;Obtain the mark
Coordinate after movement;The distance for calculating coordinate of the central coordinate of circle to the mark after mobile, will be described in the distance conduct
Circular radius;The outburst area is scaled according to the radius.
Below it is a concrete application scene of the invention:
Assuming that the currently playing PPT page upper right corner there are a formula needs to highlight, then currently playing PPT is obtained
The page draws the gray scale page on the PPT page, and creates transparent outburst area in the center of the gray scale page, prominent
The mark of the edge setting triggering scaling event in region out;Outburst area and mark are moved to the upper right corner, at this point, outburst area
Too small, formula cannot be fully displayed in outburst area, then mobile logo amplifies outburst area, so that the formula is just
It is fully displayed in outburst area.
Referring to figure 4., the embodiment of the present invention three are as follows:
A kind of system highlighting region, including
First obtains module 1, for obtaining the display page;
Drafting module 2, for drawing the gray scale page on the page;
Creation module 3, for creating transparent outburst area on the gray scale page, and default one for triggering contracting
Put the mark of event;
Second obtains module 4, for obtaining the coordinate information of the outburst area and the mark;
Control module 5, for carrying out mobile or zoom operations to the outburst area according to the coordinate information;Specifically
, the control module 5 includes:
Third obtains module 501, for obtaining the move to the mark, and it is mobile according to the move
The mark;
4th obtains module 502, for obtaining the coordinate information after the mark moves;
First computing module 503, for according to coordinate information of the mark after mobile and the mark in outburst area
Position, obtain the scaling of the outburst area;
Zoom module 504, for scaling the outburst area according to the scaling;
5th obtains module 505, and for obtaining the move to the outburst area, the move includes movement
Direction and moving distance;
Second computing module 506, for coordinate information, moving direction and the moving distance calculating according to the outburst area
Coordinate information after obtaining the outburst area movement;
First movement module 507, for according to the mobile outburst area of coordinate information of the outburst area after mobile;
Third computing module 508, for calculating the mark movement according to coordinate information of the outburst area after mobile
Coordinate information afterwards;
Second mobile module 509, for the mobile mark of coordinate information according to the mark after mobile.
Please refer to Fig. 6, the embodiment of the present invention four are as follows:
First obtains module 1, for obtaining the display page;
Drafting module 2, for drawing the gray scale page on the page;
Creation module 3, for creating transparent circular outburst area on the gray scale page, and in the prominent area
The mark of triggering scaling event is preset on the edge in domain;
Second obtains module 4, for obtaining the coordinate information of the outburst area and the mark;
Control module 5, for carrying out mobile or zoom operations to the outburst area according to the coordinate information;Specifically
, the control module 5 includes:
Third obtains module 501, for obtaining the move to the mark, and according to the mobile institute of the move
State mark;
4th obtains module 502, for obtaining the coordinate after the mark moves;
First computing module 503, for calculating the distance of coordinate of the central coordinate of circle to the mark after mobile, by institute
It states distance and is used as the circular radius;
Zoom module 504, for scaling the outburst area according to the radius;
5th obtains module 505, and for obtaining the move to the outburst area, the move includes movement
Direction and moving distance;
Second computing module 506, it is described prominent for being calculated according to the central coordinate of circle, moving direction and moving distance
Central coordinate of circle after region is mobile out;
Setup module 510, if the abscissa in the center of circle for the outburst area after mobile is less than the horizontal seat of minimum of the page
Mark, then using the minimum abscissa of the page as the abscissa in the center of circle;
If the abscissa in the center of circle after the outburst area is mobile is greater than the maximum abscissa of the page, by the page
Abscissa of the maximum abscissa as the center of circle;
If the ordinate in the center of circle after the outburst area is mobile is less than the minimum ordinate of the page, by the page
Ordinate of the minimum ordinate as the center of circle;
If the ordinate in the center of circle after the outburst area is mobile is greater than the maximum abscissa of the page, by the page
Abscissa of the maximum abscissa as the center of circle;
First movement module 507, for according to the mobile outburst area of central coordinate of circle of the outburst area after mobile;
Third computing module 508, the abscissa for that will move the rear center of circle add the half of radius as the mark
Abscissa;The ordinate in the center of circle after movement is regard as the mark ordinate plus the 86% of radius;
Second mobile module 509, for the abscissa and the mobile mark of ordinate according to the mark.
In conclusion the method and system provided by the invention for highlighting region, after obtaining comprising showing the page, at this
The gray scale page is drawn on the page, which is shielded;Transparent outburst area is created on the gray scale page again, so that on the page
The content of corresponding outburst area position, which can show that, to be come;Outburst area is being moved and is being scaled, so that needing emphasis prominent
Content out is shown by outburst area, and other content is shielded on the page, reaches highlighted effect.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include
In scope of patent protection of the invention.
Claims (10)
1. a kind of method for highlighting region characterized by comprising
Obtain the display page;
The gray scale page is drawn on the page;
Transparent outburst area is created on the gray scale page, and presets one for triggering the mark of scaling event;
Obtain the coordinate information of the outburst area and the mark;
Mobile or zoom operations are carried out to the outburst area according to the coordinate information.
2. the method according to claim 1 for highlighting region, which is characterized in that according to the coordinate information to described
Outburst area zooms in and out operation specifically:
The move to the mark is obtained, and according to the mobile mark of the move;
Coordinate information after obtaining the mark movement;
Coordinate information and the mark after moving according to the mark obtain the outburst area in the position of outburst area
Scaling;
The outburst area is scaled according to the scaling.
3. the method according to claim 1 for highlighting region, which is characterized in that according to the coordinate information to described
Outburst area carries out moving operation specifically:
The move to the outburst area is obtained, the move includes moving direction and moving distance;
After the outburst area movement is calculated in coordinate information, moving direction and moving distance according to the outburst area
Coordinate information;
According to the mobile outburst area of coordinate information of the outburst area after mobile;
The coordinate information after the mark movement is calculated according to coordinate information of the outburst area after mobile;
According to the coordinate information mobile mark of the mark after mobile.
4. the method according to claim 1 for highlighting region, which is characterized in that the shape of the outburst area is circle
Shape, the coordinate information of outburst area include central coordinate of circle;The mark is set to the edge of the outburst area;According to the coordinate
Information zooms in and out operation to the outburst area specifically:
The move to the mark is obtained, and according to the mobile mark of the move;
Coordinate after obtaining the mark movement;
The distance for calculating coordinate of the central coordinate of circle to the mark after mobile, by the distance as described circular half
Diameter;
The outburst area is scaled according to the radius.
5. the method according to claim 4 for highlighting region, which is characterized in that according to the coordinate information to described
Outburst area carries out moving operation specifically:
The move to the outburst area is obtained, the move includes moving direction and moving distance;
The central coordinate of circle after the outburst area movement is calculated according to the central coordinate of circle, moving direction and moving distance;
According to the mobile outburst area of central coordinate of circle of the outburst area after mobile;
The abscissa in the center of circle after movement is added into the half of radius as the abscissa of the mark;By the vertical seat in the center of circle after movement
Mark is used as the mark ordinate plus the 86% of radius;
The mobile mark of abscissa and ordinate according to the mark.
6. the method according to claim 5 for highlighting region, which is characterized in that it is described according to the central coordinate of circle,
Moving direction and moving distance are calculated after the central coordinate of circle after the outburst area movement, move according to the outburst area
Further comprise before the mobile outburst area of central coordinate of circle after dynamic:
If the abscissa in the center of circle after the outburst area is mobile is less than the minimum abscissa of the page, by the minimum of the page
Abscissa of the abscissa as the center of circle;
If the abscissa in the center of circle after the outburst area is mobile is greater than the maximum abscissa of the page, by the maximum of the page
Abscissa of the abscissa as the center of circle;
If the ordinate in the center of circle after the outburst area is mobile is less than the minimum ordinate of the page, by the minimum of the page
Ordinate of the ordinate as the center of circle;
If the ordinate in the center of circle after the outburst area is mobile is greater than the maximum abscissa of the page, by the maximum of the page
Abscissa of the abscissa as the center of circle.
7. a kind of system for highlighting region characterized by comprising
First obtains module, for obtaining the display page;
Drafting module, for drawing the gray scale page on the page;
Creation module, for creating transparent outburst area on the gray scale page, and default one for triggering scaling thing
The mark of part;
Second obtains module, for obtaining the coordinate information of the outburst area and the mark;
Control module, for carrying out mobile or zoom operations to the outburst area according to the coordinate information.
8. the system according to claim 7 for highlighting region, which is characterized in that the control module includes:
Third obtains module, for obtaining the move to the mark, and according to the mobile mark of the move
Know;
4th obtains module, for obtaining the coordinate information after the mark moves;
First computing module, for according to coordinate information of the mark after mobile and the mark in the position of outburst area,
Obtain the scaling of the outburst area;
Zoom module, for scaling the outburst area according to the scaling;
5th obtains module, for obtaining the move to the outburst area, the move include moving direction with
Moving distance;
Institute is calculated for the coordinate information, moving direction and moving distance according to the outburst area in second computing module
Coordinate information after stating outburst area movement;
First movement module, for according to the mobile outburst area of coordinate information of the outburst area after mobile;
Third computing module, for calculating the coordinate after the mark movement according to coordinate information of the outburst area after mobile
Information;
Second mobile module, for the mobile mark of coordinate information according to the mark after mobile.
9. the system according to claim 7 for highlighting region, which is characterized in that the shape of the outburst area is circle
Shape, the coordinate information of outburst area include central coordinate of circle;The mark is set to the edge of the outburst area;The control module
Include:
Third obtains module, for obtaining the move to the mark, and according to the mobile mark of the move;
4th obtains module, for obtaining the coordinate after the mark moves;
First computing module, for calculating the distance of coordinate of the central coordinate of circle to the mark after mobile, by the distance
As the circular radius;
Zoom module, for scaling the outburst area according to the radius;
5th obtains module, for obtaining the move to the outburst area, the move include moving direction with
Moving distance;
Second computing module, for the outburst area to be calculated according to the central coordinate of circle, moving direction and moving distance
Central coordinate of circle after movement;
First movement module, for according to the mobile outburst area of central coordinate of circle of the outburst area after mobile;
Third computing module, the abscissa for that will move the rear center of circle add abscissa of the half of radius as the mark;
The ordinate in the center of circle after movement is regard as the mark ordinate plus the 86% of radius;
Second mobile module, for the abscissa and the mobile mark of ordinate according to the mark.
10. the system according to claim 9 for highlighting region, which is characterized in that further include:
Setup module will if the abscissa in the center of circle for the outburst area after mobile is less than the minimum abscissa of the page
Abscissa of the minimum abscissa of the page as the center of circle;
If the abscissa in the center of circle after the outburst area is mobile is greater than the maximum abscissa of the page, by the maximum of the page
Abscissa of the abscissa as the center of circle;
If the ordinate in the center of circle after the outburst area is mobile is less than the minimum ordinate of the page, by the minimum of the page
Ordinate of the ordinate as the center of circle;
If the ordinate in the center of circle after the outburst area is mobile is greater than the maximum abscissa of the page, by the maximum of the page
Abscissa of the abscissa as the center of circle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610410053.XA CN106095260B (en) | 2016-06-12 | 2016-06-12 | Highlight the method and system in region |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610410053.XA CN106095260B (en) | 2016-06-12 | 2016-06-12 | Highlight the method and system in region |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106095260A CN106095260A (en) | 2016-11-09 |
CN106095260B true CN106095260B (en) | 2019-11-19 |
Family
ID=57228783
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610410053.XA Active CN106095260B (en) | 2016-06-12 | 2016-06-12 | Highlight the method and system in region |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106095260B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427137B (en) * | 2019-07-19 | 2021-04-09 | 北京科加触控技术有限公司 | Spotlight display method and device |
CN111679880A (en) * | 2020-06-09 | 2020-09-18 | 苏州三星电子电脑有限公司 | Method for filtering invalid content of browser page |
CN115328381B (en) * | 2022-08-05 | 2023-09-05 | 深圳乐播科技有限公司 | Page pushing method, device and server |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102298504A (en) * | 2011-09-27 | 2011-12-28 | 汉王科技股份有限公司 | Method and system for magnifying display |
CN102662566A (en) * | 2012-03-21 | 2012-09-12 | 中兴通讯股份有限公司 | Magnifying display method and terminal for screen content |
CN102890602A (en) * | 2012-09-17 | 2013-01-23 | 福建星网视易信息系统有限公司 | Object highlighting method and display device |
CN103677721A (en) * | 2013-12-27 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Terminal display interface zooming method and terminal device |
CN104238863A (en) * | 2014-08-29 | 2014-12-24 | 广州视睿电子科技有限公司 | Android-based circle selection scaling method and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110006022A (en) * | 2009-07-13 | 2011-01-20 | 삼성전자주식회사 | Operation method for imaging processing f portable device and apparatus using the same |
CN103150368B (en) * | 2013-03-07 | 2017-10-20 | 青岛海信电器股份有限公司 | Information search and display methods and device |
-
2016
- 2016-06-12 CN CN201610410053.XA patent/CN106095260B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102298504A (en) * | 2011-09-27 | 2011-12-28 | 汉王科技股份有限公司 | Method and system for magnifying display |
CN102662566A (en) * | 2012-03-21 | 2012-09-12 | 中兴通讯股份有限公司 | Magnifying display method and terminal for screen content |
CN102890602A (en) * | 2012-09-17 | 2013-01-23 | 福建星网视易信息系统有限公司 | Object highlighting method and display device |
CN103677721A (en) * | 2013-12-27 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Terminal display interface zooming method and terminal device |
CN104238863A (en) * | 2014-08-29 | 2014-12-24 | 广州视睿电子科技有限公司 | Android-based circle selection scaling method and system |
Also Published As
Publication number | Publication date |
---|---|
CN106095260A (en) | 2016-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106095260B (en) | Highlight the method and system in region | |
CN105005970B (en) | The implementation method and device of a kind of augmented reality | |
CN103425394B (en) | A kind of method and device thereof of the rollover icon position for touch-screen | |
CN106502659B (en) | A kind of layout method and system of mobile device webpage single-page | |
CN105573702A (en) | Method and system for synchronizing movement and scaling of remote annotation | |
CN103699259B (en) | A kind of method of cursor positioning, system and touch apparatus | |
JP2013196157A5 (en) | ||
JP5389241B1 (en) | Electronic device and handwritten document processing method | |
CN105929954B (en) | It is a kind of control cursor method and device, display equipment | |
CN104461312A (en) | Display control method and electronic equipment | |
CN111539269A (en) | Text region identification method and device, electronic equipment and storage medium | |
CN103793683A (en) | gesture recognition method and electronic device | |
US10042445B1 (en) | Adaptive display of user interface elements based on proximity sensing | |
CN103076945A (en) | Interface editing method and device of touch-screen electronic device | |
CN101593455A (en) | The collocation method and the device of the mobile annotation of electronic chart wire | |
CN105278751A (en) | Method and apparatus for implementing human-computer interaction, and protective case | |
KR101426378B1 (en) | System and Method for Processing Presentation Event Using Depth Information | |
US20170310920A1 (en) | Method and system for rendering documents with depth camera for telepresence | |
CN110737417B (en) | Demonstration equipment and display control method and device of marking line of demonstration equipment | |
CN102402279A (en) | Human-computer interaction method and system based on gestures | |
CN104427258A (en) | Video image operation realization method and apparatus | |
Giannopoulos et al. | Mobile outdoor gaze-based geohci | |
CN107168630A (en) | A kind of terminal device, page control device and page control method | |
EP2876540A1 (en) | Information processing device | |
TWI599995B (en) | Examination questions screening system and its method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |