Repository navigation
[CoreGraphics] Document CGWindowImageOption flags - #26997
Conversation
Describe how each option affects window image bounds, opacity, shadows, and resolution. Remove the known-failure entries for the newly documented values. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
There was a problem hiding this comment.
🟢 Approval recommended
The changes are limited to documentation and matching known-failure removals, with no unresolved issues identified.
No open issues 🎉
What changed in this PR
Improves the .NET Core Graphics API documentation for CGWindowImageOption without changing runtime behavior or enum values.
Changes:
- Documents the enum and all six members, including bounds, opacity, shadows, and resolution behavior.
- Removes the documentation known-failure entries for the two newly documented resolution members.
The PR reports successful XML parsing and whitespace validation; the focused Cecil test remains unrun because required SDK components are unavailable.
| File | Description |
|---|---|
| tests/cecil-tests/Documentation.KnownFailures.txt | Removes the two resolved documentation exceptions. |
| src/CoreGraphics/CGImage.cs | Adds descriptions for the enum and its members. |
Review effort: Balanced
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
🚀 [CI Build #e8c9e26] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 217 tests passed 🎉 Tests counts✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Documents CGWindowImageOption and its six flags with descriptions matching the Core Graphics SDK. Removes the two Cecil documentation known-failure entries for BestResolution and NominalResolution.
🤖 Pull request created by Copilot