diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2011-03-29 00:07:44 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2011-04-22 21:39:36 -0400 |
commit | 2b0cabec620f3a2a5e431052441b092ef979bf94 (patch) | |
tree | 4b3fdee3c91c1bd66656b84b9505dddbcd8e192e /render/picturestr.h | |
parent | b0d84f94393edab395d65d2b2cb983fc9fec3d36 (diff) |
render: Remove unused fields in the source picture structs
The fields class, stopRange, colorTable and colorTableSize are not
used by any current code.
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Soren Sandmann <ssp@redhat.com>
Diffstat (limited to 'render/picturestr.h')
-rw-r--r-- | render/picturestr.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/render/picturestr.h b/render/picturestr.h index 8b387f7d9..c536c38e6 100644 --- a/render/picturestr.h +++ b/render/picturestr.h @@ -65,13 +65,8 @@ typedef struct pixman_transform PictTransform, *PictTransformPtr; #define SourcePictTypeRadial 2 #define SourcePictTypeConical 3 -#define SourcePictClassUnknown 0 -#define SourcePictClassHorizontal 1 -#define SourcePictClassVertical 2 - typedef struct _PictSolidFill { unsigned int type; - unsigned int class; CARD32 color; } PictSolidFill, *PictSolidFillPtr; @@ -82,22 +77,14 @@ typedef struct _PictGradientStop { typedef struct _PictGradient { unsigned int type; - unsigned int class; int nstops; PictGradientStopPtr stops; - int stopRange; - CARD32 *colorTable; - int colorTableSize; } PictGradient, *PictGradientPtr; typedef struct _PictLinearGradient { unsigned int type; - unsigned int class; int nstops; PictGradientStopPtr stops; - int stopRange; - CARD32 *colorTable; - int colorTableSize; xPointFixed p1; xPointFixed p2; } PictLinearGradient, *PictLinearGradientPtr; @@ -110,28 +97,16 @@ typedef struct _PictCircle { typedef struct _PictRadialGradient { unsigned int type; - unsigned int class; int nstops; PictGradientStopPtr stops; - int stopRange; - CARD32 *colorTable; - int colorTableSize; PictCircle c1; PictCircle c2; - double cdx; - double cdy; - double dr; - double A; } PictRadialGradient, *PictRadialGradientPtr; typedef struct _PictConicalGradient { unsigned int type; - unsigned int class; int nstops; PictGradientStopPtr stops; - int stopRange; - CARD32 *colorTable; - int colorTableSize; xPointFixed center; xFixed angle; } PictConicalGradient, *PictConicalGradientPtr; |