| 
									
										
										
										
											2024-08-20 15:12:55 +01:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * Copyright (c) 2024, Tim Ledbetter <tim.ledbetter@ladybird.org> | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * SPDX-License-Identifier: BSD-2-Clause | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <LibWeb/Layout/SVGImageBox.h>
 | 
					
						
							|  |  |  | #include <LibWeb/Painting/ImagePaintable.h>
 | 
					
						
							|  |  |  | #include <LibWeb/Painting/SVGGraphicsPaintable.h>
 | 
					
						
							|  |  |  | #include <LibWeb/Painting/StackingContext.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace Web::Layout { | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-12-20 16:35:12 +01:00
										 |  |  | SVGImageBox::SVGImageBox(DOM::Document& document, SVG::SVGGraphicsElement& element, GC::Ref<CSS::ComputedProperties> style) | 
					
						
							|  |  |  |     : SVGGraphicsBox(document, element, style) | 
					
						
							| 
									
										
										
										
											2024-08-20 15:12:55 +01:00
										 |  |  | { | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-15 04:01:23 +13:00
										 |  |  | GC::Ptr<Painting::Paintable> SVGImageBox::create_paintable() const | 
					
						
							| 
									
										
										
										
											2024-08-20 15:12:55 +01:00
										 |  |  | { | 
					
						
							|  |  |  |     return Painting::ImagePaintable::create(*this); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | } |