mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-01 05:41:01 +00:00 
			
		
		
		
	
		
			
	
	
		
			24 lines
		
	
	
	
		
			571 B
		
	
	
	
		
			C++
		
	
	
	
	
	
		
		
			
		
	
	
			24 lines
		
	
	
	
		
			571 B
		
	
	
	
		
			C++
		
	
	
	
	
	
|   | /*
 | ||
|  |  * Copyright (c) 2024, MacDue <macdue@dueutil.tech> | ||
|  |  * | ||
|  |  * SPDX-License-Identifier: BSD-2-Clause | ||
|  |  */ | ||
|  | 
 | ||
|  | #include <LibWeb/Layout/SVGMaskBox.h>
 | ||
|  | #include <LibWeb/Painting/SVGMaskPaintable.h>
 | ||
|  | #include <LibWeb/Painting/StackingContext.h>
 | ||
|  | 
 | ||
|  | namespace Web::Layout { | ||
|  | 
 | ||
|  | SVGMaskBox::SVGMaskBox(DOM::Document& document, SVG::SVGMaskElement& element, NonnullRefPtr<CSS::StyleProperties> properties) | ||
|  |     : SVGGraphicsBox(document, element, properties) | ||
|  | { | ||
|  | } | ||
|  | 
 | ||
|  | JS::GCPtr<Painting::Paintable> SVGMaskBox::create_paintable() const | ||
|  | { | ||
|  |     return Painting::SVGMaskPaintable::create(*this); | ||
|  | } | ||
|  | 
 | ||
|  | } |