mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:22:43 +00:00 
			
		
		
		
	 f74e2da875
			
		
	
	
		f74e2da875
		
	
	
	
	
		
			
			This is a first pass at implementing CRC2D.createPattern() and the associated CanvasPattern object. This implementation only works for a few of the required image sources [like CRC2D.drawImage()], and does not yet support transforms. Other than that it supports everything else (which is mainly the various repeat modes).
		
			
				
	
	
		
			5 lines
		
	
	
	
		
			151 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
	
		
			151 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| [Exposed=(Window,Worker)]
 | |
| interface CanvasPattern {
 | |
|   // opaque object
 | |
|   // FIXME: undefined setTransform(optional DOMMatrix2DInit transform = {});
 | |
| };
 |