/// <summary>
 /// Draws formatted text.
 /// </summary>
 /// <param name="text">The text.</param>
 /// <param name="bounds">The bounds the text will be displayed in.</param>
 /// <param name="font">The font of the text.</param>
 /// <param name="size">The font size in points.</param>
 /// <param name="brush">The brush used to draw the text.</param>
 /// <param name="format">The format of the text.</param>
 public void DrawText(string text, Rectangle bounds, Font font, float size, TextFormat format, Brush brush)
 {
     var layout = new TextLayout(text, bounds.Size, font, size, format);
     DrawTextLayout(layout, bounds.Location, brush);
 }
        /// <summary>
        /// Draws formatted text.
        /// </summary>
        /// <param name="text">The text.</param>
        /// <param name="bounds">The bounds the text will be displayed in.</param>
        /// <param name="font">The font of the text.</param>
        /// <param name="size">The font size in points.</param>
        /// <param name="brush">The brush used to draw the text.</param>
        /// <param name="format">The format of the text.</param>
        public void DrawText(string text, Rectangle bounds, Font font, float size, TextFormat format, Brush brush)
        {
            var layout = new TextLayout(text, bounds.Size, font, size, format);

            DrawTextLayout(layout, bounds.Location, brush);
        }
 /// <summary>
 /// Draws layouted text.
 /// </summary>
 /// <param name="layout">The precalculated layout.</param>
 /// <param name="location">THe location the layout will be displayed at.</param>
 /// <param name="brush">The brush used to draw the layout.</param>
 public void DrawTextLayout(TextLayout layout, Vector2 location, Brush brush)
 {
     
 }
 /// <summary>
 /// Draws layouted text.
 /// </summary>
 /// <param name="layout">The precalculated layout.</param>
 /// <param name="location">THe location the layout will be displayed at.</param>
 /// <param name="brush">The brush used to draw the layout.</param>
 public void DrawTextLayout(TextLayout layout, Vector2 location, Brush brush)
 {
 }