I define simple svg as a string, create img, initialize img.src by this string and then draw this img on my canvas. But canvas after all is empty (((.
This is my code: