Welcome Guest. Please Login or Register. Mar 31st, 2018, 10:46pm
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. We apologize Conforums does not have any export functions to migrate data. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
Thank you Conforums members.
Cross-platform BBC BASIC (Windows, Linux x86, Mac OS-X, Android, iOS, Raspberry Pi)
Re: Angled text
« Reply #2 on: Feb 18th, 2018, 4:32pm »
Or, I suppose, one could save a small area of the screen and restore it. I do do that for my scrolling text routine, but there the "bounding box" is easy - a single line across the screen.
Is there any way of finding the bounding box of some angled text?
Is there any way of finding the bounding box of some angled text?
If GDI is working properly, it should always update the 'system' bounding box, i.e. the one accessed by the SetBoundsRect and GetBoundsRect APIs.
I say "if GDI is working properly" not because I suspect it isn't - hopefully you can be confident that it will work in 'real' Windows - but because for a long time it didn't work in Wine and this was a major compatibility issue for BB4W. I don't even know for sure that angled text updates the bounding box in Wine now.