public void DrawParentBackground(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, System.Windows.Forms.Control childControl) { }
public void DrawBackground(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, System.Drawing.Rectangle clipRectangle) { }
public System.Drawing.Rectangle DrawEdge(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, Edges edges, EdgeStyle style, EdgeEffects effects) { }
public System.Drawing.Font GetFont(System.Drawing.IDeviceContext dc, FontProperty prop) { }
public static void DrawText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Point pt, System.Drawing.Color foreColor, TextFormatFlags flags) { }
public void DrawText(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, string textToDraw, bool drawDisabled, System.Windows.Forms.TextFormatFlags flags) { }
public System.Drawing.Rectangle GetBackgroundExtent(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle contentBounds) { }
/// <summary> /// Truncates a file path to fit within a given pixel width by replacing path components with ellipses. /// </summary> /// <param name="path">The file or directory to compact.</param> /// <param name="pixelWidth">The width, in pixels, in which the string must fit.</param> /// <param name="dc">A device context used for font metrics. This value can be <see langword="null"/>.</param> /// <returns>The modified string.</returns> public static string Compact(string path, int pixelWidth, System.Drawing.IDeviceContext dc) => SBAllocCallRet((s, sz) => PathCompactPath(dc?.GetHdc() ?? default, s, (uint)pixelWidth), path, (uint)(path?.Length + 1 ?? MAX_PATH));
public System.Drawing.Size GetPartSize(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, ThemeSizeType type) { }
public static System.Drawing.Size MeasureText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Size proposedSize, TextFormatFlags flags) { }
public static void DrawText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Point pt, System.Drawing.Color foreColor, System.Drawing.Color backColor) { }
public static System.Drawing.Size MeasureText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font) { }
public static void DrawText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Rectangle bounds, System.Drawing.Color foreColor, System.Drawing.Color backColor, TextFormatFlags flags) { }
public static void DrawText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Rectangle bounds, System.Drawing.Color foreColor) { }
public void DrawText(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, string textToDraw) { }
public System.Windows.Forms.Padding GetMargins(System.Drawing.IDeviceContext dc, MarginProperty prop) { }
public void DrawText(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, string textToDraw, bool drawDisabled) { }
public System.Drawing.Rectangle GetTextExtent(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, string textToDraw, System.Windows.Forms.TextFormatFlags flags) { }
public System.Drawing.Rectangle GetBackgroundContentRectangle(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds) { }
public TextMetrics GetTextMetrics(System.Drawing.IDeviceContext dc) { }
public System.Drawing.Region GetBackgroundRegion(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds) { }
public HitTestCode HitTestBackground(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle backgroundRectangle, System.IntPtr hRgn, System.Drawing.Point pt, HitTestOptions options) { }
public System.Drawing.Size GetPartSize(System.Drawing.IDeviceContext dc, ThemeSizeType type) { }
public static void DrawStringDisabled(System.Drawing.IDeviceContext dc, string s, System.Drawing.Font font, System.Drawing.Color color, System.Drawing.Rectangle layoutRectangle, TextFormatFlags format) { }