ソースを参照

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



読み込み中…
キャンセル
保存