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

ClearFont option in gfx_2d_print #18

Closed
max9901 opened this issue Apr 7, 2021 · 4 comments
Closed

ClearFont option in gfx_2d_print #18

max9901 opened this issue Apr 7, 2021 · 4 comments

Comments

@max9901
Copy link
Contributor

max9901 commented Apr 7, 2021

add a way to clear a custom font.

//to reset the font.
Graphics2DPrint::clearfont();

This is my first "larger" github project and i will use this fairly simple issue as a way to see if i get the gist of the workflow.

@max9901 max9901 closed this as completed Apr 7, 2021
@uvwxy uvwxy reopened this Apr 7, 2021
@uvwxy uvwxy transferred this issue from Open-Smartwatch/lib-open-smartwatch Apr 7, 2021
@uvwxy
Copy link
Member

uvwxy commented Apr 7, 2021

I re-opened this ticket. I will close it once it has been merged into the source code. Please create a pull request against lib-opensmartwatch

@max9901
Copy link
Contributor Author

max9901 commented Apr 7, 2021

I decided to leave it out because u can just use

Graphics2DPrint::setFont(NULL).

Which is not as user-friendly for a beginning Arduino user but I thought that's probably not our target audience anyway with the lib?

@max9901
Copy link
Contributor Author

max9901 commented Apr 7, 2021

Which btw doesn't guarantee that the cursor is put in the right place I think, but we can probably merge things like this into a rewrite of the Graphics2DPrint class anyway?

@uvwxy
Copy link
Member

uvwxy commented Apr 8, 2021

Ok, we can add this with #15

@uvwxy uvwxy closed this as completed Apr 8, 2021
simonmicro added a commit that referenced this issue Aug 18, 2022
Mix-face : add new virtual graphics development environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants