public void EndSubBuffer(SVGLinearGradientBrush linearGradientBrush, SVGColor? strokePathColor) { PreEndSubBuffer(); for(int i = inZoneL; i < subW + inZoneL; i++) { for(int j = inZoneT; j < subH + inZoneT; j++) { if(flag[i, j] != FILL_FLAG) { Color _color = linearGradientBrush.GetColor(i, j); graphics.SetColor(_color); graphics.SetPixel(i, j); } } } graphics.SetColor(strokePathColor.Value.color); FillInZone(); }
//Fill Linear Gradient, with fill Stroke public void EndSubBuffer(SVGLinearGradientBrush linearGradientBrush, SVGColor? strokePathColor) { PreEndSubBuffer(); for(int i = this._inZoneL; i < this._subW + this._inZoneL; i++) { for(int j = this._inZoneT; j < this._subH + this._inZoneT; j++) { if(this._flag[i, j] != -1) { Color _color = linearGradientBrush.GetColor(i, j); this._graphics.SetColor(_color); this._graphics.SetPixel(i, j); } } } this._graphics.SetColor(strokePathColor.Value.color); for(int i = this._inZoneL; i < this._subW + this._inZoneL; i++) for(int j = this._inZoneT; j < this._subH + this._inZoneT; j++) if(this._flag[i, j] > 0) this._graphics.SetPixel(i, j); }
public void EndSubBuffer(SVGLinearGradientBrush linearGradientBrush) { PreEndSubBuffer(); for(int i = inZoneL; i < subW + inZoneL; i++) { for(int j = inZoneT; j < subH + inZoneT; j++) { if(flag[i, j] == 0) { Color _color = linearGradientBrush.GetColor(i, j); graphics.SetColor(_color); graphics.SetPixel(i, j); } } } }
//Fill Linear Gradient, no fill Stroke public void EndSubBuffer(SVGLinearGradientBrush linearGradientBrush) { PreEndSubBuffer(); for(int i = this._inZoneL; i < this._subW + this._inZoneL; i++) { for(int j = this._inZoneT; j < this._subH + this._inZoneT; j++) { if(this._flag[i, j] == 0) { Color _color = linearGradientBrush.GetColor(i, j); this._graphics.SetColor(_color); this._graphics.SetPixel(i, j); } } } }