3 instantiations of DRAWTEXTPARAMS
System.Windows.Forms (3)
misc\GDI\MeasurementDCInfo.cs (2)
71
return new IntNativeMethods.
DRAWTEXTPARAMS
(currentCachedInfo.LeftTextMargin,currentCachedInfo.RightTextMargin);
83
return new IntNativeMethods.
DRAWTEXTPARAMS
(currentCachedInfo.LeftTextMargin,currentCachedInfo.RightTextMargin);
misc\GDI\WindowsGraphics2.cs (1)
364
return new IntNativeMethods.
DRAWTEXTPARAMS
(leftMargin, rightMargin);
11 references to DRAWTEXTPARAMS
System.Windows.Forms (11)
misc\GDI\MeasurementDCInfo.cs (2)
63
internal static IntNativeMethods.
DRAWTEXTPARAMS
GetTextMargins(WindowsGraphics wg, WindowsFont font) {
78
IntNativeMethods.
DRAWTEXTPARAMS
drawTextParams = wg.GetTextMargins(font);
misc\GDI\NativeMethods.cs (2)
250
private int cbSize = Marshal.SizeOf(typeof(
DRAWTEXTPARAMS
));
265
public DRAWTEXTPARAMS(
DRAWTEXTPARAMS
original)
misc\GDI\UnsafeNativeMethods.cs (3)
406
public static extern int DrawTextExW(HandleRef hDC, string lpszString, int nCount, ref IntNativeMethods.RECT lpRect, int nFormat, [In, Out] IntNativeMethods.
DRAWTEXTPARAMS
lpDTParams);
410
public static extern int DrawTextExA(HandleRef hDC, byte[] lpszString, int byteCount, ref IntNativeMethods.RECT lpRect, int nFormat, [In, Out] IntNativeMethods.
DRAWTEXTPARAMS
lpDTParams);
412
public static int DrawTextEx(HandleRef hDC, string text, ref IntNativeMethods.RECT lpRect, int nFormat, [In, Out] IntNativeMethods.
DRAWTEXTPARAMS
lpDTParams)
misc\GDI\WindowsGraphics2.cs (4)
245
IntNativeMethods.
DRAWTEXTPARAMS
dtparams = GetTextMargins(font);
333
public IntNativeMethods.
DRAWTEXTPARAMS
GetTextMargins(WindowsFont font)
456
IntNativeMethods.
DRAWTEXTPARAMS
dtparams = null;
538
public static Rectangle AdjustForVerticalAlignment(HandleRef hdc, string text, Rectangle bounds, IntTextFormatFlags flags, IntNativeMethods.
DRAWTEXTPARAMS
dtparams)