mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:32:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			663 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			663 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <LibWeb/Layout/SVGGeometryBox.h>
 | |
| #include <LibWeb/Painting/SVGGraphicsPaintable.h>
 | |
| 
 | |
| namespace Web::Painting {
 | |
| 
 | |
| class SVGGeometryPaintable final : public SVGGraphicsPaintable {
 | |
|     JS_CELL(SVGGeometryPaintable, SVGGraphicsPaintable);
 | |
| 
 | |
| public:
 | |
|     static JS::NonnullGCPtr<SVGGeometryPaintable> create(Layout::SVGGeometryBox const&);
 | |
| 
 | |
|     virtual void paint(PaintContext&, PaintPhase) const override;
 | |
| 
 | |
|     Layout::SVGGeometryBox const& layout_box() const;
 | |
| 
 | |
| protected:
 | |
|     SVGGeometryPaintable(Layout::SVGGeometryBox const&);
 | |
| };
 | |
| 
 | |
| }
 | 
