mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	src/buffer: Automatically adapt to scale attribute
Based on discussion in PR #389
This commit is contained in:
		
							parent
							
								
									5626c20c44
								
							
						
					
					
						commit
						505f92e733
					
				
					 3 changed files with 17 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -37,6 +37,8 @@ struct lab_data_buffer {
 | 
			
		|||
	uint32_t format;
 | 
			
		||||
	size_t stride;
 | 
			
		||||
	bool free_on_destroy;
 | 
			
		||||
	uint32_t unscaled_width;
 | 
			
		||||
	uint32_t unscaled_height;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
/* Create a buffer which creates a new cairo CAIRO_FORMAT_ARGB32 surface */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue