D
Dave101
Guest
Hi,
I'm trying to implement a text scroll box using Direct2D and DirectWrite. Essentially I want to be able to display an unspecified amount of text within a specified RECT.
I'm able to clip the text to the specified RECT but unable to find a method that will allow the text starting position to be offset in the y position to give the impression of scrolling. If I change the draw position, then the RECT moves by the same offset.
Please let me know if there's a supported method to achieve what I'm looking for or will I have to implement a custom text renderer?
Any suggestions will be greatly appreciated.
Dave
Continue reading...
I'm trying to implement a text scroll box using Direct2D and DirectWrite. Essentially I want to be able to display an unspecified amount of text within a specified RECT.
I'm able to clip the text to the specified RECT but unable to find a method that will allow the text starting position to be offset in the y position to give the impression of scrolling. If I change the draw position, then the RECT moves by the same offset.
Please let me know if there's a supported method to achieve what I'm looking for or will I have to implement a custom text renderer?
Any suggestions will be greatly appreciated.
Dave
Continue reading...