Use pixman types for transforms and vectors
This commit is contained in:
		
							parent
							
								
									f2e30e7d0a
								
							
						
					
					
						commit
						f4c1d5fc28
					
				|  | @ -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; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue