/// <summary>
 /// Renders the annotation on the <see cref="T:Vintasoft.Imaging.Drawing.DrawingEngine" />
 /// in the coordinate space of annotation.
 /// </summary>
 /// <param name="drawingEngine">The <see cref="T:Vintasoft.Imaging.Drawing.DrawingEngine" /> to render on.</param>
 /// <param name="drawingSurface">The object that provides information about drawing surface.</param>
 protected override void RenderInContentSpace(DrawingEngine drawingEngine, DrawingSurface drawingSurface)
 {
     using (IGraphicsPath path = GetAsGraphicsPath(drawingEngine.DrawingFactory))
     {
         if (Data.FillBrush != null)
         {
             using (IDrawingBrush brush = drawingEngine.DrawingFactory.CreateBrush(Data.FillBrush))
                 drawingEngine.FillPath(brush, path);
         }
         if (Data.Border)
         {
             using (IDrawingPen pen = drawingEngine.DrawingFactory.CreatePen(Data.Outline))
                 drawingEngine.DrawPath(pen, path);
         }
     }
 }