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

Added getXAdvance and getYAdvance methods #156

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cmarrin
Copy link

@cmarrin cmarrin commented Apr 4, 2018

I needed to render individual characters to allow me to scroll very long messages on my MAX7219 based display. To do that I needed to get the xAdvance for the character. Here is my PR for that update. I also added a corresponding getYAdvance just in case.

cmarrin added a commit to cmarrin/ESPlib that referenced this pull request Apr 4, 2018
I added a proper getXAdvance method to the Adafruit_GFX library and submitted upstream.
This patch requires this PR: adafruit/Adafruit-GFX-Library#156
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.

1 participant