mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-11-01 01:18:38 +08:00 
			
		
		
		
	 a1cb9a06ad
			
		
	
	a1cb9a06ad
	
	
	
		
			
			This will:
    kill the TextRenderer inheritance chain
    incorporate the functionality of the base TextRenderer in the base TextFormatter
    rename TextFormatter to TextRenderer and appropriate references
That is because both essentially do the same job; encompass the style (or "how") information about how to render text, but using two slightly different interfaces. While that could allow for more flexibility, it is a faux choice that needlessly complicates the pipeline. By having a single interface to comply with, we still allow for custom renders while at the same time making all the code downstream simpler to use and understand.
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			464 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			464 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| export 'src/close_to_aabb.dart' show closeToAabb;
 | |
| export 'src/close_to_vector.dart';
 | |
| export 'src/debug_text_renderer.dart' show DebugTextRenderer;
 | |
| export 'src/expect_double.dart';
 | |
| export 'src/fails_assert.dart';
 | |
| export 'src/flame_test.dart';
 | |
| export 'src/mock_gesture_events.dart';
 | |
| export 'src/mock_image.dart';
 | |
| export 'src/mock_tap_drag_events.dart';
 | |
| export 'src/random_test.dart';
 | |
| export 'src/test_flame_game.dart';
 | |
| export 'src/test_golden.dart' show testGolden;
 |