How about making ssSetFont which takes your font parameters, stores them globally in your RotatedText unit and then sets the font for the current buffer. Then your RotatedText function can retrieve them when it needs to set the same font up for its buffer. You probably already thought of this though?
btw, do you know if DrawBlock is any faster than draw image for non-masked images?
I know you were trying to make a reusable function, but you could easily write a mini function to rotate by 90 degrees only and not use RotateImage function.
btw, do you know if DrawBlock is any faster than draw image for non-masked images?
I know you were trying to make a reusable function, but you could easily write a mini function to rotate by 90 degrees only and not use RotateImage function.