mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +00:00 
			
		
		
		
	Added Image's load_svg_from_(buffer|string)
				
					
				
			No core dependency to the svg module.
This commit is contained in:
		
							parent
							
								
									f9fc77bbe4
								
							
						
					
					
						commit
						26eb3db234
					
				
					 15 changed files with 96 additions and 44 deletions
				
			
		|  | @ -515,8 +515,7 @@ EditorExportPlatformUWP::EditorExportPlatformUWP() { | |||
| 	Ref<Image> img = memnew(Image); | ||||
| 	const bool upsample = !Math::is_equal_approx(Math::round(EDSCALE), EDSCALE); | ||||
| 
 | ||||
| 	ImageLoaderSVG img_loader; | ||||
| 	img_loader.create_image_from_string(img, _uwp_logo_svg, EDSCALE, upsample, false); | ||||
| 	ImageLoaderSVG::create_image_from_string(img, _uwp_logo_svg, EDSCALE, upsample, false); | ||||
| 
 | ||||
| 	logo = ImageTexture::create_from_image(img); | ||||
| #endif | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felipe Augusto Marques
						Felipe Augusto Marques