MicrosoftDocs / winrt-api

WinRT reference content for developing Microsoft Universal Windows Platform (UWP) apps
Creative Commons Attribution 4.0 International
231 stars 499 forks source link

Clarify BitmapPlaneDescription.StartIndex #2369

Closed robunoki-microsoft closed 1 year ago

robunoki-microsoft commented 1 year ago

The description of BitmapPlaneDescription.StartIndex should be clarified to indicate that it is a byte offset in the buffer for the start pixel. Saying it is the "index of the start pixel" is ambiguous since it doesn't specify the units of the index.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

drewbatgit commented 1 year ago

Thanks for identifying this issue. I've updated the description to "The byte offset to the start of the pixel data within the plane."

robunoki-microsoft commented 1 year ago

Thank you Drew :)