I am porting an old application (2013) that has window.graphics stuffs like textFont, textSize, stringHeight, stringWidth, etc. Xojo 2022r1 says that window is deprecated and suggests DesktopWindow.
What is the equivalent of “graphics” in DesktopWindow?
There isn’t one. You’ll be passed the same type of Graphics object in the Paint event. Some of those text properties have changed, but you can discover them again on the new documentation.