Пример #1
0
 public void DrawString(string s, Font font, Brush brush, RectangleF rect, StringFormat format)
 {
     LibIGraph.DrawString(this.native, s, font.native, brush.native,
                          (int)rect.Left, (int)rect.Top, (int)rect.Right, (int)rect.Bottom, format.native);
 }
Пример #2
0
 public void DrawString(string s, Font font, Brush brush, float x, float y, StringFormat format)
 {
     LibIGraph.DrawString(this.native, s, font.native, brush.native, (int)x, (int)y, int.MaxValue, int.MaxValue, (format == null) ? IntPtr.Zero : format.native);
 }