public void DrawString(string text, Rect rect) { GuiLabs.Utils.API.RECT R = rect.ToRECT(); API.ExtTextOut( hDC, rect.Left, rect.Top, 4, ref R, text, (uint)text.Length, null); }