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

Clarify variable names #2

Merged
merged 2 commits into from
Feb 25, 2023

Conversation

radarhere
Copy link

Suggestions for python-pillow#6971

Rather than length, error_code, chunk, I suggest we use existing variable names from another part of Pillow.

I've also adjusted the BDF variable names and comments to better match the specification.

DWIDTH specifies the widths in x and y, dwx0 and dwy0, in device pixels.

BBX is fllowed by BBw, the width of the black pixels in x, and BBh, the height in y. These are followed by the x and y displacement, BBxoff0 and BByoff0, of the lower left corner of the bitmap from origin 0.

@akx akx merged commit c799bd8 into akx:clarify-variable-names Feb 25, 2023
@radarhere radarhere deleted the clarify-variable-names branch February 25, 2023 19:51
akx pushed a commit that referenced this pull request Jun 28, 2023
akx pushed a commit that referenced this pull request Aug 6, 2024
akx pushed a commit that referenced this pull request Aug 6, 2024
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 this pull request may close these issues.

2 participants