Преглед на файлове

* 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;
}



Зареждане…
Отказ
Запис