Use pixman types for transforms and vectors

This commit is contained in:
Soren Sandmann Pedersen 2007-05-15 17:12:22 -04:00
parent f2e30e7d0a
commit f4c1d5fc28

View File

@ -54,13 +54,8 @@ typedef struct _PictFormat {
IndexFormatRec index; IndexFormatRec index;
} PictFormatRec; } PictFormatRec;
typedef struct _PictVector { typedef struct pixman_vector PictVector, *PictVectorPtr;
xFixed vector[3]; typedef struct pixman_transform PictTransform, *PictTransformPtr;
} PictVector, *PictVectorPtr;
typedef struct _PictTransform {
xFixed matrix[3][3];
} PictTransform, *PictTransformPtr;
#define PICT_GRADIENT_STOPTABLE_SIZE 1024 #define PICT_GRADIENT_STOPTABLE_SIZE 1024
#define SourcePictTypeSolidFill 0 #define SourcePictTypeSolidFill 0
@ -78,10 +73,7 @@ typedef struct _PictSolidFill {
CARD32 color; CARD32 color;
} PictSolidFill, *PictSolidFillPtr; } PictSolidFill, *PictSolidFillPtr;
typedef struct _PictGradientStop { typedef struct pixman_gradient_stop PictGradientStop, *PictGradientStopPtr;
xFixed x;
xRenderColor color;
} PictGradientStop, *PictGradientStopPtr;
typedef struct _PictGradient { typedef struct _PictGradient {
unsigned int type; unsigned int type;