Pārlūkot izejas kodu

* Set the default dithering mode to Floyd-Steinberg.

tags/v0.99.beta14
Sam Hocevar sam pirms 19 gadiem
vecāks
revīzija
7f5fb19a39
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. +5
    -0
      cucul/bitmap.c

+ 5
- 0
cucul/bitmap.c Parādīt failu

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



Notiek ielāde…
Atcelt
Saglabāt