SharpVectors
SharpVectors copied to clipboard
GDI Renderer: Invalid ColorBlend Positions
When I use the plugin to render the svc document file, there is an error message happened as below:
_renderer = new GdiGraphicsRenderer() { BackColor = Color.White };
_window = new SvgPictureBoxWindow(DefaultWindowWidth, DefaultWindowHeight, _renderer);
_document = new SvgDocument(_window);
ColorBlend object that was set is not valid.Position's last element must be equal to 1.0. ColorBlend objects must be constructed with the same number of positions and color values. Positions must be between 0.0 and 1.0, 1.0 indicating the last element in the array.
The SVG file as below: compuserver_msn_Ford_Focus.zip
The SharpVectors version: 1.7.1 .Net framework: 4.7 IIS Server: 10.0.18362.1
Does anyone have this issue? Thanks so much. :)
@paulushub Do you have any plan to fix it? Thank you so much. :)
Yes, it is a pending issue #37. Some have submitted codes to fix parts of the issue, but it is not fully resolved yet.