Re: [fxtf-drafts] [filter-effects-1] Add edgemode=reflect (#527)

> Thanks for filing! For some parts of the current Firefox implementation (specifically Canvas2D filters on Windows) it would be convenient if the reflection worked the same as in [`D2D1_BORDER_EDGE_MODE_MIRROR`](https://learn.microsoft.com/en-us/windows/win32/api/d2d1effects/ne-d2d1effects-d2d1_border_edge_mode).

I'm not sure where it is defined, but looking at https://learn.microsoft.com/en-us/windows/win32/direct2d/border#mirror it does look like the mirroring is equivalent to the proposal here - repeating the border pixels - such that you can draw an image 2x the original size and have exactly one mirrored copy.

-- 
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/527#issuecomment-1777362603 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 24 October 2023 14:37:40 UTC