mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	util: add docs for wlr_region_scale
This commit is contained in:
		
							parent
							
								
									4223fbc763
								
							
						
					
					
						commit
						a98ece68d3
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -3,6 +3,12 @@
 | 
			
		|||
 | 
			
		||||
#include <pixman.h>
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Scales a region, ie. multiplies all its coordinates by `scale`.
 | 
			
		||||
 *
 | 
			
		||||
 * The resulting coordinates are rounded up or down so that the new region is
 | 
			
		||||
 * at least as big as the original one.
 | 
			
		||||
 */
 | 
			
		||||
void wlr_region_scale(pixman_region32_t *dst, pixman_region32_t *src,
 | 
			
		||||
	float scale);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue