diff options
author | Soren Sandmann Pedersen <ssp@dhcp83-218.boston.redhat.com> | 2007-05-15 17:12:22 -0400 |
---|---|---|
committer | Soren Sandmann Pedersen <ssp@dhcp83-218.boston.redhat.com> | 2007-05-15 17:12:22 -0400 |
commit | f4c1d5fc28a5a7fe2592505350f9e2331f6049b7 (patch) | |
tree | 79060215579629976aa347bc97a694a9fde9cd8b /render | |
parent | f2e30e7d0a1d075e7e83c5b5ceca9e4752951138 (diff) |
Use pixman types for transforms and vectors
Diffstat (limited to 'render')
-rw-r--r-- | render/picturestr.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/render/picturestr.h b/render/picturestr.h index 62687681d..9259cad99 100644 --- a/render/picturestr.h +++ b/render/picturestr.h @@ -54,13 +54,8 @@ typedef struct _PictFormat { IndexFormatRec index; } PictFormatRec; -typedef struct _PictVector { - xFixed vector[3]; -} PictVector, *PictVectorPtr; - -typedef struct _PictTransform { - xFixed matrix[3][3]; -} PictTransform, *PictTransformPtr; +typedef struct pixman_vector PictVector, *PictVectorPtr; +typedef struct pixman_transform PictTransform, *PictTransformPtr; #define PICT_GRADIENT_STOPTABLE_SIZE 1024 #define SourcePictTypeSolidFill 0 @@ -78,10 +73,7 @@ typedef struct _PictSolidFill { CARD32 color; } PictSolidFill, *PictSolidFillPtr; -typedef struct _PictGradientStop { - xFixed x; - xRenderColor color; -} PictGradientStop, *PictGradientStopPtr; +typedef struct pixman_gradient_stop PictGradientStop, *PictGradientStopPtr; typedef struct _PictGradient { unsigned int type; |