is there any way to know how many pixels a string will take with a certain font?
I'm trying to do a centeredPrint function, but I can't figure how many pixels the string will take without printing it twice
TIA :)
I'm trying to do a centeredPrint function, but I can't figure how many pixels the string will take without printing it twice
TIA :)