Esempio n. 1
0
 object IFillStyleRGBVisitor <ISwfStreamWriter, object> .Visit(LinearGradientFillStyleRGB fillStyle, ISwfStreamWriter writer)
 {
     writer.WriteMatrix(ref fillStyle.GradientMatrix);
     writer.WriteGradientRGB(fillStyle.Gradient);
     return(null);
 }
Esempio n. 2
0
 public FillStyleRGB Visit(LinearGradientFillStyleRGB fillStyle, ISwfStreamReader reader)
 {
     fillStyle.GradientMatrix = reader.ReadMatrix();
     fillStyle.Gradient       = reader.ReadGradientRGB();
     return(fillStyle);
 }