diff options
author | Lars Knoll <lars@trolltech.com> | 2005-07-01 10:03:25 +0000 |
---|---|---|
committer | Lars Knoll <lars@trolltech.com> | 2005-07-01 10:03:25 +0000 |
commit | c3526e7ea51b7b70d14fb6ad97cc234221ac875a (patch) | |
tree | af8f2f61dfe8d19cfa6c468052d2b12169805246 /render.h | |
parent | c1a679f90a1b9e011060661dfdadd2960489ba95 (diff) |
Add support for gradients and solid fills to Render.
Diffstat (limited to 'render.h')
-rw-r--r-- | render.h | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -33,7 +33,7 @@ typedef unsigned long PictFormat; #define RENDER_NAME "RENDER" #define RENDER_MAJOR 0 -#define RENDER_MINOR 9 +#define RENDER_MINOR 10 #define X_RenderQueryVersion 0 #define X_RenderQueryPictFormats 1 @@ -72,7 +72,12 @@ typedef unsigned long PictFormat; #define X_RenderCreateAnimCursor 31 /* 0.9 */ #define X_RenderAddTraps 32 -#define RenderNumberRequests (X_RenderAddTraps+1) +/* 0.10 */ +#define X_RenderCreateSolidFill 33 +#define X_RenderCreateLinearGradient 34 +#define X_RenderCreateRadialGradient 35 +#define X_RenderCreateConicalGradient 36 +#define RenderNumberRequests (X_RenderCreateConicalGradient+1) #define BadPictFormat 0 #define BadPicture 1 @@ -158,13 +163,13 @@ typedef unsigned long PictFormat; /* Filters included in 0.6 */ #define FilterNearest "nearest" #define FilterBilinear "bilinear" +/* Filters included in 0.10 */ +#define FilterConvolution "convolution" #define FilterFast "fast" #define FilterGood "good" #define FilterBest "best" -#define FilterConvolution "convolution" - #define FilterAliasNone -1 /* Subpixel orders included in 0.6 */ @@ -175,4 +180,10 @@ typedef unsigned long PictFormat; #define SubPixelVerticalBGR 4 #define SubPixelNone 5 +/* Extended repeat attributes included in 0.10 */ +#define RepeatNone 0 +#define RepeatNormal 1 +#define RepeatPad 2 +#define RepeatReflect 3 + #endif /* _RENDER_H_ */ |