Menu

#11 renderengine dll crash

open
nobody
SVG DOM (5)
5
2006-04-13
2006-04-13
No

SvgWindow window = (SvgWindow)svgPictureBox.Window;

svgPictureBox.LoadXml("<svg
xmlns='http://www.w3.org/2000/svg'/>");

I'm doing this piece of code on my form constructor,
and i have the following windows form initialization:

this.svgPictureBox.AutoSize = true;

this.svgPictureBox.Dock =
System.Windows.Forms.DockStyle.Fill;

this.svgPictureBox.Location = new
System.Drawing.Point(0, 0);

this.svgPictureBox.Name = "svgPictureBox";

this.svgPictureBox.Size = new System.Drawing.Size(624,
381);

this.svgPictureBox.Surface = null;

this.svgPictureBox.TabIndex = 25;

when i minimize the window, a nullpointerexception is
thrown at GraphicsNode.BeforeRender(ISvgRenderer
renderer) overriden method. More exactly, at the
following line:

graphicsContainer = graphics.BeginContainer();

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.