About Store Forum Documentation Contact
Donations:
140$/mo



Post Reply 
Text auto_line Performance
Author Message
fatcoder Offline
Member

Post: #1
Text auto_line Performance
I've noticed that the auto_line member of the Text gui object is set to AUTO_LINE_NONE by default. I'm just wondering if there is any real performance penalty I should worry about with the other auto line modes? There is no information in the code comments about it. Does setting it to something like AUTO_LINE_SPACE cause every character to be tested against the width of the rect?

I'm just wondering (from a performance point of view) if it is OK for me to use AUTO_LINE_SPACE with all my Text objects for convenience, or should I be very selective about using it?
09-18-2012 12:01 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Text auto_line Performance
perf. impact is minimal in that case
09-26-2012 12:58 PM
Find all posts by this user Quote this message in a reply
Post Reply