We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.GR

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Graphics

Title: Polar Stroking: New Theory and Methods for Stroking Paths

Abstract: Stroking and filling are the two basic rendering operations on paths in vector graphics. The theory of filling a path is well-understood in terms of contour integrals and winding numbers, but when path rendering standards specify stroking, they resort to the analogy of painting pixels with a brush that traces the outline of the path. This means important standards such as PDF, SVG, and PostScript lack a rigorous way to say what samples are inside or outside a stroked path. Our work fills this gap with a principled theory of stroking.
Guided by our theory, we develop a novel polar stroking method to render stroked paths robustly with an intuitive way to bound the tessellation error without needing recursion. Because polar stroking guarantees small uniform steps in tangent angle, it provides an efficient way to accumulate arc length along a path for texturing or dashing. While this paper focuses on developing the theory of our polar stroking method, we have successfully implemented our methods on modern programmable GPUs.
Comments: 15 pages, 19 figures, ACM Trans. on Graphics (Proceedings of SIGGRAPH 2020); corrected Fig. 8 and Eq. 6
Subjects: Graphics (cs.GR)
ACM classes: I.3.3
Journal reference: ACM Transactions on Graphics, Vol. 39, No. 4 (2020) 145:1-15
DOI: 10.1145/3386569.3392458
Cite as: arXiv:2007.00308 [cs.GR]
  (or arXiv:2007.00308v3 [cs.GR] for this version)

Submission history

From: Mark J. Kilgard [view email]
[v1] Wed, 1 Jul 2020 08:03:09 GMT (9523kb,D)
[v2] Tue, 21 Jul 2020 18:45:28 GMT (9626kb,D)
[v3] Sat, 31 Oct 2020 04:12:57 GMT (9626kb,D)

Link back to: arXiv, form interface, contact.