CN108574869A - A kind of method that DVB set-top box interfaces support fan-shaped special efficacy - Google Patents
A kind of method that DVB set-top box interfaces support fan-shaped special efficacy Download PDFInfo
- Publication number
- CN108574869A CN108574869A CN201810271785.4A CN201810271785A CN108574869A CN 108574869 A CN108574869 A CN 108574869A CN 201810271785 A CN201810271785 A CN 201810271785A CN 108574869 A CN108574869 A CN 108574869A
- Authority
- CN
- China
- Prior art keywords
- straight line
- feature information
- region
- circle
- special efficacy
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/482—End-user interface for program selection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8146—Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
Abstract
The present invention relates to a kind of methods that DVB set-top box interfaces support fan-shaped special efficacy, including:Fisrt feature information is obtained, is drawn and is justified by bresenham algorithms according to the fisrt feature information, the circle is the intersection of straight line;Dynamic second feature information is obtained, the straight line is selected according to the second feature information, is painted to the straight line, the fan-shaped special efficacy coloured, and in real time in interface display.The present invention realizes the function that DVB set-top box interfaces support fan-shaped special efficacy, improves visual experience and the human-computer interaction effect of user.
Description
Technical field
The invention belongs to DVB set-top box interface set-top box techniques fields, and in particular to a kind of DVB set-top box interfaces support fan
The method of shape special efficacy.
Background technology
Digital receiver:The set-top box being commonly called as, set-top box;STB.A kind of comprehensive letter of support television terminal offer
The household appliance of breath business.It enables users to watch digital television program on existing television set, and can be interacted by network
Formula digitlization amusement, education and commercialization activity.
User interface:It is the medium interacted between set-top box and user with information exchange, is between user and hardware
Between, link up the related software designed for interaction each other so that user can easily and effectively go operation hardware to reach
It is in pairs to interaction, complete desirable work.
Fan-shaped special efficacy:Such as real-time signal strength, the fan-shaped Special display effect of quality, the radian (reality that set-top box driving obtains
When signal strength, quality size/100*360), and carry out drawing dynamic sector diagram.
The set-top box of mainstream is mainly divided into android set top box and DVB set-top boxes currently on the market, and DVB set-top boxes are again with sea
Based on outer market.Wherein android set top box uses Android operation system, and corresponding control can be used or library of increasing income supports that animation is special
Effect display.And DVB set-top boxes mainly use linux, the embedded OSs such as ecos, such as control of the ecos systems without corresponding encapsulation
Part and available library support of increasing income, can only realize corresponding design sketch by drawing based on point, line.
The set-top box of mainstream is mainly divided into android set top box and DVB set-top boxes in the market, and DVB set-top boxes are again with overseas city
Based on.Wherein android set top box uses Android operation system, and corresponding control can be used or library of increasing income supports that animation effect is aobvious
Show.And DVB set-top boxes mainly use linux, the embedded OSs such as ecos, such as control of the ecos systems without corresponding encapsulation and
Available library support of increasing income, can only realize corresponding design sketch by drawing based on point, line.
Invention content
In view of the deficiencies of the prior art, the present invention provides a kind of methods that DVB set-top box interfaces support fan-shaped special efficacy, realize
DVB set-top box interfaces support the function of fan-shaped special efficacy, improve visual experience and the human-computer interaction effect of user.
To solve the above problems, the technical solution adopted by the present invention is:
A kind of method that DVB set-top box interfaces support fan-shaped special efficacy, including:
Fisrt feature information is obtained, is drawn and is justified by bresenham algorithms according to the fisrt feature information, the circle is straight line
Intersection;
Dynamic second feature information is obtained, the straight line is selected according to the second feature information, paints, obtains to the straight line
To the fan-shaped special efficacy of coloring, and in real time in interface display.
Further, the fisrt feature information includes:The center of circle and radius establish reference axis by origin of the center of circle, and
The coordinate that circle algorithm obtains each point of upper 1/8 arc of circle is drawn in the vertex that circle is determined according to the radius by bresenham;
According to eight points of round symmetry, the circle is divided into nine regions, ranging from 0 ° of 45 ° of the first areas < < in each region,
90 ° of 45 °≤second area <, 135 ° of 90 °≤third region <, 180 ° of 135 °≤the fourth region <, the 180 °≤the 5th region <
225 °, the 225 °≤the 6th 270 ° of region <, 315 ° of 270 °≤District 7 domain <, 360 ° of 315 °≤Section Eight domain <, the 9th region
It is 360 °;
It is drawn directly with direction counterclockwise successively anti-aliasing in the second area, the fourth region, the 6th region and Section Eight domain
Line;
It is drawn directly with clockwise direction successively anti-aliasing in the first area, third region, the 5th region and District 7 domain
Line;
Further, the region where the straight line that need to each paint is determined according to the second feature information, is passed through
Bresenham draws the coordinate that circle algorithm obtains each point on upper 1/8 circular arc of circle, if the straight line that need to be painted is in first area
When, directly paint to the straight line that need to be painted;
If the straight line that need to be painted is in multiple regions, according to eight points of round symmetry, circle algorithm is drawn by bresenham
It obtains corresponding point on circular arc, paints to the straight line that need to be painted;
The second feature information includes:Real-time electricity, real-time signal strength, buffer status.
Further, it integrally paints to the straight line of selection, according to the second feature information to the straight line of selection
It is adjusted;
If choosing dry criticality straight line in the straight line according to the second feature information, the critical straight line is colored state
When, the sector special efficacy is the first color state, and when the critical straight line is uncolored state, the sector special efficacy is the second face
Color state.
Further, third feature information is obtained, the straight line is locked, part colouring, root are carried out to the straight line of locking
The colouring ratio of the straight line locked to every according to the second feature information is adjusted, and the third feature information is arc
Degree or arc length;
Being chosen in the straight line locked at every according to the second feature information several has the critical point, the critical point to be
When color state, the sector special efficacy is third color state, and when the critical point is uncolored state, the sector special efficacy is the
Four color states.
There is a kind of DVB set-top boxes readable storage medium storing program for executing, the readable storage medium storing program for executing to have program stored therein, which is characterized in that
Described program executes following steps:
Fisrt feature information is obtained, is drawn and is justified by bresenham algorithms according to the fisrt feature information, the circle is straight line
Intersection;
Dynamic second feature information is obtained, the straight line is selected according to the second feature information, paints, obtains to the straight line
To the fan-shaped special efficacy of coloring, and in real time in interface display.
Further, the fisrt feature information includes:The center of circle and radius establish reference axis by origin of the center of circle, and
The coordinate that circle algorithm obtains the upper each point of circle is drawn in the vertex that circle is determined according to the radius by bresenham;
According to eight points of round symmetry, the circle is divided into nine regions, ranging from 0 ° of 45 ° of the first areas < < in each region,
90 ° of 45 °≤second area <, 135 ° of 90 °≤third region <, 180 ° of 135 °≤the fourth region <, the 180 °≤the 5th region <
225 °, the 225 °≤the 6th 270 ° of region <, 315 ° of 270 °≤District 7 domain <, 360 ° of 315 °≤Section Eight domain <, the 9th region
It is 360 °;
It is drawn directly with direction counterclockwise successively anti-aliasing in the second area, the fourth region, the 6th region and Section Eight domain
Line;
It is drawn directly with clockwise direction successively anti-aliasing in the first area, third region, the 5th region and District 7 domain
Line;
Further, the region where the straight line that need to each paint is determined according to the second feature information, is passed through
Bresenham draws the coordinate that circle algorithm obtains each point on upper 1/8 circular arc of circle, if the straight line that need to be painted is in first area
When, directly paint to the straight line that need to be painted;
If the straight line that need to be painted is in multiple regions, according to eight points of round symmetry, circle algorithm is drawn by bresenham
It obtains corresponding point on circular arc, paints to the straight line that need to be painted;
The second feature information includes:Real-time electricity, real-time signal strength, buffer status,
Further, it integrally paints to the straight line of selection, the straight line of selection is carried out according to the second feature information
Adjustment;
If choosing dry criticality straight line in the straight line according to the second feature information, the critical straight line is colored state
When, the sector special efficacy is the first color state, and when the critical straight line is uncolored state, the sector special efficacy is the second face
Color state.
Further, third feature information is obtained, the straight line is locked, part colouring, root are carried out to the straight line of locking
The colouring ratio of the straight line locked to every according to the second feature information is adjusted, and the third feature information is arc
Degree or arc length;
Being chosen in the straight line locked at every according to the second feature information several has the critical point, the critical point to be
When color state, the sector special efficacy is third color state, and when the critical point is uncolored state, the sector special efficacy is the
Four color states.
The beneficial effects of the present invention are:The function that DVB set-top box interfaces support fan-shaped special efficacy is realized, improves user's
Visual experience and human-computer interaction effect.
Description of the drawings
Fig. 1 is the method flow schematic diagram that DVB set-top box interfaces of the present invention support fan-shaped special efficacy.
Fig. 2 is each region setting-out sequential schematic of the present invention.
Specific implementation mode
In order to make those skilled in the art more fully understand technical scheme of the present invention, with reference to specific embodiment to this
Invention is described in further detail.It note that the embodiments described below is exemplary, be only used for explaining the present invention, and
It is not considered as limiting the invention.Particular technique or condition are not specified in embodiment, according to document institute in the art
The technology or condition of description are carried out according to product description.Reagents or instruments used without specified manufacturer, being can
With conventional products that are commercially available.
According to an aspect of the present invention, the present invention provides the method that DVB set-top box interfaces support fan-shaped special efficacy, Fig. 1
The method flow schematic diagram of fan-shaped special efficacy is supported for DVB set-top box interfaces of the present invention, it is shown as shown in Figure 1, including:
S1 obtains fisrt feature information, is drawn and is justified by bresenham algorithms according to the fisrt feature information, and the circle is straight line
Intersection;
Specifically, the fisrt feature information includes:The center of circle and radius establish reference axis, and root by origin of the center of circle
The coordinate that circle algorithm obtains each point on the circle of 1/8 arc is drawn in the vertex that circle is determined according to the radius by bresenham;
Further, according to eight points of round symmetry, the circle is divided into nine regions, ranging from 0 ° of firstth area < in each region
45 ° of domain <, 90 ° of 45 °≤second area <, 135 ° of 90 °≤third region <, 180 ° of 135 °≤the fourth region <, 180 °≤the
Five 225 ° of region <, the 225 °≤the 6th 270 ° of region <, 315 ° of 270 °≤District 7 domain <, 360 ° of 315 °≤Section Eight domain <,
9th region is 360 °;
Fig. 2 is each region setting-out sequential schematic of the present invention, as shown in Fig. 2, the second area, the fourth region, the 6th region
And straight line is drawn with direction counterclockwise successively anti-aliasing in Section Eight domain;The first area, third region, the 5th region with
And straight line is drawn with clockwise direction successively anti-aliasing in District 7 domain;The purpose that straight line is drawn in anti-aliasing is to remove sawtooth.
S2 obtains dynamic second feature information, the straight line is selected according to the second feature information, to the straight line
Colouring, the fan-shaped special efficacy coloured, and in real time in interface display.
Specifically, determining the region where the straight line that need to each paint according to the second feature information, pass through
Bresenham draws the coordinate that circle algorithm obtains each point on upper 1/8 circular arc of circle, if the straight line that need to be painted is in first area
When, directly paint to the straight line that need to be painted;
If the straight line that need to be painted is in multiple regions, according to eight points of round symmetry, circle algorithm is drawn by bresenham
It obtains corresponding point on circular arc, paints to the straight line that need to be painted;For example, if radian is 47 ° of sector, according to round
Known to eight points of symmetry 47 ° -45 ° it is symmetrical with 43 ° of -45 ° of circular arcs, you can by justifying algorithm and seeking 1/8 circular arc being drawn by bresenham
When, 47 ° of arc points are acquired by calculating accordingly when determining radian and being 43 °, other radians are also similarly.
The second feature information includes but not limited to:Real-time electricity, real-time signal strength, buffer status.
According to some embodiments of the present invention, include to the mode of straight line colouring:It integrally paints to the straight line of selection,
The straight line of selection is adjusted according to the second feature information;According to the second feature information in the straight line
If choosing dry criticality straight line, when the critical straight line is colored state, the sector special efficacy is the first color state, described critical
When straight line is uncolored state, the sector special efficacy is the second color state.
Other embodiments according to the present invention, the colouring mode to straight line further include:Obtain third feature information, locking
The straight line carries out part colouring to the straight line of locking, is locked to every according to the second feature information described straight
The colouring ratio of line is adjusted, and the third feature information is radian or arc length;According to the second feature information at every
Chosen in the straight line of locking it is several have a critical point, when the critical point is colored state, the sector special efficacy is third face
Color state, when the critical point is uncolored state, the sector special efficacy is the 4th color state.
According to another aspect of the present invention, the present invention provides a kind of DVB set-top boxes, have readable storage medium storing program for executing, described
Readable storage medium storing program for executing has program stored therein, which is characterized in that described program executes following steps:
Fisrt feature information is obtained, is drawn and is justified by bresenham algorithms according to the fisrt feature information, the circle is straight line
Intersection;
Specifically, the fisrt feature information includes:The center of circle and radius establish reference axis, and root by origin of the center of circle
The coordinate that circle algorithm obtains the upper each point of circle is drawn in the vertex that circle is determined according to the radius by bresenham;
Further, according to eight points of round symmetry, the circle is divided into nine regions, ranging from 0 ° of firstth area < in each region
45 ° of domain <, 90 ° of 45 °≤second area <, 135 ° of 90 °≤third region <, 180 ° of 135 °≤the fourth region <, 180 °≤the
Five 225 ° of region <, the 225 °≤the 6th 270 ° of region <, 315 ° of 270 °≤District 7 domain <, 360 ° of 315 °≤Section Eight domain <,
9th region is 360 °;
Fig. 2 is each region setting-out sequential schematic of the present invention, as shown in Fig. 2, the second area, the fourth region, the 6th region
And straight line is drawn with direction counterclockwise successively anti-aliasing in Section Eight domain;
It is drawn directly with clockwise direction successively anti-aliasing in the first area, third region, the 5th region and District 7 domain
Line;The purpose that straight line is drawn in anti-aliasing is to remove sawtooth.
Dynamic second feature information is obtained, the straight line is selected according to the second feature information, on the straight line
Color, the fan-shaped special efficacy coloured, and in real time in interface display.
Specifically, determining the region where the straight line that need to each paint according to the second feature information, pass through
Bresenham draws the coordinate that circle algorithm obtains each point on upper 1/8 circular arc of circle, if the straight line that need to be painted is in first area
When, directly paint to the straight line that need to be painted;
If the straight line that need to be painted is in multiple regions, according to eight points of round symmetry, circle algorithm is drawn by bresenham
It obtains corresponding point on circular arc, paints to the straight line that need to be painted;For example, if radian is 47 ° of sector, according to round
Known to eight points of symmetry 47 ° -45 ° it is symmetrical with 43 ° of -45 ° of circular arcs, you can by justifying algorithm and seeking 1/8 circular arc being drawn by bresenham
When, 47 ° of arc points are acquired by calculating accordingly when determining radian and being 43 °, other radians are also similarly.
The second feature information includes but not limited to:Real-time electricity, real-time signal strength, buffer status.
According to some embodiments of the present invention, include to the mode of straight line colouring:It integrally paints to the straight line of selection,
The straight line of selection is adjusted according to the second feature information;According to the second feature information in the straight line
If choosing dry criticality straight line, when the critical straight line is colored state, the sector special efficacy is the first color state, described critical
When straight line is uncolored state, the sector special efficacy is the second color state.
Other embodiments according to the present invention, the colouring mode to straight line further include:Obtain third feature information, locking
The straight line carries out part colouring to the straight line of locking, is locked to every according to the second feature information described straight
The colouring ratio of line is adjusted, and the third feature information is radian or arc length;According to the second feature information at every
Chosen in the straight line of locking it is several have a critical point, when the critical point is colored state, the sector special efficacy is third face
Color state, when the critical point is uncolored state, the sector special efficacy is the 4th color state.
The present invention carries out further investigation extension by drawing eight points of symmetry of circle algorithm and circle to bresenham in summary
It obtains and seeks the seat calibration method for corresponding to arc point in sector;By point and the center of circle on fan-shaped circular arc draw in different directions straight line from
And realize the effect of picture sector.Realize the function that DVB set-top box interfaces support fan-shaped special efficacy, improve user visual experience and
Human-computer interaction effect.
In the description of the present invention, it is to be understood that, term " first ", " second " are used for description purposes only, and cannot
It is interpreted as indicating or implies relative importance or implicitly indicate the quantity of indicated technical characteristic.Define as a result, " the
One ", the feature of " second " can explicitly or implicitly include one or more this feature.
In the present invention unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation " etc.
Term shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integral;Can be that machinery connects
It connects, can also be electrical connection;It can be directly connected, can also can be indirectly connected through an intermediary in two elements
The interaction relationship of the connection in portion or two elements.It for the ordinary skill in the art, can be according to specific feelings
Condition understands the concrete meaning of above-mentioned term in the present invention.
In the present invention unless specifically defined or limited otherwise, fisrt feature can be with "above" or "below" second feature
It is that the first and second features are in direct contact or the first and second features pass through intermediary mediate contact.Moreover, fisrt feature exists
Second feature " on ", " top " and " above " but fisrt feature be directly above or diagonally above the second feature, or be merely representative of
Fisrt feature level height is higher than second feature.Fisrt feature second feature " under ", " lower section " and " below " can be
One feature is directly under or diagonally below the second feature, or is merely representative of fisrt feature level height and is less than second feature.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
It can be combined in any suitable manner in a or multiple embodiments or example.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, changes, replacing and modification, meanwhile, for those of ordinary skill in the art, the think of according to the application
Think, there will be changes in the specific implementation manner and application range.
Claims (10)
1. a kind of method that DVB set-top box interfaces support fan-shaped special efficacy, which is characterized in that including:
Fisrt feature information is obtained, is drawn and is justified by bresenham algorithms according to the fisrt feature information, the circle is straight line
Intersection;
Dynamic second feature information is obtained, the straight line is selected according to the second feature information, paints, obtains to the straight line
To the fan-shaped special efficacy of coloring, and in real time in interface display.
2. according to the method described in claim 1, it is characterized in that, the fisrt feature information includes:The center of circle and radius, with institute
It is that origin establishes reference axis, and the vertex of circle is determined according to the radius to state the center of circle, and drawing circle algorithm by bresenham obtains circle
The coordinate of each point of upper 1/8 arc;
According to eight points of round symmetry, the circle is divided into nine regions, ranging from 0 ° of 45 ° of the first areas < < in each region,
90 ° of 45 °≤second area <, 135 ° of 90 °≤third region <, 180 ° of 135 °≤the fourth region <, the 180 °≤the 5th region <
225 °, the 225 °≤the 6th 270 ° of region <, 315 ° of 270 °≤District 7 domain <, 360 ° of 315 °≤Section Eight domain <, the 9th region
It is 360 °;
It is drawn directly with direction counterclockwise successively anti-aliasing in the second area, the fourth region, the 6th region and Section Eight domain
Line;
It is drawn directly with clockwise direction successively anti-aliasing in the first area, third region, the 5th region and District 7 domain
Line.
3. according to the method described in claim 2, it is characterized in that, being determined according to the second feature information need to each paint
The coordinate that circle algorithm obtains each point on upper 1/8 circular arc of circle is drawn, if needing to paint in region where the straight line by bresenham
The straight line in first area when, directly paint to the straight line that need to be painted;
If the straight line that need to be painted is in multiple regions, according to eight points of round symmetry, circle algorithm is drawn by bresenham
It obtains corresponding point on circular arc, paints to the straight line that need to be painted;
The second feature information includes:Real-time electricity, real-time signal strength, buffer status.
4. according to the method described in claim 1, it is characterized in that, the straight line to selection is integrally painted, according to described
Two characteristic informations are adjusted the straight line of selection;
If choosing dry criticality straight line in the straight line according to the second feature information, the critical straight line is colored state
When, the sector special efficacy is the first color state, and when the critical straight line is uncolored state, the sector special efficacy is the second face
Color state.
5. according to the method described in claim 1, it is characterized in that, acquisition third feature information, locks the straight line, to locking
The straight line carry out part colouring, according to the second feature information to every lock the straight line colouring ratio carry out
Adjustment, the third feature information are radian or arc length;
Being chosen in the straight line locked at every according to the second feature information several has the critical point, the critical point to be
When color state, the sector special efficacy is third color state, and when the critical point is uncolored state, the sector special efficacy is the
Four color states.
6. a kind of DVB set-top boxes there is readable storage medium storing program for executing, the readable storage medium storing program for executing to have program stored therein, which is characterized in that institute
It states program and executes following steps:
Fisrt feature information is obtained, is drawn and is justified by bresenham algorithms according to the fisrt feature information, the circle is straight line
Intersection;
Dynamic second feature information is obtained, the straight line is selected according to the second feature information, paints, obtains to the straight line
To the fan-shaped special efficacy of coloring, and in real time in interface display.
7. set-top box according to claim 6, which is characterized in that the fisrt feature information includes:The center of circle and radius, with
The center of circle is that origin establishes reference axis, and the vertex of circle is determined according to the radius, and drawing circle algorithm by bresenham obtains
The coordinate of each point on circle;
According to eight points of round symmetry, the circle is divided into nine regions, ranging from 0 ° of 45 ° of the first areas < < in each region,
90 ° of 45 °≤second area <, 135 ° of 90 °≤third region <, 180 ° of 135 °≤the fourth region <, the 180 °≤the 5th region <
225 °, the 225 °≤the 6th 270 ° of region <, 315 ° of 270 °≤District 7 domain <, 360 ° of 315 °≤Section Eight domain <, the 9th region
It is 360 °;
It is drawn directly with direction counterclockwise successively anti-aliasing in the second area, the fourth region, the 6th region and Section Eight domain
Line;
It is drawn directly with clockwise direction successively anti-aliasing in the first area, third region, the 5th region and District 7 domain
Line.
8. set-top box according to claim 7, which is characterized in that being determined according to the second feature information each needs to paint
The straight line where region, the coordinate that circle algorithm obtains each point on upper 1/8 circular arc of circle is drawn by bresenham, if need on
When the straight line of color is in first area, directly paint to the straight line that need to be painted;
If the straight line that need to be painted is in multiple regions, according to eight points of round symmetry, circle algorithm is drawn by bresenham
It obtains corresponding point on circular arc, paints to the straight line that need to be painted;
The second feature information includes:Real-time electricity, real-time signal strength, buffer status.
9. set-top box according to claim 6, which is characterized in that integrally paint to the straight line of selection, according to described
Second feature information is adjusted the straight line of selection;
If choosing dry criticality straight line in the straight line according to the second feature information, the critical straight line is colored state
When, the sector special efficacy is the first color state, and when the critical straight line is uncolored state, the sector special efficacy is the second face
Color state.
10. set-top box according to claim 6, which is characterized in that third feature information is obtained, the straight line is locked, it is right
The straight line of locking carries out part colouring, according to the colouring ratio for the straight line that the second feature information locks every
It is adjusted, the third feature information is radian or arc length;
Being chosen in the straight line locked at every according to the second feature information several has the critical point, the critical point to be
When color state, the sector special efficacy is third color state, and when the critical point is uncolored state, the sector special efficacy is the
Four color states.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810271785.4A CN108574869B (en) | 2018-03-29 | 2018-03-29 | Method for supporting fan-shaped special effect on DVB set top box interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810271785.4A CN108574869B (en) | 2018-03-29 | 2018-03-29 | Method for supporting fan-shaped special effect on DVB set top box interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108574869A true CN108574869A (en) | 2018-09-25 |
CN108574869B CN108574869B (en) | 2021-03-16 |
Family
ID=63573982
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810271785.4A Active CN108574869B (en) | 2018-03-29 | 2018-03-29 | Method for supporting fan-shaped special effect on DVB set top box interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108574869B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04143874A (en) * | 1990-10-04 | 1992-05-18 | Oki Farm Wear Syst:Kk | Device for generating arc at high speed |
JPH0589249A (en) * | 1991-09-27 | 1993-04-09 | Nec Home Electron Ltd | Sector generating device |
US20030206168A1 (en) * | 2002-04-24 | 2003-11-06 | Keith Kejser | Method and apparatus for filling an image on a display screen |
CN105069349A (en) * | 2015-07-24 | 2015-11-18 | 北京元心科技有限公司 | Method for generating password input interface in mobile terminal and mobile terminal |
CN106843739A (en) * | 2017-02-28 | 2017-06-13 | 维沃移动通信有限公司 | The display control method and mobile terminal of a kind of mobile terminal |
-
2018
- 2018-03-29 CN CN201810271785.4A patent/CN108574869B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04143874A (en) * | 1990-10-04 | 1992-05-18 | Oki Farm Wear Syst:Kk | Device for generating arc at high speed |
JPH0589249A (en) * | 1991-09-27 | 1993-04-09 | Nec Home Electron Ltd | Sector generating device |
US20030206168A1 (en) * | 2002-04-24 | 2003-11-06 | Keith Kejser | Method and apparatus for filling an image on a display screen |
CN105069349A (en) * | 2015-07-24 | 2015-11-18 | 北京元心科技有限公司 | Method for generating password input interface in mobile terminal and mobile terminal |
CN106843739A (en) * | 2017-02-28 | 2017-06-13 | 维沃移动通信有限公司 | The display control method and mobile terminal of a kind of mobile terminal |
Non-Patent Citations (1)
Title |
---|
王志喜等: "Bresenham 画圆算法的改进", 《计算机工程》 * |
Also Published As
Publication number | Publication date |
---|---|
CN108574869B (en) | 2021-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105701759B (en) | Map vector line feature turning reasonability method for drafting based on GPU | |
CN101989178B (en) | Three-dimensional ring visualization method of multi-branch tree data structure | |
CN106599217B (en) | Road conditions display methods and device | |
Jelínek et al. | The planar slope number of planar partial 3-trees of bounded degree | |
CN102999880A (en) | GPU-based (graphics processing unit-based) real-time drawing method and device for power WebGIS (web geographic information system) vector | |
CN110187314A (en) | Radar primary information display methods and system | |
CN109658325A (en) | A kind of three-dimensional animation rendering method and device | |
CN108574869A (en) | A kind of method that DVB set-top box interfaces support fan-shaped special efficacy | |
US6034694A (en) | Method and apparatus for pixel composition | |
CN107831472A (en) | A kind of method of PPI display pixels mapping echo information | |
CN104008122A (en) | Dynamic multi-stage pie chart display method of layering data | |
US6340981B1 (en) | Method and apparatus for stroke substitution | |
Di Battista et al. | Small area drawings of outerplanar graphs | |
US20070103490A1 (en) | Automatic element substitution in vector-based illustrations | |
CN109087391A (en) | Drawing method is marked by a kind of army under three-dimensional scenic | |
Hooper | A note on some internal structures of the Mandelbrot set | |
CN106156471A (en) | A kind of multi-level flow field visualization method | |
GB2272127A (en) | Pattern generation using wipe solid generation | |
AU776911B2 (en) | Refinement of transmitted polygonal mesh data | |
CN111260745A (en) | Optimal transmission theory-based simultaneous sampling and binding method | |
Luo et al. | Cluster visualization in parallel coordinates using curve bundles | |
CN102819997B (en) | Display method and device for displaying acceleration | |
CN109146766A (en) | Object selection method and device | |
CN112802181A (en) | Large-scale three-dimensional river channel scene reconstruction method based on low-detail elevation data | |
Ri et al. | Analytic properties of hidden variable recurrent fractal interpolation function with function contractivity factors |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A method of supporting fan-shaped special effects on DVB set-top box interface Effective date of registration: 20210923 Granted publication date: 20210316 Pledgee: Zhuhai Branch of China Construction Bank Co.,Ltd. Pledgor: ZHUHAI GOTECH INTELLIGENT TECHNOLOGY Co.,Ltd. Registration number: Y2021980009757 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |