CN103543912B - The method and apparatus that a kind of icon triangular pitch shows - Google Patents
The method and apparatus that a kind of icon triangular pitch shows Download PDFInfo
- Publication number
- CN103543912B CN103543912B CN201310499774.9A CN201310499774A CN103543912B CN 103543912 B CN103543912 B CN 103543912B CN 201310499774 A CN201310499774 A CN 201310499774A CN 103543912 B CN103543912 B CN 103543912B
- Authority
- CN
- China
- Prior art keywords
- icon
- coordinate
- hypotenuse
- base
- triangle
- 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.)
- Expired - Fee Related
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses the method and apparatus that a kind of icon triangular pitch shows, its method includes: pre-sets the icon of multiple application, and provides the icon of each described icon to read interface;Pre-set icon triangular pitch template, and described icon triangular pitch template is provided realize interface, described icon triangular pitch template-setup has icon triangular pitch coordinate algorithm, makes the coordinate position arrangement triangular in shape in viewing area of multiple described icon;Realize interface by call described icon triangular pitch template, perform described icon triangular pitch coordinate algorithm and calculate the coordinate of each described icon in described viewing area, it is achieved described icon triangular pitch template;Read interface by calling icon, the icon read is shown the position of the coordinate of each described icon calculated at described icon triangular pitch coordinate algorithm.Methods and apparatus of the present invention solves the problem that in prior art, icon arrangement mode is single.
Description
Technical field
The present invention relates to field of computer technology, be specifically related to the method and apparatus that a kind of icon triangular pitch shows.
Background technology
Icon is applied to computer software aspect, including: program identification, Data Identification, command selection, mode signal or cut
Change switch, state instruction etc..One icon is a little picture or object, represents a file, program, webpage or order.
Icon contributes to user and quickly performs order and open program file.Click or double-click icon to perform an order.Icon is also
For the most quickly representing content.
Icon icon is a kind of iconic format, and for system icon, software icon etc., this icon extends entitled *
.icon、*.ico.Icon on common software or windows desktop is typically all ICON form.
When prior art shows for icon, set the display position of icon often, by icon
Showing in default position, the most rectangular netted arrangement of icon shows, causes icon display arrangement mode list
The problem of one.
Summary of the invention
In view of the above problems, it is proposed that the present invention in case provide one overcome the problems referred to above or at least in part solve on
State method that a kind of icon triangular pitch of problem shows and the device that corresponding a kind of icon triangular pitch shows.
According to an aspect of the invention, it is provided a kind of method that icon triangular pitch shows, comprising:
Pre-set the icon of multiple application, and provide the icon of each icon to read interface;
Pre-set icon triangular pitch template, and the interface that realizes of icon triangular pitch template, icon three are provided
Dihedral arrangement template-setup has icon triangular pitch coordinate algorithm, and making multiple icon coordinate position in viewing area is three
Dihedral is arranged;
By calling the interface that realizes of icon triangular pitch template, perform icon triangular pitch coordinate algorithm and calculate
Draw the coordinate of each icon in viewing area, it is achieved icon triangular pitch template;
Read interface by calling icon, the icon read is shown and calculates at icon triangular pitch coordinate algorithm
The position of the coordinate of each icon gone out.
According to a further aspect in the invention, it is provided that the device that a kind of icon triangular pitch shows, comprising:
Icon interface module, for pre-setting the icon of multiple application, and provides the icon of each icon to read interface;
Template interface module, is used for pre-setting icon triangular pitch template, and provides icon triangular pitch template
Realize interface, icon triangular pitch template-setup has icon triangular pitch coordinate algorithm, makes multiple icon in viewing area
Coordinate position arrangement triangular in shape in territory;
Template realizes module, for the interface that realizes by calling icon triangular pitch template, performs icon triangle
Arrangement coordinate algorithm also calculates the coordinate of each icon in viewing area, it is achieved icon triangular pitch template;
Icon display module, for by calling icon reading interface, showing the icon read at icon triangle
The position of the coordinate of each icon that arrangement coordinate algorithm calculates.
The method and apparatus that icon triangular pitch according to the present invention shows, can make icon arrangement triangular in shape carry out
Display, thus solving icon arrangement mode in prior art is that the netted icon arrangement display mode caused of rectangle is single
Problem, achieves and according to number of icons, icon can be carried out the beneficial effect that triangular pitch shows.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, the feature and advantage can
Become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred embodiment, various other advantage and benefit common for this area
Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred embodiment, and is not considered as the present invention
Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 shows the method flow diagram that the icon triangular pitch of according to embodiments of the present invention shows;
Fig. 2 shows the method flow diagram that the icon triangular pitch of according to embodiments of the present invention two shows;
Fig. 3 shows the triangular structure figure of according to embodiments of the present invention two;
Fig. 4 shows the structure drawing of device that the icon triangular pitch of according to embodiments of the present invention three shows;
Fig. 5 shows the structure drawing of device that the icon triangular pitch of according to embodiments of the present invention four shows.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows the disclosure
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should be by embodiments set forth here
Limited.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
First embodiment of the invention provides a kind of method that icon triangular pitch shows, Fig. 1 shows according to this
The method flow diagram that the icon triangular pitch of inventive embodiments one shows, as it is shown in figure 1, comprising:
Step S101, pre-set the icon of multiple application, and provide the icon of each icon to read interface;
Icon includes Android system application icon, iOS system (Apple Macintosh operating system) application icon, WindowsPhone system
System (Microsoft's mobile phone operating system) application icon, Windows system (Microsoft's computer operating system) application icon etc. can be
In operating system, the application icon of display, is chosen as the icon of ICON form;
Icon reads interface and includes:
Display initialization interface initView, for initializing parameter, the layout of icon display environment;
Icon initialization interface initIcons, for initializing icon itself;
Icon sets up interface creatIcons, is used for reading topology file, application message and icon is bound;
Operation triggers interface touch, for triggering the corresponding actions of icon according to the operation of user, makes user according to display
The icon that device shows, carries out selection and applies, opens application, checks the operations such as application;
Cloth station interface onLayout, for holding according to icon width, icon height, wide high proportion, picture scaling, father
The information such as device width, father's container height carry out display layout to icon;
Icon display interface AppWallCellLayout, for by icon according to the coordinate position of icon in operating system
Desktop show;
Icon arranges interface Setting, for arranging the parameter that editor's icon shows.
Icon reads interface by calling above-mentioned interface and icon parameter, image data, coordinates of icon, icon index value
Etc. information, icon is shown at coordinate position determined by icon triangular pitch template;
Step S102, pre-set icon triangular pitch template, and provide the realization of icon triangular pitch template to connect
Mouthful, icon triangular pitch template-setup has icon triangular pitch coordinate algorithm, makes multiple icon seat in viewing area
Cursor position arrangement triangular in shape;
Triangle includes the triangle of isosceles triangle, equilateral triangle, right angled triangle and other forms;Triangle
Arrangement template makes position coordinates be all located on each bar limit of triangle;
Step S103, by calling the interface that realizes of icon triangular pitch template, perform icon triangular pitch coordinate
Algorithm also calculates the coordinate of each icon in viewing area, it is achieved icon triangular pitch template;
Step S104, by call icon read interface, the icon read is shown at icon triangular pitch coordinate
The position of the coordinate of each icon that algorithm calculates.
The method that the icon triangular pitch of shows according to embodiments of the present invention, can make icon triangular in shape arrange into
Row display, thus solving icon arrangement mode in prior art is that the netted icon arrangement display mode caused of rectangle is single
Problem, achieve and according to number of icons, icon can be carried out the beneficial effect that triangular pitch shows.
Second embodiment of the invention provides a kind of method that icon triangular pitch shows, Fig. 2 shows according to this
The method flow diagram that the icon triangular pitch of inventive embodiments two shows, as in figure 2 it is shown, comprising:
Step S201, pre-set the icon of multiple application, and provide the icon of each icon to read interface.
Step S202, pre-set icon triangular pitch template, and provide the realization of icon triangular pitch template to connect
Mouthful, icon triangular pitch template-setup has icon triangular pitch coordinate algorithm, makes multiple icon seat in viewing area
Cursor position arrangement triangular in shape.
Wherein, Fig. 3 shows the triangular structure figure of according to embodiments of the present invention two, as it is shown on figure 3, in triangular pitch
Triangle include summit 901, left summit 902, right summit the 903, first hypotenuse the 904, second hypotenuse 905, base 906 and the end
Height on limit;In step S202, icon triangular pitch coordinate algorithm may include that
Step S211, setting up coordinate system, the axis of abscissas of coordinate system is parallel with base, the axis of ordinates of coordinate system and base
On height parallel, triangle is positioned at the Nei Qieshang summit, range areas of coordinate system, left summit, the coordinate value on right summit are definite value;
Specifically, axis of abscissas passes upper summit, axis of ordinates through left summit.Due to upper summit, left summit, right summit
Coordinate value be definite value, the first hypotenuse, the second hypotenuse, the length of side on base can be tried to achieve according to Pythagorean theorem;
Step S212, obtaining quantity N of icon to be shown, N is positive integer and N >=3;
The quantity of icon to be shown can obtain in the following way: user's input or terminal device are automatically to viewing area
In territory, the icon of display counts;
Step S213, according to the high length on base, the first hypotenuse and the length of the second hypotenuse, base and to be shown
The quantity of icon, calculates the coordinate of each icon to be shown;Wherein, the coordinate value of three icons in icon to be shown is respectively etc.
In the upper summit of triangle, left summit, the coordinate value on right summit;
Three summits that three icons are positioned over triangle are not only convenient to calculate, and are also easier to make the wheel of icon arrangement
Wide as triangle.
When number of icons to be shown is four, triangle is equilateral triangle, and an icon to be shown is positioned at equilateral three
The center of dihedral;
Three icons additionally are positioned at each apex of equilateral triangle, are convenient to calculate;
When number of icons to be shown is five, triangle is equilateral triangle, and an icon to be shown is positioned at equilateral three
The center of dihedral and icon to be shown are positioned at the midpoint on the base of equilateral triangle;
Three icons additionally are positioned at each apex of equilateral triangle, are convenient to calculate;
Wherein, the coordinate (X of the center of equilateral triangle is calculated according to equation below (6)i, Yi):
Wherein, H represents the high length on base, LdRepresent the length of side of equilateral triangle.
When number of icons N=3+3m to be shown, m is positive integer and m >=1, except each apex in each edge of triangle
Respectively having m icon to be shown, three icons additionally are positioned at each apex of equilateral triangle;Step S213 specifically includes:
Step S221, calculate on base except the coordinate of icon to be shown of each apex according to equation below (1)
(Xi, Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction from the upper summit of triangle;LdRepresent the limit on base
Long, H represents the high length on base;
Step S222, calculate on the first hypotenuse except the seat of icon to be shown of each apex according to equation below (2)
Mark (Xi, Yi):
Wherein, LaRepresent the length of the first hypotenuse;
Step S223, calculate on the second hypotenuse except the seat of icon to be shown of each apex according to equation below (3)
Mark (Xi, Yi):
Wherein, LbRepresent the length of the second hypotenuse.
For step S221 to step S223, targeted triangle had both included the triangle that each limit is not mutually equal, had also wrapped
Include equilateral triangle, isosceles triangle, right angled triangle;
It is introduced below by several concrete examples:
Example one, the triangle that each limit is not mutually equal, as m=1, during number of icons N=6 the most to be shown, icon suitable
Sequence in a counterclockwise direction from the beginning of the upper summit of triangle, the 1st icon (i=1), the 3rd icon (i=3) and the 5th icon (i=
5) coordinate lays respectively at the upper summit of triangle, left summit and right summit, and the coordinate of the 2nd icon (i=2) is asked by formula (2)
Must be The coordinate of the 4th icon (i=4) according to formula (1) try to achieve into6th
The coordinate of individual icon (i=6) according to formula (3) try to achieve into
Example two, the triangle that each limit is not mutually equal, as m=2, during number of icons N=9 the most to be shown, the order of icon
In a counterclockwise direction from the beginning of the upper summit of triangle, the 1st icon (i=1), the 4th icon (i=4) and the 7th icon (i=7)
Coordinate lays respectively at the upper summit of triangle, left summit and right summit, and the coordinate of the 2nd icon (i=2) and the 3rd icon (i=3) leads to
Cross formula (2) try to achieve intoWith5th icon (i=5) and the 6th figure
Mark (i=6) coordinate according to formula (1) try to achieve intoWith8th icon (i=8) and the 9th figure
Mark (i=9) coordinate according to formula (3) try to achieve into With
When number of icons N=3+3m+1 to be shown, m is positive integer and m >=1, and triangle is equilateral triangle, equilateral three
Except each apex, respectively there is m icon to be shown in each edge of dihedral;Step S213 specifically includes:
Step S231, calculate on base except the coordinate of icon to be shown of each apex according to equation below (1)
(Xi, Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction from the upper summit of triangle, and wherein last is treated
Display icon is positioned at the center of equilateral triangle;LdRepresenting the length of side on base, H represents the high length on base;
Step S232, calculate on the first hypotenuse except the seat of icon to be shown of each apex according to equation below (4)
Mark (Xi, Yi):
Step S233, calculate on the second hypotenuse except the seat of icon to be shown of each apex according to equation below (5)
Mark (Xi, Yi):
Step S234, calculate the coordinate (X of last icon to be shown according to equation below (6)i, Yi):
For step S231 to step S234, targeted triangle is equilateral triangle, can be by last icon
It is positioned over the center of equilateral triangle;
It is introduced below by several concrete examples:
Example three, for equilateral triangle, as m=1, during number of icons N=7 the most to be shown, the order of icon is with the inverse time
Pin direction from the beginning of the upper summit of triangle, the 1st icon (i=1), the 3rd icon (i=3) and the seat of the 5th icon (i=5)
Mark lay respectively at the upper summit of triangle, left summit and right summit, the coordinate of the 2nd icon (i=2) by formula (4) try to achieve intoThe coordinate of the 4th icon (i=4) according to formula (1) try to achieve into6th icon
(i=6) coordinate according to formula (5) try to achieve intoThe coordinate of the 7th icon (i=7) is according to formula
(6) try to achieve into
Example four, for equilateral triangle, as m=2, during number of icons N=10 the most to be shown, the order of icon is with the inverse time
Pin direction from the beginning of the upper summit of triangle, the 1st icon (i=1), the 4th icon (i=4) and the seat of the 7th icon (i=7)
Mark lays respectively at the upper summit of triangle, left summit and right summit, the 2nd icon (i=2) and the coordinate of the 3rd icon (i=3)
By formula (4) try to achieve intoWith5th icon (i=5) and the 6th icon (i=
6) coordinate according to formula (1) try to achieve intoWith8th icon (i=8) and the 9th icon
(i=9) coordinate according to formula (5) try to achieve intoWith 10th icon
(i=10) coordinate according to formula (6) try to achieve into
When number of icons N=3+3m+2 to be shown, m is positive integer and m >=1, and triangle is equilateral triangle, equilateral three
There is m+1 icon to be shown, on the first hypotenuse of equilateral triangle and the second hypotenuse except each apex on the base of dihedral
Except each apex respectively has m icon to be shown;Step S213 may include that
Step S241, calculate on base except the coordinate of icon to be shown of each apex according to equation below (7)
(Xi, Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction from the upper summit of triangle, and wherein last is treated
Display icon is positioned at the center of equilateral triangle;LdRepresenting the length of side on base, H represents the high length on base;
Step S242, calculate on the first hypotenuse except the seat of icon to be shown of each apex according to equation below (4)
Mark (Xi, Yi):
Step S243, calculate on the second hypotenuse except the seat of icon to be shown of each apex according to equation below (8)
Mark (Xi, Yi):
Step S244, calculate the coordinate (X of last icon to be shown according to equation below (6)i, Yi):
For step S241 to step S244, targeted triangle is equilateral triangle, can be by last icon
Being positioned over the center of equilateral triangle, the unnecessary icon of another one is positioned over base;
It is introduced below by several concrete examples:
Example five, for equilateral triangle, as m=1, during number of icons N=8 the most to be shown, the order of icon is with the inverse time
Pin direction from the beginning of the upper summit of triangle, the 1st icon (i=1), the 3rd icon (i=3) and the seat of the 6th icon (i=6)
Mark lay respectively at the upper summit of triangle, left summit and right summit, the coordinate of the 2nd icon (i=2) by formula (4) try to achieve intoThe coordinate of the 4th icon (i=4) and the 5th icon (i=5) according to formula (7) try to achieve into WithThe coordinate of the 7th icon (i=7) according to formula (8) try to achieve into 8th
The coordinate of individual icon (i=8) according to formula (6) try to achieve into
Example six, for equilateral triangle, as m=2, during number of icons N=11 the most to be shown, the order of icon is with the inverse time
Pin direction from the beginning of the upper summit of triangle, the 1st icon (i=1), the 4th icon (i=4) and the seat of the 8th icon (i=8)
Mark lays respectively at the upper summit of triangle, left summit and right summit, the 2nd icon (i=2) and the coordinate of the 3rd icon (i=3)
By formula (4) try to achieve intoWith5th icon (i=5), the 6th icon (i=
6) coordinate of the and 7th icon (i=7) according to formula (7) try to achieve into WithThe coordinate of the 9th icon (i=9) and the 10th icon (i=10) according to formula (8) try to achieve intoWithThe coordinate of the 11st icon (i=11) is asked according to formula (6)
Must be
By the method for embodiment two, no matter the quantity of icon to be shown is how many, can be carried out the triangle of icon
Arrangement display, unnecessary icon can be positioned over the base of triangle center or triangle.
Step S203, by calling the interface that realizes of icon triangular pitch template, perform icon triangular pitch coordinate
Algorithm also calculates the coordinate of each icon in viewing area, it is achieved icon triangular pitch template;
Realize interface by call icon triangular pitch template, perform above-mentioned icon triangular pitch coordinate algorithm,
The coordinate needed for icon triangular pitch can be obtained.
Step S204, by call icon read interface, the icon read is shown at icon triangular pitch coordinate
The position of the coordinate of each icon that algorithm calculates.
Wherein, the step of step S204 includes:
Step S251, according to history service condition select one application icon;
Step S252, by select icon show the center at equilateral triangle.
By step S251 and S252, make user according to history service condition Quick positioning map mark.History service condition can
Elect as: the number of times that applying corresponding to icon is opened in Preset Time.
Third embodiment of the invention provides the device that a kind of icon triangular pitch shows, Fig. 4 shows according to this
The structure drawing of device that the icon triangular pitch of inventive embodiments three shows, as shown in Figure 4, comprising:
Icon interface module 100, for pre-setting the icon of multiple application, and provides the icon reading of each icon to connect
Mouthful;
Template interface module 200, is used for pre-setting icon triangular pitch template, and provides icon triangular pitch mould
Plate realize interface, icon triangular pitch template-setup has icon triangular pitch coordinate algorithm, make multiple icon display
Coordinate position arrangement triangular in shape in region;
Template realizes module 300, for the interface that realizes by calling icon triangular pitch template, performs icon triangle
Shape arrangement coordinate algorithm also calculates the coordinate of each icon in viewing area, it is achieved icon triangular pitch template;
Icon display module 400, for by calling icon reading interface, showing the icon read at icon triangle
The position of the coordinate of each icon that shape arrangement coordinate algorithm calculates.
The icon triangular pitch display device that 3rd embodiment of the present invention provides, is first embodiment of the invention
The method that show of icon triangular pitch provided realize device, its concrete principle and first embodiment of the invention offer
Method is identical, therefore repeats no more.
The device that the icon triangular pitch of three shows according to embodiments of the present invention, can make on the terminal device icon in
Triangular pitch shows, thus solving icon arrangement mode in prior art is the netted icon arrangement caused of rectangle
The problem that display mode is single, achieves and according to number of icons, icon can be carried out the beneficial effect that triangular pitch shows.
Inventing the 4th embodiment and provide the device that a kind of icon triangular pitch shows, Fig. 5 shows according to this
The structure drawing of device that the icon triangular pitch of bright embodiment four shows, as it is shown in figure 5, comprising:
Icon interface module 100, for pre-setting the icon of multiple application, and provides the icon reading of each icon to connect
Mouthful;
Template interface module 200, is used for pre-setting icon triangular pitch template, and provides icon triangular pitch mould
Plate realize interface, icon triangular pitch template-setup has icon triangular pitch coordinate algorithm, make multiple icon display
Coordinate position arrangement triangular in shape in region;
Template realizes module 300, for the interface that realizes by calling icon triangular pitch template, performs icon triangle
Shape arrangement coordinate algorithm also calculates the coordinate of each icon in viewing area, it is achieved icon triangular pitch template;
Icon display module 400, for by calling icon reading interface, showing the icon read at icon triangle
The position of the coordinate of each icon that shape arrangement coordinate algorithm calculates.
The device of the embodiment of the present invention four, wherein, the triangle in triangular pitch includes summit, left summit, You Ding
Height on point, the first hypotenuse, the second hypotenuse, base and base;Template interface module includes:
Coordinate sets up module 201, is used for setting up coordinate system, and the axis of abscissas of coordinate system is parallel with base, indulging of coordinate system
Reference axis is parallel with the height on base, and triangle is positioned at the Nei Qieshang summit, range areas of coordinate system, left summit, the seat on right summit
Scale value is definite value;
Number of icons acquisition module 202, for obtaining quantity N of icon to be shown, N is positive integer and N >=3;
Computing module 203, for according to the high length on base, the first hypotenuse and the length of the second hypotenuse, base
With the quantity of icon to be shown, calculate the coordinate of each icon to be shown;Wherein, the coordinate of three icons in icon to be shown
The value respectively equal to upper summit of triangle, left summit, the coordinate value on right summit.
The device of the embodiment of the present invention four, wherein, triangle is equilateral triangle;
Computing module 203 is additionally operable to:
When number of icons to be shown is four, an icon to be shown is made to be positioned at the center of equilateral triangle;
When number of icons to be shown is five, an icon to be shown is made to be positioned at the center of equilateral triangle and one
Icon to be shown is positioned at the midpoint on the base of equilateral triangle.
The device of the embodiment of the present invention four, wherein, when number of icons N=3+3m to be shown, m is positive integer and m >=1, three
Except each apex, respectively there is m icon to be shown in each edge of dihedral;
Computing module 203 specifically for:
Calculate on base except the coordinate (X of icon to be shown of each apex according to equation below (1)i, Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction, L from the upper summit of triangledRepresent the limit on base
Long, H represents the high length on base;
Calculate on the first hypotenuse except the coordinate (X of icon to be shown of each apex according to equation below (2)i, Yi):
Wherein, LaRepresent the length of the first hypotenuse;
Calculate on the second hypotenuse except the coordinate (X of icon to be shown of each apex according to equation below (3)i, Yi):
Wherein, LbRepresent the length of the second hypotenuse.
The device of the embodiment of the present invention four, wherein, when number of icons N=3+3m+1 to be shown, m is positive integer and m >=1,
Triangle is equilateral triangle, and each edge of equilateral triangle respectively has m icon to be shown except each apex;
Computing module 203 specifically for:
According to the high length on base, the first hypotenuse and the length of the second hypotenuse, base and the number of icon to be shown
Amount, the step of the coordinate calculating each icon to be shown specifically includes:
Calculate on base except the coordinate (X of icon to be shown of each apex according to equation below (1)i, Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction from the upper summit of triangle, and wherein last is treated
Display icon is positioned at the center of equilateral triangle;LdRepresenting the length of side on base, H represents the high length on base;
Calculate on the first hypotenuse except the coordinate (X of icon to be shown of each apex according to equation below (4)i, Yi):
Calculate on the second hypotenuse except the coordinate (X of icon to be shown of each apex according to equation below (5)i, Yi):
Coordinate (the X of last icon to be shown is calculated according to equation below (6)i, Yi):
The device of the embodiment of the present invention four, wherein, when number of icons N=3+3m+2 to be shown, m is positive integer and m >=1,
Triangle is equilateral triangle, and the base of equilateral triangle has m+1 icon to be shown, equilateral triangle except each apex
Except each apex, respectively there is m icon to be shown on first hypotenuse of shape and the second hypotenuse;
Computing module 203 specifically for:
According to the high length on base, the first hypotenuse and the length of the second hypotenuse, base and the number of icon to be shown
Amount, the step of the coordinate calculating each icon to be shown specifically includes:
Calculate on base except the coordinate (X of icon to be shown of each apex according to equation below (7)i, Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction from the upper summit of triangle, and wherein last is treated
Display icon is positioned at the center of equilateral triangle;LdRepresenting the length of side on base, H represents the high length on base;
Calculate on the first hypotenuse except the coordinate (X of icon to be shown of each apex according to equation below (4)i, Yi):
Calculate on the second hypotenuse except the coordinate (X of icon to be shown of each apex according to equation below (8)i, Yi):
Coordinate (the X of last icon to be shown is calculated according to equation below (6)i, Yi):
The device of the embodiment of the present invention four, wherein, icon display module 400 is additionally operable to:
The icon of an application is selected according to history service condition;
The icon selected is shown the center at equilateral triangle.
The icon triangular pitch display device that 4th embodiment of the present invention provides, is second embodiment of the invention
The method that show of icon triangular pitch provided realize device, its concrete principle and second embodiment of the invention offer
Method is identical, therefore repeats no more.
The device that the icon triangular pitch of four shows according to embodiments of the present invention, can make on the terminal device icon in
Triangular pitch shows, thus solving icon arrangement mode in prior art is the netted icon arrangement caused of rectangle
The problem that display mode is single, achieves and according to number of icons, icon can be carried out the beneficial effect that triangular pitch shows.
And by the device of embodiment four, no matter the quantity of icon to be shown is how many, can be carried out the three of icon
Triangular arrangement shows, unnecessary icon can be positioned over the base of triangle center or triangle.
Additionally, embodiment four can also make user according to history service condition Quick positioning map mark.
Algorithm and display are not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant provided herein.
Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system
Structure be apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use various
Programming language realizes the content of invention described herein, and the description done language-specific above is to disclose this
Bright preferred forms.
In specification mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that the enforcement of the present invention
Example can be put into practice in the case of not having these details.In some instances, it is not shown specifically known method, structure
And technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that one or more in order to simplify that the disclosure helping understands in each inventive aspect, exist
Above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes
In example, figure or descriptions thereof.But, the method for the disclosure should not be construed to reflect an intention that i.e. required guarantor
The application claims feature more more than the feature being expressly recited in each claim protected.More precisely, as following
Claims reflected as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
The claims following detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each claim itself
All as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment adaptively
Change and they are arranged in one or more equipment different from this embodiment.Can be the module in embodiment or list
Unit or assembly are combined into a module or unit or assembly, and can put them in addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit excludes each other, can use any
Combine all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint
Where method or all processes of equipment or unit are combined.Unless expressly stated otherwise, this specification (includes adjoint power
Profit requires, summary and accompanying drawing) disclosed in each feature can be carried out generation by providing identical, equivalent or the alternative features of similar purpose
Replace.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include other embodiments
Some feature included by rather than further feature, but the combination of the feature of different embodiment means to be in the present invention's
Within the scope of and form different embodiments.Such as, in the following claims, embodiment required for protection appoint
One of meaning can mode use in any combination.
The all parts embodiment of the present invention can realize with hardware, or to run on one or more processor
Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that and can use in practice
Microprocessor or digital signal processor (DSP) realize icon triangular pitch display device according to embodiments of the present invention
In the some or all functions of some or all parts.The present invention is also implemented as performing as described herein
Part or all equipment of method or device program (such as, computer program and computer program).So
The program realizing the present invention can store on a computer-readable medium, or can have the shape of one or more signal
Formula.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or with any other shape
Formula provides.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of not
Arrange element in the claims or step.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such
Element.The present invention and can come real by means of including the hardware of some different elements by means of properly programmed computer
Existing.If in the unit claim listing equipment for drying, several in these devices can be by same hardware branch
Specifically embody.Word first, second and third use do not indicate that any order.These word explanations can be run after fame
Claim.
The invention discloses: A1, a kind of icon triangular pitch display methods, comprising:
Pre-set the icon of multiple application, and provide the icon of each described icon to read interface;
Pre-set icon triangular pitch template, and described icon triangular pitch template is provided realize interface, institute
State icon triangular pitch template-setup and have icon triangular pitch coordinate algorithm, make multiple described icon in viewing area
Coordinate position arrangement triangular in shape;
Realize interface by call described icon triangular pitch template, perform described icon triangular pitch coordinate and calculate
Method also calculates the coordinate of each described icon in described viewing area, it is achieved described icon triangular pitch template;
Read interface by calling icon, the icon read is shown at described icon triangular pitch coordinate algorithm meter
The position of the coordinate of each described icon drawn.
A2, according to the method described in A1, wherein, the triangle in described triangular pitch includes summit, left summit, the right side
Height on summit, the first hypotenuse, the second hypotenuse, base and described base;Described icon triangular pitch coordinate algorithm includes:
Setting up coordinate system, the axis of abscissas of described coordinate system is parallel with described base, the axis of ordinates of described coordinate system with
Height on described base is parallel, and described triangle is positioned at range areas and described upper summit, left summit, the right side of described coordinate system
The coordinate value on summit is definite value;
Obtaining quantity N of icon to be shown, N is positive integer and N >=3;
According to the high length on described base, described first hypotenuse and the length of described second hypotenuse, described base
With the quantity of described icon to be shown, calculate the coordinate of each described icon to be shown;Wherein, three in described icon to be shown
The coordinate value of individual icon is respectively equal to the upper summit of described triangle, left summit, the coordinate value on right summit.
A3, according to the method described in A2, wherein, described triangle is equilateral triangle;
When described number of icons to be shown is four, a described icon to be shown is positioned in described equilateral triangle
At the heart;
When described number of icons to be shown is five, a described icon to be shown is positioned in described equilateral triangle
At the heart and described icon to be shown is positioned at the midpoint on base of described equilateral triangle.
A4, according to the method described in A2, wherein, when described number of icons N=3+3m to be shown, m be positive integer and m >=
1, each edge of described triangle respectively has m described icon to be shown except each apex;
According to the high length on described base, described first hypotenuse and the length of described second hypotenuse, described base
With the quantity of described icon to be shown, the step of the coordinate calculating each described icon to be shown specifically includes:
Calculate on described base except the coordinate (X of icon described to be shown of each apex according to equation below (1)i,
Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction from the upper summit of described triangle;LdRepresent described
The length of side on base, H represents the high length on described base;
Calculate on described first hypotenuse except the coordinate of icon described to be shown of each apex according to equation below (2)
(Xi, Yi):
Wherein, LaRepresent the length of the first hypotenuse;
Calculate on described second hypotenuse except the coordinate of icon described to be shown of each apex according to equation below (3)
(Xi, Yi):
Wherein, LbRepresent the length of the second hypotenuse.
A5, according to the method described in A2, wherein, when described number of icons N=3+3m+1 to be shown, m is positive integer and m
>=1, described triangle is equilateral triangle, and each edge of described equilateral triangle respectively has described in m except each apex
Icon to be shown;
According to the high length on described base, described first hypotenuse and the length of described second hypotenuse, described base
With the quantity of described icon to be shown, the step of the coordinate calculating each described icon to be shown specifically includes:
Calculate on described base except the coordinate (X of icon described to be shown of each apex according to equation below (1)i,
Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction from the upper summit of described triangle, wherein last
Individual described icon to be shown is positioned at the center of described equilateral triangle;LdRepresenting the length of side on described base, H represents described base
On high length;
Calculate on described first hypotenuse except the coordinate of icon described to be shown of each apex according to equation below (4)
(Xi, Yi):
Calculate on described second hypotenuse except the coordinate of icon described to be shown of each apex according to equation below (5)
(Xi, Yi):
Coordinate (the X of last described icon to be shown is calculated according to equation below (6)i, Yi):
A6, according to the method described in A2, wherein, when described number of icons N=3+3m+2 to be shown, m is positive integer and m
>=1, described triangle is equilateral triangle, and the base of described equilateral triangle is treated except each apex has described in m+1
Display icon, on the first hypotenuse of described equilateral triangle and the second hypotenuse, except each apex, respectively to have m described to be shown
Icon;
According to the high length on described base, described first hypotenuse and the length of described second hypotenuse, described base
With the quantity of described icon to be shown, the step of the coordinate calculating each described icon to be shown specifically includes:
Calculate on described base except the coordinate (X of icon described to be shown of each apex according to equation below (7)i,
Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction from the upper summit of described triangle, wherein last
Individual described icon to be shown is positioned at the center of described equilateral triangle;LdRepresenting the length of side on described base, H represents described base
On high length;
Calculate on described first hypotenuse except the coordinate of icon described to be shown of each apex according to equation below (4)
(Xi, Yi):
Calculate on described second hypotenuse except the coordinate of icon described to be shown of each apex according to equation below (8)
(Xi, Yi):
Coordinate (the X of last described icon to be shown is calculated according to equation below (6)i, Yi):
A7, according to the method described in any one of A3, A5 or A6, wherein, by call icon read interface, by read
Icon shows the step of the position of the coordinate of each described icon calculated at described icon triangular pitch coordinate algorithm
Including:
The described icon of a described application is selected according to history service condition;
The described icon selected is shown in the center of described equilateral triangle.
The invention also discloses: the device that B8, a kind of icon triangular pitch show, comprising:
Icon interface module, for pre-setting the icon of multiple application, and provides the icon reading of each described icon to connect
Mouthful;
Template interface module, is used for pre-setting icon triangular pitch template, and provides described icon triangular pitch
Template realize interface, described icon triangular pitch template-setup has icon triangular pitch coordinate algorithm, makes multiple described
The arrangement triangular in shape of icon coordinate position in viewing area;
Template realizes module, for realizing interface by call described icon triangular pitch template, performs described figure
Mark triangular pitch coordinate algorithm also calculates the coordinate of each described icon in described viewing area, it is achieved described icon
Triangular pitch template;
Icon display module, for by calling icon reading interface, showing the icon read at described icon three
The position of the coordinate of each described icon that dihedral arrangement coordinate algorithm calculates.
B9, according to the device described in B8, wherein, the triangle in described triangular pitch includes summit, left summit, the right side
Height on summit, the first hypotenuse, the second hypotenuse, base and described base;Described template interface module includes:
Coordinate sets up module, is used for setting up coordinate system, and the axis of abscissas of described coordinate system is parallel with described base, described seat
The axis of ordinates of mark system is parallel with the height on described base, and described triangle is positioned at the range areas of described coordinate system and described
Upper summit, left summit, the coordinate value on right summit are definite value;
Number of icons acquisition module, for obtaining quantity N of icon to be shown, N is positive integer and N >=3;
Computing module, for according to described base, described first hypotenuse and the length of described second hypotenuse, described base
On high length and the quantity of described icon to be shown, calculate the coordinate of each described icon to be shown;Wherein, wait described in show
The coordinate value of three icons in diagram mark is respectively equal to the upper summit of described triangle, left summit, the coordinate value on right summit.
B10, according to the device described in B9, wherein, described triangle is equilateral triangle;
Described computing module is additionally operable to:
When described number of icons to be shown is four, a described icon to be shown is made to be positioned at described equilateral triangle
Center;
When described number of icons to be shown is five, a described icon to be shown is made to be positioned at described equilateral triangle
Center and described icon to be shown are positioned at the midpoint on the base of described equilateral triangle.
B11, according to the device described in B9, wherein, when described number of icons N=3+3m to be shown, m be positive integer and m >=
1, each edge of described triangle respectively has m described icon to be shown except each apex;
Described computing module specifically for:
Calculate on described base except the coordinate (X of icon described to be shown of each apex according to equation below (1)i,
Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction, L from the upper summit of described triangledRepresent described
The length of side on base, H represents the high length on described base;
Calculate on described first hypotenuse except the coordinate of icon described to be shown of each apex according to equation below (2)
(Xi, Yi):
Wherein, LaRepresent the length of the first hypotenuse;
Calculate on described second hypotenuse except the coordinate of icon described to be shown of each apex according to equation below (3)
(Xi, Yi):
Wherein, LbRepresent the length of the second hypotenuse.
B12, according to the device described in B9, wherein, when described number of icons N=3+3m+1 to be shown, m is positive integer and m
>=1, described triangle is equilateral triangle, and each edge of described equilateral triangle respectively has described in m except each apex
Icon to be shown;
Described computing module specifically for:
According to the high length on described base, described first hypotenuse and the length of described second hypotenuse, described base
With the quantity of described icon to be shown, the step of the coordinate calculating each described icon to be shown specifically includes:
Calculate on described base except the coordinate (X of icon described to be shown of each apex according to equation below (1)i,
Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction from the upper summit of described triangle, wherein last
Individual described icon to be shown is positioned at the center of described equilateral triangle;LdRepresenting the length of side on described base, H represents described base
On high length;
Calculate on described first hypotenuse except the coordinate of icon described to be shown of each apex according to equation below (4)
(Xi, Yi):
Calculate on described second hypotenuse except the coordinate of icon described to be shown of each apex according to equation below (5)
(Xi, Yi):
Coordinate (the X of last described icon to be shown is calculated according to equation below (6)i, Yi):
B13, according to the device described in B9, wherein, when described number of icons N=3+3m+2 to be shown, m is positive integer and m
>=1, described triangle is equilateral triangle, and the base of described equilateral triangle is treated except each apex has described in m+1
Display icon, on the first hypotenuse of described equilateral triangle and the second hypotenuse, except each apex, respectively to have m described to be shown
Icon;
Described computing module specifically for:
According to the high length on described base, described first hypotenuse and the length of described second hypotenuse, described base
With the quantity of described icon to be shown, the step of the coordinate calculating each described icon to be shown specifically includes:
Calculate on described base except the coordinate (X of icon described to be shown of each apex according to equation below (7)i,
Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction from the upper summit of described triangle, wherein last
Individual described icon to be shown is positioned at the center of described equilateral triangle;LdRepresenting the length of side on described base, H represents described base
On high length;
Calculate on described first hypotenuse except the coordinate of icon described to be shown of each apex according to equation below (4)
(Xi, Yi):
Calculate on described second hypotenuse except the coordinate of icon described to be shown of each apex according to equation below (8)
(Xi, Yi):
Coordinate (the X of last described icon to be shown is calculated according to equation below (6)i, Yi):
B14, according to the device described in any one of B10, B12 or B13, wherein, described icon display module is additionally operable to:
The described icon of a described application is selected according to history service condition;
The described icon selected is shown in the center of described equilateral triangle.
Claims (10)
1. an icon triangular pitch display methods, comprising:
Pre-set the icon of multiple application, and provide the icon of each described icon to read interface;
Pre-set icon triangular pitch template, and described icon triangular pitch template is provided realize interface, described figure
Mark triangular pitch template-setup has icon triangular pitch coordinate algorithm, makes multiple described icon coordinate in viewing area
Position arrangement triangular in shape;
Realize interface by call described icon triangular pitch template, perform described icon triangular pitch coordinate algorithm also
Calculate the coordinate of each described icon in described viewing area, it is achieved described icon triangular pitch template;
Read interface by calling icon, the icon read is shown and calculates at described icon triangular pitch coordinate algorithm
The position of the coordinate of each described icon gone out;
Wherein, described triangle is equilateral triangle;
Read interface by calling icon, the icon read is shown and calculates at described icon triangular pitch coordinate algorithm
The step of the position of the coordinate of each described icon gone out includes:
The described icon of a described application is selected according to history service condition;
The described icon selected is shown the center at equilateral triangle.
Method the most according to claim 1, wherein, the triangle in described triangular pitch include summit, left summit,
Height on right summit, the first hypotenuse, the second hypotenuse, base and described base;Described icon triangular pitch coordinate algorithm includes:
Setting up coordinate system, the axis of abscissas of described coordinate system is parallel with described base, and the axis of ordinates of described coordinate system is with described
Height on base is parallel, and described triangle is positioned at range areas and described upper summit, left summit, the right summit of described coordinate system
Coordinate value be definite value;
Obtaining quantity N of icon to be shown, N is positive integer and N >=3;
According to the high length on described base, described first hypotenuse and the length of described second hypotenuse, described base and institute
State the quantity of icon to be shown, calculate the coordinate of each described icon to be shown;Wherein, three figures in described icon to be shown
Target coordinate value is respectively equal to the upper summit of described triangle, left summit, the coordinate value on right summit.
Method the most according to claim 2, wherein, when described number of icons to be shown is four, waits to show described in one
Diagram mark is in the center of described equilateral triangle;
When described number of icons to be shown is five, a described icon to be shown is positioned at the center of described equilateral triangle
And described icon to be shown is positioned at the midpoint on base of described equilateral triangle.
Method the most according to claim 2, wherein, when described number of icons N=3+3m+1 to be shown, m is positive integer
And m >=1, each edge of described equilateral triangle respectively has m described icon to be shown except each apex;
According to the high length on described base, described first hypotenuse and the length of described second hypotenuse, described base and institute
Stating the quantity of icon to be shown, the step of the coordinate calculating each described icon to be shown specifically includes:
Calculate on described base except the coordinate (X of icon described to be shown of each apex according to equation belowi, Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction, wherein last institute from the upper summit of described triangle
State icon to be shown and be positioned at the center of described equilateral triangle;LdRepresenting the length of side on described base, H represents on described base
High length;
Calculate on described first hypotenuse except the coordinate (X of icon described to be shown of each apex according to equation belowi, Yi):
Calculate on described second hypotenuse except the coordinate (X of icon described to be shown of each apex according to equation belowi, Yi):
Coordinate (the X of last described icon to be shown is calculated according to equation belowi, Yi):
Method the most according to claim 2, wherein, when described number of icons N=3+3m+2 to be shown, m is positive integer
And m >=1, the base of described equilateral triangle has m+1 described icon to be shown, described equilateral triangle except each apex
Except each apex, respectively there is m described icon to be shown on first hypotenuse of shape and the second hypotenuse;
According to the high length on described base, described first hypotenuse and the length of described second hypotenuse, described base and institute
Stating the quantity of icon to be shown, the step of the coordinate calculating each described icon to be shown specifically includes:
Calculate on described base except the coordinate (X of icon described to be shown of each apex according to equation belowi, Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction, wherein last institute from the upper summit of described triangle
State icon to be shown and be positioned at the center of described equilateral triangle;LdRepresenting the length of side on described base, H represents on described base
High length;
Calculate on described first hypotenuse except the coordinate (X of icon described to be shown of each apex according to equation belowi, Yi):
Calculate on described second hypotenuse except the coordinate (X of icon described to be shown of each apex according to equation belowi, Yi):
Coordinate (the X of last described icon to be shown is calculated according to equation belowi, Yi):
6. the device that icon triangular pitch shows, comprising:
Icon interface module, for pre-setting the icon of multiple application, and provides the icon of each described icon to read interface;
Template interface module, is used for pre-setting icon triangular pitch template, and provides described icon triangular pitch template
Realize interface, described icon triangular pitch template-setup has icon triangular pitch coordinate algorithm, makes multiple described icon
Coordinate position arrangement triangular in shape in viewing area;
Template realizes module, for realizing interface by call described icon triangular pitch template, performs described icon three
Dihedral arrangement coordinate algorithm also calculates the coordinate of each described icon in described viewing area, it is achieved described icon triangle
Shape arrangement template;
Icon display module, for by calling icon reading interface, showing the icon read at described icon triangle
The position of the coordinate of each described icon that arrangement coordinate algorithm calculates;
Wherein, described triangle is equilateral triangle;
Described icon display module is additionally operable to:
The described icon of a described application is selected according to history service condition;
The described icon selected is shown the center at equilateral triangle.
Device the most according to claim 6, wherein, the triangle in described triangular pitch include summit, left summit,
Height on right summit, the first hypotenuse, the second hypotenuse, base and described base;Described template interface module includes:
Coordinate sets up module, is used for setting up coordinate system, and the axis of abscissas of described coordinate system is parallel with described base, described coordinate system
Axis of ordinates parallel with the height on described base, described triangle is positioned at the range areas of described coordinate system and described upper top
Point, left summit, the coordinate value on right summit are definite value;
Number of icons acquisition module, for obtaining quantity N of icon to be shown, N is positive integer and N >=3;
Computing module, for according on described base, described first hypotenuse and the length of described second hypotenuse, described base
High length and the quantity of described icon to be shown, calculate the coordinate of each described icon to be shown;Wherein, described figure to be shown
The coordinate value of three icons in mark is respectively equal to the upper summit of described triangle, left summit, the coordinate value on right summit.
Device the most according to claim 7, wherein, described computing module is additionally operable to:
When described number of icons to be shown is four, a described icon to be shown is made to be positioned at the center of described equilateral triangle
Place;
When described number of icons to be shown is five, a described icon to be shown is made to be positioned at the center of described equilateral triangle
Place and described icon to be shown are positioned at the midpoint on the base of described equilateral triangle.
Device the most according to claim 7, wherein, when described number of icons N=3+3m+1 to be shown, m is positive integer
And m >=1, each edge of described equilateral triangle respectively has m described icon to be shown except each apex;
Described computing module specifically for:
According to the high length on described base, described first hypotenuse and the length of described second hypotenuse, described base and institute
Stating the quantity of icon to be shown, the step of the coordinate calculating each described icon to be shown specifically includes:
Calculate on described base except the coordinate (X of icon described to be shown of each apex according to equation belowi, Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction, wherein last institute from the upper summit of described triangle
State icon to be shown and be positioned at the center of described equilateral triangle;LdRepresenting the length of side on described base, H represents on described base
High length;
Calculate on described first hypotenuse except the coordinate (X of icon described to be shown of each apex according to equation belowi, Yi):
Calculate on described second hypotenuse except the coordinate (X of icon described to be shown of each apex according to equation belowi, Yi):
Coordinate (the X of last described icon to be shown is calculated according to equation belowi, Yi):
Device the most according to claim 7, wherein, when described number of icons N=3+3m+2 to be shown, m is positive integer
And m >=1, the base of described equilateral triangle has m+1 described icon to be shown, described equilateral triangle except each apex
Except each apex, respectively there is m described icon to be shown on first hypotenuse of shape and the second hypotenuse;
Described computing module specifically for:
According to the high length on described base, described first hypotenuse and the length of described second hypotenuse, described base and institute
Stating the quantity of icon to be shown, the step of the coordinate calculating each described icon to be shown specifically includes:
Calculate on described base except the coordinate (X of icon described to be shown of each apex according to equation belowi, Yi):
Wherein, i represents the i-th icon started in a counterclockwise direction, wherein last institute from the upper summit of described triangle
State icon to be shown and be positioned at the center of described equilateral triangle;LdRepresenting the length of side on described base, H represents on described base
High length;
Calculate on described first hypotenuse except the coordinate (X of icon described to be shown of each apex according to equation belowi, Yi):
Calculate on described second hypotenuse except the coordinate (X of icon described to be shown of each apex according to equation belowi, Yi):
Coordinate (the X of last described icon to be shown is calculated according to equation belowi, Yi):
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310499774.9A CN103543912B (en) | 2013-10-22 | 2013-10-22 | The method and apparatus that a kind of icon triangular pitch shows |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310499774.9A CN103543912B (en) | 2013-10-22 | 2013-10-22 | The method and apparatus that a kind of icon triangular pitch shows |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103543912A CN103543912A (en) | 2014-01-29 |
CN103543912B true CN103543912B (en) | 2016-08-31 |
Family
ID=49967422
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310499774.9A Expired - Fee Related CN103543912B (en) | 2013-10-22 | 2013-10-22 | The method and apparatus that a kind of icon triangular pitch shows |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103543912B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105194875B (en) * | 2015-10-22 | 2019-03-19 | 网易(杭州)网络有限公司 | A kind of map display methods and its device, mobile client, computer client |
CN112558838B (en) * | 2020-12-24 | 2022-06-28 | 维沃移动通信有限公司 | Application icon layout method and device, electronic equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5812128A (en) * | 1996-12-11 | 1998-09-22 | International Business Machines Corporation | User defined template arrangement of objects in a container |
CN101770331A (en) * | 2009-01-05 | 2010-07-07 | 联想(北京)有限公司 | Method and device for managing computer icon arrangement, device and computer |
CN102999256A (en) * | 2012-12-11 | 2013-03-27 | 广东欧珀移动通信有限公司 | Method and device for arranging display terminal icons |
CN103076948A (en) * | 2013-01-15 | 2013-05-01 | 广东欧珀移动通信有限公司 | Method and device for sequencing icons of main menu in non-automatic way |
-
2013
- 2013-10-22 CN CN201310499774.9A patent/CN103543912B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5812128A (en) * | 1996-12-11 | 1998-09-22 | International Business Machines Corporation | User defined template arrangement of objects in a container |
CN101770331A (en) * | 2009-01-05 | 2010-07-07 | 联想(北京)有限公司 | Method and device for managing computer icon arrangement, device and computer |
CN102999256A (en) * | 2012-12-11 | 2013-03-27 | 广东欧珀移动通信有限公司 | Method and device for arranging display terminal icons |
CN103076948A (en) * | 2013-01-15 | 2013-05-01 | 广东欧珀移动通信有限公司 | Method and device for sequencing icons of main menu in non-automatic way |
Non-Patent Citations (1)
Title |
---|
桌面图标随心拍,方便访问乐无穷;亦云;《电脑爱好者(Computer Fan)》;20110601;第2段 * |
Also Published As
Publication number | Publication date |
---|---|
CN103543912A (en) | 2014-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107908336B (en) | Method for refreshing, device, storage medium and the terminal of list control | |
US9772861B2 (en) | Accessing operating system elements via a tag cloud | |
US9734556B2 (en) | Generating a tree map | |
US10573199B2 (en) | Refreshable braille display device | |
CN109144615A (en) | A kind of information issuing method, device, equipment and storage medium | |
JP5716479B2 (en) | Electronic device and program | |
Anslow et al. | User evaluation of polymetric views using a large visualization wall | |
CN103543912B (en) | The method and apparatus that a kind of icon triangular pitch shows | |
CN105335069A (en) | Method and device for generating sliding track in touch screen equipment | |
CN104679722B (en) | For the method and system that data form is multidimensional | |
CN109582421A (en) | A kind of page display method, device and equipment | |
CN113238688B (en) | Form display method, device, equipment and medium | |
CN108182024A (en) | The treating method and apparatus of unread message | |
CN104240273A (en) | Raster image processing method and device | |
US9354772B2 (en) | Method and device for movement of image object | |
CN102855061A (en) | Mailbox interface interaction method and device based on multi-label window | |
CN109189537B (en) | The dynamic display method of page info calculates equipment and computer storage medium | |
CN110060545A (en) | Electronic reading method and device | |
CN103605451B (en) | Method and device for pentagonally arranging and displaying icons | |
CN108628532A (en) | Method for drafting, computing device and the computer storage media of broken line person's handwriting | |
CN113608731A (en) | Building block programming level updating method and device, terminal equipment and storage medium | |
JP6478300B2 (en) | Learning support device, learning support method, and program | |
US20140322680A1 (en) | Educational System for Creating Mathematical Operations | |
CN109828808A (en) | A kind of interception preventing method and relevant device | |
CN108984060A (en) | A kind of icon display method and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160831 Termination date: 20211022 |