dockapps/wmweather+-2.12/wmgeneral/xpm_trans.h
Carlos R. Mafra 21625f40b5 Initial dockapps git repo
I tried to get the latest versions from dockapps.org, but I haven't
tested any of them.

More dockapps will be added as time permits.
2011-03-25 19:45:13 +01:00

8 lines
343 B
C

/* Like copyXPMArea, but only copies non-masked pixels */
void combineWithTrans(int sx, int sy, unsigned w, unsigned h, int dx, int dy);
/* Like combineWithTrans, except it combines pixels by this formula:
* new = (src * o + dest * (256 - o)) / 256
*/
void combineWithOpacity(int sx, int sy, unsigned w, unsigned h, int dx, int dy, int o);