TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

For crisp edges, use anything but crispEdges

4 点作者 flipstewart超过 12 年前

2 条评论

chrisdroukas超过 12 年前
Interesting.<p>If I'm reading this right, the result shouldn't be surprising (though maybe inappropriately named?). Consider:<p><pre><code> {shape-rendering: crisp-edges;} Indicates that the user agent should attempt to emphasize the contrast between clean edges of artwork over rendering speed and geometric precision. To achieve crisp edges, the user agent might turn off anti-aliasing for all lines or possibly just for straight lines which are close to vertical or horizontal. Also, the user agent might adjust line positions and line widths to align edges with device pixels. </code></pre> Would a circle not be a graphic you'd want to be geometrically precise, making {shape-rendering: geometric-precision;} the most appropriate choice?
评论 #4582995 未加载
davebees超过 12 年前
The crispEdges circle doesn't look good – but it's certainly not “blurry”.
评论 #4582963 未加载