From f4c1d5fc28a5a7fe2592505350f9e2331f6049b7 Mon Sep 17 00:00:00 2001 From: Soren Sandmann Pedersen Date: Tue, 15 May 2007 17:12:22 -0400 Subject: Use pixman types for transforms and vectors --- render/picturestr.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'render/picturestr.h') 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; -- cgit v1.2.3