emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stipples support in MS-Windows port


From: Po Lu
Subject: Re: Stipples support in MS-Windows port
Date: Sun, 05 May 2024 12:30:42 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Po Lu <luangruo@yahoo.com> writes:

> On Android, for instance, the relevant code exists in two functions
> defined in EmacsGC.java, prepareStipple and blitOpaqueStipple, which are
> nothing akin to the X implementation it emulates.  The same is true of
> haikuterm.c, haiku_draw_stipple_background, and BView_DrawBitmapTiled in
> haiku_draw_support.cc.

Perhaps "pattern brushes" are the tool for the job?

  
https://learn.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-createpatternbrush

but please be careful not to use APIs introduced after the earliest
versions of MS-Windows we support, which I believe is Windows NT 4.0.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]