Переглянути джерело

* Set the default dithering mode to Floyd-Steinberg.

tags/v0.99.beta14
Sam Hocevar sam 19 роки тому
джерело
коміт
7f5fb19a39
1 змінених файлів з 5 додано та 0 видалено
  1. +5
    -0
      cucul/bitmap.c

+ 5
- 0
cucul/bitmap.c Переглянути файл

@@ -314,6 +314,11 @@ struct cucul_bitmap *cucul_create_bitmap(unsigned int bpp, unsigned int w,
bitmap->glyphs = ascii_glyphs;
bitmap->glyph_count = sizeof(ascii_glyphs) / sizeof(*ascii_glyphs);

/* Default dithering mode */
bitmap->init_dither = init_fstein_dither;
bitmap->get_dither = get_fstein_dither;
bitmap->increment_dither = increment_fstein_dither;

return bitmap;
}



Завантаження…
Відмінити
Зберегти