Example #1
0
 public override void DrawString(string text, dFont font, dColor color, float x, float y)
 {
     System.Drawing.SolidBrush b = new System.Drawing.SolidBrush(color.ToGDI());
     System.Drawing.Font f = new System.Drawing.Font(font.Family, font.Size, font.Style.ToGDI());
     g.DrawString(text, f, b, (int)x, (int)y, font.Format.ToGDI());
 }