]> git.eshelyaron.com Git - emacs.git/commit
Stipple support for MS Windows (bug#71159)
authorElias G. Perez <eg642616@gmail.com>
Sat, 11 May 2024 02:36:42 +0000 (20:36 -0600)
committerEshel Yaron <me@eshelyaron.com>
Sun, 2 Jun 2024 11:18:11 +0000 (13:18 +0200)
commit69fae649b179d8d08f879fb270c3f8f9c65fcb49
tree93cf88cdf4da221672a8c35c203b777179eba749
parent7783272fd3ec22ec53319f402280758fd07caa0a
Stipple support for MS Windows (bug#71159)

* src/w32term.c (w32_fill_stipple_pattern): New function.
(w32_draw_glyph_string_bg_rect w32_draw_stretch_glyph_string)
(w32_draw_glyph_string_background): Use new stipple function.
* src/w32term.h (w32_bitmap_record): Add stipple value.
* src/image.c (image_create_bitmap_from_data): Create stipple
bitmap.
(image_create_bitmap_from_file): Add suuport for pixmap and
create stipple bitmap.
(free_bitmap_record): Release stipple.

* etc/NEWS: Announce support for stipples in MS-Windows.

(cherry picked from commit 48bb25c0e37f8489b06b82a4c32f0c6dcc0856e9)
etc/NEWS
src/image.c
src/w32term.c
src/w32term.h