public void DrawString (string s, Font font, Brush brush, RectangleF layoutRectangle)
{
+
+ if (s == null) {
+ return;
+ }
+
Status status = GDIPlus.GdipDrawString (nativeObject, s, s.Length, font.NativeObject, ref layoutRectangle, IntPtr.Zero, brush.nativeObject);
GDIPlus.CheckStatus (status);
}
public void DrawString (string s, Font font, Brush brush, PointF point)
{
RectangleF rc = new RectangleF (point.X, point.Y, 0, 0);
+
+ if (s == null) {
+ return;
+ }
+
Status status = GDIPlus.GdipDrawString (nativeObject, s, s.Length, font.NativeObject, ref rc, IntPtr.Zero, brush.nativeObject);
GDIPlus.CheckStatus (status);
}
public void DrawString (string s, Font font, Brush brush, PointF point, StringFormat format)
{
RectangleF rc = new RectangleF (point.X, point.Y, 0, 0);
+
+ if (s == null) {
+ return;
+ }
+
Status status = GDIPlus.GdipDrawString (nativeObject, s, s.Length, font.NativeObject, ref rc, format.NativeObject, brush.nativeObject);
GDIPlus.CheckStatus (status);
}
public void DrawString (string s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)
{
+ if (s == null) {
+ return;
+ }
+
Status status = GDIPlus.GdipDrawString (nativeObject, s, s.Length, font.NativeObject, ref layoutRectangle, format.NativeObject, brush.nativeObject);
GDIPlus.CheckStatus (status);
}
{
RectangleF rc = new RectangleF (x, y, 0, 0);
+ if (s == null) {
+ return;
+ }
+
Status status = GDIPlus.GdipDrawString (nativeObject, s, s.Length, font.NativeObject,
ref rc, IntPtr.Zero, brush.nativeObject);
GDIPlus.CheckStatus (status);
{
RectangleF rc = new RectangleF (x, y, 0, 0);
+ if (s == null) {
+ return;
+ }
+
Status status = GDIPlus.GdipDrawString (nativeObject, s, s.Length, font.NativeObject,
ref rc, format.NativeObject, brush.nativeObject);
GDIPlus.CheckStatus (status);