Anti-aliasing of a graphical object
First Claim
1. A method for rendering graphical data, the method comprising:
- rendering an aliased version of an element of a graphical object in a two-dimensional field comprising a plurality of pixels;
sampling an edge portion of the aliased version of the element;
calculating a curve that approximates the edge portion and intersects a first subset of pixels;
determining the respective proportional areas of each pixel of the first subset of pixels that is located between the curve and the edge portion of the aliased version of the element; and
rendering an anti-aliased version of the edge portion based at least in part on the magnitudes of the respective proportional areas.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for rendering graphical data is provided. In one embodiment, the method includes rendering an aliased version of one or more polygons and sampling one or more edges of the aliased polygons. The method also includes calculating a curve that approximates the edge portion and intersects a set of pixels, determining the proportional areas of the pixels located between the curve and the aliased edge portion, and rendering an anti-aliased version of the edge portion based on the proportional areas. Various devices, machine-readable media, and other methods for anti-aliasing of a graphical object are also provided.
35 Citations
23 Claims
-
1. A method for rendering graphical data, the method comprising:
-
rendering an aliased version of an element of a graphical object in a two-dimensional field comprising a plurality of pixels; sampling an edge portion of the aliased version of the element; calculating a curve that approximates the edge portion and intersects a first subset of pixels; determining the respective proportional areas of each pixel of the first subset of pixels that is located between the curve and the edge portion of the aliased version of the element; and rendering an anti-aliased version of the edge portion based at least in part on the magnitudes of the respective proportional areas. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A device comprising:
-
a housing; a display disposed in the housing; a memory device disposed in the housing, the memory device including executable application instructions stored therein; and a processor disposed in the housing and configured to execute the application instructions stored in the memory device; wherein the device is configured to render an aliased version of an element of a graphical object, to sample one or more edges of the aliased version of the element, and to render an anti-aliased version of the element based on the sampling of the one or more edges. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A method for rendering graphical data, the method comprising:
-
rendering aliased versions of two graphical elements in a two-dimensional field of pixels such that the two graphical elements include a common, aliased edge; computing a curve that approximates the aliased edge between the two graphical elements; and rendering anti-aliased versions of the two graphical elements based at least in part on adjusting a subset of pixels intersected by the curve. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. One or more tangible, machine-readable media having application instructions encoded thereon, the application instructions comprising:
-
instructions for rendering an aliased version of a plurality of polygons of one or more graphical objects in a two-dimensional field comprising a plurality of pixels, the aliased version comprising a plurality of jagged edges; instructions for sampling a jagged edge portion of at least one polygon of the aliased version of the plurality of polygons; instructions for calculating a curve that approximates the jagged edge portion and intersects a subset of pixels; instructions for determining the respective proportional areas of each pixel of the subset of pixels that is located between the curve and the jagged edge portion; and instructions for rendering an smoothed version of the edge portion based at least in part on the magnitudes of the respective proportional areas. - View Dependent Claims (21, 22, 23)
-
Specification