| 1 | // Aseprite Render Library | 
|---|
| 2 | // Copyright (c) 2019 Igara Studio S.A. | 
|---|
| 3 | // Copyright (c) 2001-2017 David Capello | 
|---|
| 4 | // | 
|---|
| 5 | // This file is released under the terms of the MIT license. | 
|---|
| 6 | // Read LICENSE.txt for more information. | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef RENDER_DITHERING_METHOD_H_INCLUDED | 
|---|
| 9 | #define RENDER_DITHERING_METHOD_H_INCLUDED | 
|---|
| 10 | #pragma once | 
|---|
| 11 |  | 
|---|
| 12 | namespace render { | 
|---|
| 13 |  | 
|---|
| 14 | // Dithering algorithms | 
|---|
| 15 | enum class DitheringAlgorithm { | 
|---|
| 16 | None, | 
|---|
| 17 | Ordered, | 
|---|
| 18 | Old, | 
|---|
| 19 | ErrorDiffusion, | 
|---|
| 20 | }; | 
|---|
| 21 |  | 
|---|
| 22 | } // namespace render | 
|---|
| 23 |  | 
|---|
| 24 | #endif | 
|---|
| 25 |  | 
|---|