Graphic engine for approximating a quadratic bezier curve in a resource-constrained device
Abstract
A method is provided for approximating a quadratic Bezier curve represented by two anchor points and a control point that are fixed-point binary numbers. If a first flatness of a line formed between the two anchor points of the Bezier curve is less than a threshold, the method includes replacing the Bezier curve with an edge between the two anchor points. If the first flatness is not less than the threshold, the method includes subdividing the Bezier curve into halves and determining a second flatness of one of the halves. The first flatness is approximated by a triangular area formed by the two anchor points and the control point, and the triangular area is approximated by multiplication and subtraction operations. The second flatness of the half is approximated as the triangular area divided by 8, where the division by 8 is determined by shifting 3 bits to the right.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A non-transitory computer-readable storage medium encoded with executable instructions for execution by a processor to approximate a quadratic Bezier curve with straight edges represented by fixed-point binary numbers, the curve being represented by a first anchor point, a control point, and a second anchor point, the instructions comprising: (1) pushing the first anchor point, the control point, and the second anchor point into a memory stack; (2) popping out the top three points in the memory stack as points a 2 , c, and a 1 ; (3) computing a flatness F of a line formed between the points a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (7)
Non-Patent Literature (3)
- Eihachiro Nakamae et al., "Compositing 3D Images with Antialiasing and Various Shading Effects," IEEE Computer Graphics & Applications, Mar. 1989, pp. 21-29.
- Sunday et al., "Area of Triangle and Polygons (2D and 3D)", http://softsurfer.com/Archive/algorithm-0101/algorithm-0101.htm, Jun. 6, 2002.
- Sunday et al., “Area of Triangle and Polygons (2D and 3D)”, http://softsurfer.com/Archive/algorithm—0101/algorithm—0101.htm, Jun. 6, 2002.