Conversion of dashed strokes into quadratic Bèzier segment sequences
Abstract
One embodiment of the present invention sets forth a technique for converting dashed strokes into quadratic Bèzier segment sequences. Path rendering with stroking and dashing may be accelerated when a graphics processing unit or other processor is configured to subdivide quadratic Bèzier segments based on the remaining distance for a current dash pattern element and the arc length of the current quadratic Bèzier path segment to generate “on” dash pattern segments. Each “on” dash pattern segment is then bounded by a conservative geometric hull. A point containment technique is then used to identify pixels within each conservative geometric hull that are within half of the stroke width of any point along a path to be stroked.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 39 · Forward citations: 4.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of generating dashed stroked quadratic Bèzier path segments, the method comprising: receiving a quadratic Bèzier path segment and a dash pattern; determining that a current dash pattern element spans more than one quadratic Bèzier path segment; computing a remaining distance for the current dash pattern element of the dash pattern; computing an arc length of the quadratic Bèzier path segment; and subdividing the quadratic Bèzier path segment based on the remaining distance for the current dash pattern element and the arc length of the quadratic Bèzier path segment to generate “on” das
- Claim 2Depends on #1
The method of claim 1 , wherein computing the arc length comprises converting the arc length into the distance of the quadratic Bèzier path segment in parametric uni
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (39)
Non-Patent Literature (5)
- Advisory Action for U.S. Appl. No. 13/109,763 dated Aug. 26, 2013.
- Advisory Action for U.S. Appl. No. 13/112,874 dated Oct. 10, 2013.
- Benstead, Luke, et al., Beginning OpenGL Game Programming, Second Edition, Mar. 13, 2009, Course Technology PTR, pp. 245-249.
- Blinn, Jim. "Jim Blinn's Corner Notation, Notation, Notation". 2003, Elsevier Inc. Chapter 16, p. 219-229.
- Farouki, et al. "Algebraic properties of plane offset curves", Elsevier Science Publishers B.V. (North-Holland) 1990, pp. 101-127.