소스 검색

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



불러오는 중...
취소
저장