Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up use of D2D1_{RECT,SIZE,POINT}_* except at D2D boundaries #507

Open
fredemmott opened this issue Feb 23, 2024 · 0 comments
Open
Labels
internals Behind-the-scenes improvements

Comments

@fredemmott
Copy link
Collaborator

Especially remove the use of floats for pixel-aligned regions.

Use Geometry2D:: instead

@fredemmott fredemmott added the internals Behind-the-scenes improvements label Feb 23, 2024
fredemmott added a commit that referenced this issue Feb 23, 2024
Switch a load of stuff over from D2D to Geometry2D/Pixel* structs

refs #507 - Clean up use of D2D1_{RECT,SIZE}_* except at D2D boundaries
fredemmott added a commit that referenced this issue Feb 23, 2024
refs #507 - Clean up use of D2D1_{RECT,SIZE}_* except at D2D boundaries
fredemmott added a commit that referenced this issue Mar 9, 2024
Mostly to avoid off-by-one/0.5 when dealing with float <-> pixel offsets

refs #507 - Clean up use of D2D1_{RECT,SIZE}_* except at D2D boundaries
fredemmott added a commit that referenced this issue Mar 9, 2024
refs #507 - Clean up use of D2D1_{RECT,SIZE}_* except at D2D boundaries
@fredemmott fredemmott changed the title Clean up use of D2D1_{RECT,SIZE}_* except at D2D boundaries Clean up use of D2D1_{RECT,SIZE,POINT}_* except at D2D boundaries Mar 9, 2024
fredemmott added a commit that referenced this issue Mar 20, 2024
refs #507 - Clean up use of D2D1_{RECT,SIZE,POINT}_* except at D2D boundaries
fredemmott added a commit that referenced this issue Mar 20, 2024
refs #507 - Clean up use of D2D1_{RECT,SIZE,POINT}_* except at D2D boundaries
fredemmott added a commit that referenced this issue Mar 20, 2024
refs #507 - Clean up use of D2D1_{RECT,SIZE,POINT}_* except at D2D boundaries
fredemmott added a commit that referenced this issue May 22, 2024
refs #507 - Clean up use of D2D1_{RECT,SIZE,POINT}_* except at D2D boundaries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internals Behind-the-scenes improvements
Projects
Status: In Progress
Development

No branches or pull requests

1 participant