From 146c4b5ad786c4b289d225cdf7abf54d5ebbc216 Mon Sep 17 00:00:00 2001
From: kramm <kramm>
Date: Mon, 19 May 2003 18:55:08 +0000
Subject: [PATCH] * added gradients to fillstyle struct * some shape handling
 prototypes changed * added owidth, oheight to VIDEOSTREAM
 struct

---
 lib/rfxswf.h |   17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/lib/rfxswf.h b/lib/rfxswf.h
index 4b6e3b3..673429a 100644
--- a/lib/rfxswf.h
+++ b/lib/rfxswf.h
@@ -338,10 +338,11 @@ typedef struct _LINESTYLE
 } LINESTYLE, * LPLINESTYLE;
 
 typedef struct _FILLSTYLE
-{ U8     type;
-  RGBA   color;
-  MATRIX         m; 
-  U16    id_bitmap;
+{ U8	    type;
+  RGBA	    color;
+  MATRIX    m; 
+  U16	    id_bitmap;
+  GRADIENT* gradient;
 } FILLSTYLE, * LPFILLSTYLE;
      
 typedef struct _SHAPE           // NEVER access a Shape-Struct directly !
@@ -419,9 +420,9 @@ void  swf_ShapeSetBitmapRect(TAG * t, U16 gfxid, int width, int height);
 
 SHAPELINE* swf_ParseShapeData(U8*data, int bits, int fillbits, int linebits);
 SHAPE2*	   swf_ShapeToShape2(SHAPE*shape);
-SHAPE*	   swf_Shape2ToShape(SHAPE2*shape);
-SRECT	   swf_GetShapeBoundingBox(SHAPELINE*shape);
-int	   swf_SetShape2(TAG*tag, SHAPE2*shape);
+void	   swf_Shape2ToShape(SHAPE2*shape2, SHAPE*shape);
+SRECT	   swf_GetShapeBoundingBox(SHAPE2*shape);
+void	    swf_SetShape2(TAG*tag, SHAPE2*shape);
 void	   swf_Shape2Free(SHAPE2 * s);
 
 // swffont.c
@@ -849,6 +850,8 @@ typedef struct _VIDEOSTREAM
 {
     int width;
     int height;
+    int owidth;
+    int oheight;
     int frame;
     int linex;
     int olinex;
-- 
1.7.10.4