Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[YAPC] X11 pixels operations (for reference) #11

Open
CHiPs44 opened this issue Oct 3, 2024 · 0 comments
Open

[YAPC] X11 pixels operations (for reference) #11

CHiPs44 opened this issue Oct 3, 2024 · 0 comments

Comments

@CHiPs44
Copy link
Owner

CHiPs44 commented Oct 3, 2024

From https://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.html:

Function Operation
Clear 0
And src AND dst
AndReverse src AND (NOT dst)
Copy src
AndInverted (NOT src) AND dst
NoOp dst
Xor src XOR dst
Or src OR dst
Nor (NOT src) AND (NOT dst)
Equiv (NOT src) XOR dst
Invert NOT dst
OrReverse src OR (NOT dst)
CopyInverted NOT src
OrInverted (NOT src) OR dst
Nand (NOT src) OR (NOT dst)
Set 1

(cf. https://web.archive.org/web/20220116094036/https://www.hpl.hp.com/techreports/Compaq-DEC/WRL-93-1.pdf)

@CHiPs44 CHiPs44 changed the title [Idea] X11 pixels operations [YAPC] X11 pixels operations (for reference) Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant