Project

General

Profile

« Previous | Next » 

Revision 20da89d3

Added by skyjake over 11 years ago

Optimize|Client|FontLineWrapping: Better findMaxWrap; made thread-safe

FontLineWrapping now uses a findMaxWrap() method that relies on
advance widths of individual characters rather than recalculating
longer portions of text repeatedly. (Old algorithm #if 0'd.)

FontLineWrapping is also Lockable and locks itself automatically
when in use.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences