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