| 
									
										
										
										
											2017-05-16 03:25:09 +08:00
										 |  |  | // Aseprite Render Library
 | 
					
						
							| 
									
										
										
										
											2019-04-02 08:44:06 +08:00
										 |  |  | // Copyright (c) 2019 Igara Studio S.A.
 | 
					
						
							| 
									
										
										
										
											2017-05-16 03:25:09 +08:00
										 |  |  | // Copyright (c) 2001-2017 David Capello
 | 
					
						
							|  |  |  | //
 | 
					
						
							|  |  |  | // This file is released under the terms of the MIT license.
 | 
					
						
							|  |  |  | // Read LICENSE.txt for more information.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef RENDER_DITHERING_METHOD_H_INCLUDED
 | 
					
						
							|  |  |  | #define RENDER_DITHERING_METHOD_H_INCLUDED
 | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace render { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   // Dithering algorithms
 | 
					
						
							|  |  |  |   enum class DitheringAlgorithm { | 
					
						
							|  |  |  |     None, | 
					
						
							|  |  |  |     Ordered, | 
					
						
							| 
									
										
										
										
											2017-05-24 01:56:06 +08:00
										 |  |  |     Old, | 
					
						
							| 
									
										
										
										
											2019-04-02 08:44:06 +08:00
										 |  |  |     ErrorDiffusion, | 
					
						
							| 
									
										
										
										
											2017-05-16 03:25:09 +08:00
										 |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | } // namespace render
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif
 |