browngraphicslab / NuSys

0 stars 0 forks source link

Ink canvas performance issue #37

Closed philllies closed 9 years ago

philllies commented 9 years ago

Global ink and ink nodes seem to impact the rendering performance considerably when moving, panning and zooming. Consider converting the InkCanvas to a flat bitmap and when in non-edit mode.

ben-sheeran commented 9 years ago

Also, performance declines significantly when zoomed in on ink.

philllies commented 9 years ago

Leave this for now, we first need to get #66 done.

Rendering a normal Canvas on a bitmap works perfectly fine with the following code: await renderTargetBitmap.RenderAsync(canvas, 300,300); img.Source = renderTargetBitmap;

not with an InkCanvas, though.