mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-03 23:21:15 +00:00 
			
		
		
		
	Add font LCD sub-pixel anti-aliasing support.
This commit is contained in:
		
							parent
							
								
									230225d360
								
							
						
					
					
						commit
						bcc3643989
					
				
					 49 changed files with 933 additions and 303 deletions
				
			
		| 
						 | 
				
			
			@ -46,6 +46,7 @@ public:
 | 
			
		|||
		CANVAS_RECT_CLIP_UV = 32,
 | 
			
		||||
		CANVAS_RECT_IS_GROUP = 64,
 | 
			
		||||
		CANVAS_RECT_MSDF = 128,
 | 
			
		||||
		CANVAS_RECT_LCD = 256,
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
	struct Light {
 | 
			
		||||
| 
						 | 
				
			
			@ -193,7 +194,7 @@ public:
 | 
			
		|||
			Rect2 rect;
 | 
			
		||||
			Color modulate;
 | 
			
		||||
			Rect2 source;
 | 
			
		||||
			uint8_t flags;
 | 
			
		||||
			uint16_t flags;
 | 
			
		||||
			float outline;
 | 
			
		||||
			float px_range;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue