| 15 | : mPath(path), mTransform(transform) {} |
| 16 | |
| 17 | vec2f XYPathRenderer::compute_float(float alpha, const TransformFloat &tx) { |
| 18 | vec2f xy = mPath->compute(alpha); |
| 19 | vec2f out = tx.transform(xy); |
| 20 | out = mGridTransform.transform(out); |
| 21 | return out; |
| 22 | } |
| 23 | |
| 24 | Tile2x2_u8 XYPathRenderer::at_subpixel(float alpha) { |
| 25 | // 1) continuous point, in “pixel‐centers” coordinates [0.5 … W–0.5] |