Here are the examples of the csharp api class BrightIdeasSoftware.BlockFormat.CalculatePaddedBox(System.Drawing.RectangleF) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
0
1. Example
Project: MapViewer
Source File: ListViewPrinter.cs
Source File: ListViewPrinter.cs
public RectangleF CalculatePaddedTextBox(RectangleF cell) { return this.CalculateTextBox(this.CalculateBorderedBox(this.CalculatePaddedBox(cell))); }
0
2. Example
Project: MapViewer
Source File: ListViewPrinter.cs
Source File: ListViewPrinter.cs
public void Draw(Graphics g, RectangleF r, String left, String centre, String right) { RectangleF paddedRect = this.CalculatePaddedBox(r); RectangleF paddedBorderedRect = this.CalculateBorderedBox(paddedRect); this.DrawBackground(g, paddedBorderedRect); this.DrawText(g, paddedBorderedRect, left, centre, right); this.DrawBorder(g, paddedRect); }