DescriptionSnap paint offset paint property to pixel boundaries
Transformed content is snapped to pixel boundaries to reduce aliasing
so we need to pixel snap the paint offset transform created before
transform paint property nodes. Any leftover subpixel value is analagous
to the subpixel accumulation on PaintLayer.h and is passed through to
the transformed content.
Committed: https://crrev.com/5a41d4879655e6e726b84f83b72a8bf52ccc8e07
Cr-Commit-Position: refs/heads/master@{#403322}
Patch Set 1 #
Total comments: 7
Patch Set 2 : Add more tests, cleanup comments #
Total comments: 2
Patch Set 3 : More unit tests for simple snapping and fixed position #Messages
Total messages: 30 (9 generated)
|