probcomp/curve-fitting

Support high-DPI displays

開放

#69 建立於 2018年11月28日

 (0 則留言) (0 個反應) (0 位負責人)Clojure (3 個分叉)auto 404
enhancementgood first issue

倉庫指標

星標
 (3 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

If a configuration flag is enabled auto-detect the display's pixel density with quil.core/pixel-density then set it with quil.core/display-density.

Note that the above Quil functions are only available inside "Sketch functions", i.e. functions passed to the applet Quil manages. You'd probably want to put this logic in the :settings function.

貢獻者指南