-
Notifications
You must be signed in to change notification settings - Fork 806
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
Implementation of ClearRect with masking support #2133
Conversation
Note: the second iteration is the change from the last CR. @DHowett-MSFT please take a look at the new heart art :) |
Looks like git lfs is failing on build machines |
|
||
HRESULT __CGContext::ClearRect(CGRect rect) { | ||
PushBeginDraw(); | ||
auto endDraw = wil::ScopeExit([this]() { PopEndDraw(); }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prefer return PopEndDraw()
at the end; otherwise, we lose the HRESULT from EndDraw.
so on the build machine, the generated image for one of the tests differ by a pixel :( |
Verbal extra sign off by @DHowett-MSFT merging . |
No description provided.