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

Add optimizations to the FillPathProcessor that can detect rectangles #40

Closed
tocsoft opened this issue May 2, 2020 · 0 comments · Fixed by #42
Closed

Add optimizations to the FillPathProcessor that can detect rectangles #40

tocsoft opened this issue May 2, 2020 · 0 comments · Fixed by #42
Assignees

Comments

@tocsoft
Copy link
Member

tocsoft commented May 2, 2020

When filling a RectangleF that doesn't overlap pixel boundries (i.e. RectangleF == Floor(RectangleF)) or filling a rectangle when anti-aliasing is disabled then we should use the faster FillProcessor rather than the vector rendering FillRegionProcessor.

FillProcessor will need updating to support passing the rectangle thru as the Source rectangle of the FillProcessor<TPixel> processor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant