Commit 6caf277e authored by Robert Ancell's avatar Robert Ancell Committed by Bernhard Link

render: Support extension version 0.10

parent ca8180a6
...@@ -77,7 +77,12 @@ SetPictureFilter ...@@ -77,7 +77,12 @@ SetPictureFilter
# 0.8 # 0.8
CreateAnimCursor CreateAnimCursor
# 0.9 # 0.9
AddTraps /*32*/ AddTraps
# 0.10
CreateSolidFill
CreateLinearGradient
CreateRadialGradient
CreateConicalGradient /* 36 */
END END
EVENTS EVENTS
...@@ -226,7 +231,14 @@ LIST IndexValue length 12 ...@@ -226,7 +231,14 @@ LIST IndexValue length 12
10 alpha CARD16 10 alpha CARD16
END END
LIST POINTFIXED length 8 STRUCT COLOR length 8
0 red CARD16
2 green CARD16
4 blue CARD16
6 alpha CARD16
END
STRUCT POINTFIXED length 8
0 x FIXED 0 x FIXED
4 y FIXED 4 y FIXED
END END
...@@ -490,10 +502,7 @@ END ...@@ -490,10 +502,7 @@ END
REQUEST FillRectangles REQUEST FillRectangles
4 op PictOp 4 op PictOp
8 dst PICTURE 8 dst PICTURE
12 red CARD16 12 color COLOR
14 green CARD16
16 blue CARD16
18 alpha CARD16
20 rects LISTofRECTANGLE 20 rects LISTofRECTANGLE
END END
...@@ -566,4 +575,39 @@ REQUEST AddTraps ...@@ -566,4 +575,39 @@ REQUEST AddTraps
12 traps LISTofTRAP 12 traps LISTofTRAP
END END
REQUEST CreateSolidFill
4 picture PICTURE
8 color COLOR
END
REQUEST CreateLinearGradient
4 picture PICTURE
8 p1 POINTFIXED
16 p2 POINTFIXED
24 numStops COUNT32
28 stops LISTofFIXED
RESET_COUNTER
LATER colors LISTofCOLOR
END
REQUEST CreateRadialGradient
4 picture PICTURE
8 inner POINTFIXED
16 outer POINTFIXED
24 innerRadius FIXED
28 outerRadius FIXED
32 numStops COUNT32
36 stops LISTofFIXED
RESET_COUNTER
LATER colors LISTofCOLOR
END
REQUEST CreateConicalGradient
4 picture PICTURE
8 center POINTFIXED
16 angle FIXED
20 numStops COUNT32
24 stops LISTofFIXED
END
EOF EOF
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment