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

Different definitiions for fields width and height #142

Open
mickpf opened this issue Dec 11, 2017 · 0 comments
Open

Different definitiions for fields width and height #142

mickpf opened this issue Dec 11, 2017 · 0 comments

Comments

@mickpf
Copy link

mickpf commented Dec 11, 2017

Hello,

Could you please specify unique throughout the class "Adafruit_GFX" whether width and height are used as signed or unsigned.
See:

    getTextBounds(char *string, int16_t x, int16_t y,
      int16_t *x1, int16_t *y1, uint16_t *w, uint16_t *h),                 <<== unsigned

and

    drawBitmap(int16_t x, int16_t y, uint8_t *bitmap,
      int16_t w, int16_t h, uint16_t color),                               <<== signed

Thanks in advance
Michael

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