Don't need that
This commit is contained in:
		
							parent
							
								
									29fa7dd45d
								
							
						
					
					
						commit
						a86461ac6b
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
					@ -23,8 +23,6 @@ def render_to_surface(path: str, surface: cairo.Surface, width: float, height: f
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    svg.render_layer(cr, None, rect)
 | 
					    svg.render_layer(cr, None, rect)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    surface
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
def render_to_image(path: str, width: float, height: float, style: Optional[str]=None) -> cairo.Surface:
 | 
					def render_to_image(path: str, width: float, height: float, style: Optional[str]=None) -> cairo.Surface:
 | 
				
			||||||
    surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, int(width), int(height))
 | 
					    surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, int(width), int(height))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue