示例#1
0
 public void DrawParentBackground(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, System.Windows.Forms.Control childControl)
 {
 }
示例#2
0
 public void DrawBackground(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, System.Drawing.Rectangle clipRectangle)
 {
 }
示例#3
0
 public System.Drawing.Rectangle DrawEdge(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, Edges edges, EdgeStyle style, EdgeEffects effects)
 {
 }
示例#4
0
 public System.Drawing.Font GetFont(System.Drawing.IDeviceContext dc, FontProperty prop)
 {
 }
示例#5
0
 public static void DrawText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Point pt, System.Drawing.Color foreColor, TextFormatFlags flags)
 {
 }
示例#6
0
 public void DrawText(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, string textToDraw, bool drawDisabled, System.Windows.Forms.TextFormatFlags flags)
 {
 }
示例#7
0
 public System.Drawing.Rectangle GetBackgroundExtent(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle contentBounds)
 {
 }
示例#8
0
文件: Path.cs 项目: sasqwatch/Vanara
 /// <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));
示例#9
0
 public System.Drawing.Size GetPartSize(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, ThemeSizeType type)
 {
 }
示例#10
0
 public static System.Drawing.Size MeasureText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Size proposedSize, TextFormatFlags flags)
 {
 }
示例#11
0
 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)
 {
 }
示例#12
0
 public static System.Drawing.Size MeasureText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font)
 {
 }
示例#13
0
 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)
 {
 }
示例#14
0
 public static void DrawText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Rectangle bounds, System.Drawing.Color foreColor)
 {
 }
示例#15
0
 public void DrawText(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, string textToDraw)
 {
 }
示例#16
0
 public System.Windows.Forms.Padding GetMargins(System.Drawing.IDeviceContext dc, MarginProperty prop)
 {
 }
示例#17
0
 public void DrawText(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, string textToDraw, bool drawDisabled)
 {
 }
示例#18
0
 public System.Drawing.Rectangle GetTextExtent(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, string textToDraw, System.Windows.Forms.TextFormatFlags flags)
 {
 }
示例#19
0
 public System.Drawing.Rectangle GetBackgroundContentRectangle(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds)
 {
 }
示例#20
0
 public TextMetrics GetTextMetrics(System.Drawing.IDeviceContext dc)
 {
 }
示例#21
0
 public System.Drawing.Region GetBackgroundRegion(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds)
 {
 }
示例#22
0
 public HitTestCode HitTestBackground(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle backgroundRectangle, System.IntPtr hRgn, System.Drawing.Point pt, HitTestOptions options)
 {
 }
示例#23
0
 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)
 {
 }