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: Elijah G
Subject: Re: Stipples support in MS-Windows port
Date: Sun, 5 May 2024 23:17:06 -0600

El sáb., 4 de mayo de 2024 10:30 p. m., Po Lu <luangruo@yahoo.com> escribió:
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.

Thank you, i've read the documentation and i think it can also be useful, i will do some test for see the result.


reply via email to

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