📖
Shader-Based Antialiased Dashed Stroked Polylines
Nicolas P. Rougier

Shader-Based Antialiased Dashed Stroked Polylines

Author / Organization:
Science & Mathematics Published 2013 Verification Pending

Overview & Synopsis

Dashed stroked paths are a widely-used feature found in the vast majority of vector drawing software and libraries. They allow, for example, highlighting a given path such as the cur- rent selection in drawing software or distinguishing curves in the case of a scientific plotting package. This paper introduces a shader-based method for rendering arbitrary dash patterns along any continuous polyline (smooth or broken). The proposed method does not tessellate individual dash patterns and allows for fast and nearly accurate rendering of any user-defined dash pattern and caps. Benchmarks indicates a slowdown ratio between 1.1 and 2.1 with an increased memory consumption between 3 and 6. Furthermore, the method can be used for solid thick polylines with correct caps and joins with only a slowdown of factor 1.1.

Advertisement
SPONSOR CONTENT
Indexed from repository: HAL Open Science (hal.science)
Loading document from verified source...
Keyboard Shortcuts: ← / → for pages • + / - for zoom • 0 to fit width Powered by Mozilla PDF.js v3.11

Document Information

Document Title Shader-Based Antialiased Dashed Stroked Polylines
Author / Organization Nicolas P. Rougier
Subject & Discipline Multidisciplinary Academic Open Research
Categories Science & Mathematics
Publication Year 2013
License / Rights Open Access / Creative Commons
Resource Verification Listed PDF (Verification Pending)
Original Host Website HAL Open Science (hal.science)
File Format application/pdf (Portable Document Format)
Language EN
Catalog ID DOC-100472
Original Source Link Visit Source Page on hal.science »