Scale factors for visual presentations
US-8933971-B2 · Jan 13, 2015 · US
US9355480B1 · US · B1
| Field | Value |
|---|---|
| Publication number | US-9355480-B1 |
| Application number | US-201314040209-A |
| Country | US |
| Kind code | B1 |
| Filing date | Sep 27, 2013 |
| Priority date | Sep 27, 2013 |
| Publication date | May 31, 2016 |
| Grant date | May 31, 2016 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Improved techniques involve uniformly distributing remainder pixels to the visual components when distributing the visual components in a display of a fixed pixel width. When displaying a number of visual components on the display, an electronic device connected to the display generates remainder pixels that are the result of the quotient of the number of display pixels and the number of visual components not being a whole number. The electronic device then distributes the remainder pixels to the visual components in a uniform manner so that each visual component is aligned with a respective visual target in the display.
Opening claim text (preview).
What is claimed is: 1. A method of displaying a number of visual components in a display having a specified pixel width, the method comprising: generating, by a processor of a computing device, a total number of remainder pixels, the total number of remainder pixels being a remainder upon dividing the specified pixel width of the display by the number of visual components; performing a remainder pixel distribution operation on the visual components, the remainder pixel distribution operation uniformly distributing the remainder pixels to the visual components according to the total number of remainder pixels, each visual component having a respective component width and aligning with a respective visual target in the display as a result of the uniform distribution of the remainder pixels; and generating, as an initial component width, a floor of a ratio of the specified pixel width of the display and the number of visual components; wherein performing the remainder pixel distribution operation on the visual components includes, for each visual component: generating a local number of remainder pixels, adding the local number of remainder pixels to the initial component width to produce the respective component width of that visual component, and halting the generation of the local number of remainder pixels when the number of assigned remainder pixels for a visual component is equal to the total number of remainder pixels. 2. A method as in claim 1 , wherein the visual components are displayed within an underlying window in the display; and wherein the remainder pixel distribution operation is performed in response to a rescaling operation on the window. 3. A method of displaying a number of visual components in a display having a specified pixel width, the method comprising: generating, by a processor of a computing device, a total number of remainder pixels, the total number of remainder pixels being a remainder upon dividing the specified pixel width of the display by the number of visual components; performing a remainder pixel distribution operation on the visual components, the remainder pixel distribution operation uniformly distributing the remainder pixels to the visual components according to the total number of remainder pixels, each visual component having a respective component width and aligning with a respective visual target in the display as a result of the uniform distribution of the remainder pixels; and generating, as an initial component width, a floor of a ratio of the specified pixel width of the display and the number of visual components; wherein performing the remainder pixel distribution operation on the visual components includes, for each visual component: generating a local number of remainder pixels, and adding the local number of remainder pixels to the initial component width to produce the respective component width of that visual component; and wherein generating the local number of remainder pixels includes: dividing the total number of remainder pixels by the number of visual components to produce a remainder pixel quotient, multiplying the remainder pixel quotient by an index number assigned to that visual component to produce an assigned pixel quotient, rounding the assigned pixel quotient to the nearest whole number to produce a number of assigned remainder pixels for that visual component, and setting the local number of remainder pixels to a difference between the number of assigned remainder pixels for that visual component and a number of assigned remainder pixels for a neighboring visual component. 4. A method as in claim 3 , wherein a boundary visual component is a visual component that is adjacent to a boundary of the display; and wherein generating the local number of remainder pixels further includes: setting the local number of remainder pixels to number of assigned remainder pixels for the boundary visual component. 5. A method as in claim 4 , wherein the boundary visual component is adjacent to the left boundary of the display; wherein the index number assigned to that visual component is equal to the one more than the number of visual components between that visual component and the left boundary of the display; and wherein setting the local number of remainder pixels to the difference between the number of assigned remainder pixels for that visual component and the number of assigned remainder pixels for a neighboring visual component includes: generating, as the local number of remainder pixels, the difference between the number of assigned remainder pixels for that visual component and the number of assigned remainder pixels for the visual component to the left of that visual component. 6. A method as in claim 5 , wherein the display also has a specified pixel height that is perpendicular to the specified pixel width; wherein there are a number of visual height components to be displayed in the display over the specified pixel height of the display; wherein the method further includes: generating a total number of remainder height pixels, the total number of remainder pixels being a remainder upon dividing the specified pixel height of the display by the number of visual height components; and performing a remainder height pixel distribution operation on the visual height components, the remainder height pixel distribution operation uniformly distributing the remainder height pixels to the visual height components according to the total number of remainder height pixels, each visual height component having a respective component height and aligning with another respective visual target in the display as a result of the uniform distribution of the remainder height pixels; and wherein the respective height of a particular visual height component is specified to be the respective component width of a particular visual component. 7. A method as in claim 3 , wherein the visual components are displayed within an underlying window in the display; and wherein the remainder pixel distribution operation is performed in response to a rescaling operation on the window. 8. A method of displaying a number of visual components in a display having a specified pixel width, the method comprising: generating, by a processor of a computing device, a total number of remainder pixels, the total number of remainder pixels being a remainder upon dividing the specified pixel width of the display by the number of visual components; performing a remainder pixel distribution operation on the visual components, the remainder pixel distribution operation uniformly distributing the remainder pixels to the visual components according to the total number of remainder pixels, each visual component having a respective component width and aligning with a respective visual target in the display as a result of the uniform distribution of the remainder pixels; and for each visual component, verifying that that visual component is aligned with the respective visual target in the display; wherein the visual components form a heat map representing the dependence of a set of parameters on an independent parameter, each visual component representing a value of the independent parameter; wherein, for each visual component, the respective visual target represents a section of an axis of a corresponding line plot, the section of the axis including the value of the independent parameter represented by that visual component; and wherein verifying that that visual component is aligned with the respective visual target in the display includes: detecting whether a vertical line drawn through the section of the axis of the corresponding line plot intersects that visual component.
Drawing of charts or graphs · CPC title
Physics · mapped topic
Related publications grouped by family.
Answers are generated from the same data shown on this page.