Device-aware cubic-to-quadratic approximation for filled paths. More...
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Functions | |
| double | donner::geode::FillCubicToleranceFor (const Transform2d &deviceFromLocal) |
| Path-local cubic approximation tolerance for the draw-time transform. | |
Device-aware cubic-to-quadratic approximation for filled paths.
|
inline |
Path-local cubic approximation tolerance for the draw-time transform.
Power-of-two scale buckets allow reuse during zoom. Minified paths retain the historical 0.1 tolerance; magnified paths are refined conservatively.
| deviceFromLocal | Transform applied to the encoded path at draw time. |