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

IStringSizeService: HeigthForWidth is missing #13

Open
lytico opened this issue Jul 1, 2022 · 5 comments
Open

IStringSizeService: HeigthForWidth is missing #13

lytico opened this issue Jul 1, 2022 · 5 comments

Comments

@lytico
Copy link
Owner

lytico commented Jul 1, 2022

IStringSizeService can only measure the size of a string, given a fontsize

missing is the usecase:
there is a given Width, and the height for the string needs to be calculated

Hint:
this feature was implemented in Gtk.PlatformCanvas.Text

@thomiel
Copy link

thomiel commented Jul 1, 2022

Are you on it or do you want to delegate this? I once did this for GDI in C++...

@lytico
Copy link
Owner Author

lytico commented Jul 1, 2022

@thomiel i'm on it ...

@thomiel
Copy link

thomiel commented Jul 1, 2022

Ok, let me know if you need help with something else...

@lytico
Copy link
Owner Author

lytico commented Jul 1, 2022

@thomiel thanks, but it seems to to be finished, and GraphicsTester.Gtk works again ...

@lytico
Copy link
Owner Author

lytico commented Jul 1, 2022

ok, missunderstanding: this feature is implemented in Maui.Graphics.Gtk, but NOT in Maui.Graphics.IStringSizeService

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

No branches or pull requests

2 participants