public void DrawString(string s, Font2 font, Brush2 brush, Point2 point, StringFormat2 format) { gc.DrawString(s, GraphUtils.ToFont(font), GetBrush(brush), GraphUtils.ToPointF(point), GraphUtils.ToStringFormat(format)); }
public void DrawString(string s, Font2 font, Brush2 brush, Rectangle2 rectangleF, StringFormat2 format) { gc.DrawString(s, GraphUtils.ToFont(font), GetBrush(brush), ToRectangleF(rectangleF), GraphUtils.ToStringFormat(format)); }