Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text scaling in TVLDSImageDisplay
05-10-2012, 07:25 AM
Post: #1
Text scaling in TVLDSImageDisplay
Hi,
As far as I can tell, there are two standard methods of writing text to a TVLDSImageDisplay; via the TVLDrawTextLayer and by the TVLGenericFilter OnProcessData event.
However, the size of the text that I put onto the video seems to depend on the resolution of the video that I play. eg. If I put text with a font size of 20 then it will show as small when playing a high res video and large when the video is low res. Is there a way of putting fixed size text onto the video? I want the text to be the same size regardless of the resolution of the video.
Maybe I missed something?
Thanks
Find all posts by this user
Quote this message in a reply
05-10-2012, 08:27 PM
Post: #2
RE: Text scaling in TVLDSImageDisplay
Hi! Maybe you can use the Canvas->TextWidth() and similar functions.

Regards,
Dave
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)