justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: I noticed, that loading a png with with transparency with the gfx-functions, that the transparency is obeyed when blitting it. Is there a way to draw transparent pixels in gfx as well? I only found that I could use normal colors but I might have missed some way to draw transparency...
Asked by Mespotine (212.122.61.x) on May 26 2026, 1:00pm
Reply on May 26 2026, 1:48pm:
    yes! gfx_a2 controls what is written to the alpha channel. and of course you can also control whether the alpha channel is used when blitting by setting a bit of gfx_mode

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2026 Justin Frankel. | RSS