Commit b929f3d6 authored by Raphael Junqueira's avatar Raphael Junqueira Committed by Alexandre Julliard

Added support for SHADEBLENDCAPS.

parent c4569d92
......@@ -227,6 +227,8 @@ INT X11DRV_GetDeviceCaps( X11DRV_PDEVICE *physDev, INT cap )
return (RC_BITBLT | RC_BANDING | RC_SCALING | RC_BITMAP64 | RC_DI_BITMAP |
RC_DIBTODEV | RC_BIGFONT | RC_STRETCHBLT | RC_STRETCHDIB | RC_DEVBITS |
(palette_size ? RC_PALETTE : 0));
case SHADEBLENDCAPS:
return (SB_GRAD_RECT | SB_GRAD_TRI | SB_CONST_ALPHA | SB_PIXEL_ALPHA);
case ASPECTX:
case ASPECTY:
return 36;
......
......@@ -1635,6 +1635,8 @@ typedef struct tagEXTLOGPEN
#define DESKTOPVERTRES 117
#define DESKTOPHORZRES 118
#define BTLALIGNMENT 119
#define SHADEBLENDCAPS 120
#define COLORMGMTCAPS 121
/* TECHNOLOGY */
#define DT_PLOTTER 0
......@@ -1725,7 +1727,6 @@ typedef struct tagEXTLOGPEN
#define RC_DEVBITS 0x8000
/* CAPS1 */
#define C1_TRANSPARENT 0x0001
#define TC_TT_ABLE 0x0002
#define C1_TT_CR_ANY 0x0004
......@@ -1740,6 +1741,14 @@ typedef struct tagEXTLOGPEN
#define C1_CMYK_ABLE 0x1000
#define C1_SLOW_CARD 0x2000
/* SHADEBLENDCAPS */
#define SB_NONE 0x0000
#define SB_CONST_ALPHA 0x0001
#define SB_PIXEL_ALPHA 0x0002
#define SB_PREMULT_ALPHA 0x0004
#define SB_GRAD_RECT 0x0010
#define SB_GRAD_TRI 0x0020
/* Device-independent bitmaps */
typedef struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment