Example #1
0
 /// <summary>
 /// Draws an <see cref="Identicon"/> in a specified GDI drawing context.
 /// </summary>
 /// <param name="icon">The identicon to draw.</param>
 /// <param name="g">Drawing context in which the icon will be rendered.</param>
 /// <param name="rect">The bounds of the rendered icon, including padding.</param>
 public static void Draw(this Identicon icon, Graphics g, System.Drawing.Rectangle rect)
 {
     icon.Draw(g, rect.ToJdenticon());
 }