Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }