1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using System;
- using System.Drawing;
- using System.Runtime.InteropServices;
- namespace Microsoft.Win32
- {
-
-
-
- public static partial class UnsafeNativeMethods
- {
-
-
-
-
-
-
-
-
-
-
-
-
- [DllImport("gdiplus.dll", CharSet = CharSet.Auto)]
- public extern static int GdipMeasureDriverString(IntPtr hGraphics, string szText, int nLength, IntPtr hFont, PointF[] aPositions, int nFlags, IntPtr hMatrix, ref RectangleF tBounds);
-
-
-
-
-
-
-
-
-
-
-
-
- [DllImport("gdiplus.dll", CharSet = CharSet.Auto)]
- public extern static int GdipDrawDriverString(IntPtr hGraphics, string szText, int nLength, IntPtr hFont, IntPtr hBrush, PointF[] aPositions, int nFlags, IntPtr hMatrix);
- }
- }
|