|
From: Niklas G. <ni...@pr...> - 2006-05-01 19:57:31
|
Guys, can you help Derek out? I belive this patch is already included but just to make sure. /niklas ---------- Forwarded message ---------- From: Derek McLoughlin <der...@gm...> Date: Apr 26, 2006 12:38 PM Subject: Status of SharpVectors project To: ni...@pr... Hi Niklas, We're using the SharpVectors library do display SVG files in a Winforms 2.0 application. I've noticed that in debug mode, the rendering of the SVG image is incredibly slow. I think I've found the reason for this: in class CssPrimitiveRgbValue, the function IsColorName uses a try/catch block to determine if a given attribute is a valid color. However, this gets called a lot. I've removed the try/catch and replaced it with a simple test, and the rendering in debug mode is order of magnitudes faster. Is this project still active? Can I submit a patch for this? Regards, Derek McLoughlin. http://www.derekmcloughlin.com -- ------- Niklas Gustavsson http://www.protocol7.com mailto:ni...@pr... |