abstreet/rustdoc/widgetry/mapspace/unzoomed/sidebar-items.js
2021-10-24 20:53:34 +00:00

1 line
512 B
JavaScript

initSidebarItems({"fn":[["discretize_zoom",""],["render_circles",""],["render_lines",""]],"struct":[["DrawUnzoomedShapes","Draw `Circles` and `PolyLines` in map-space that scale their size as the canvas is zoomed. The goal is to appear with roughly constant screen-space size, but for the moment, this is approximated by discretizing into 10 buckets. The scaling only happens when the canvas is zoomed out less than a value of 1.0."],["DrawUnzoomedShapesBuilder",""],["UnzoomedCircle",""],["UnzoomedLine",""]]});