public static RectangleF AsWinFormsRectangleF(this PointGrid.Block block, CellMetrics cellMetrics)
 {
     return(new RectangleF(block.UpperLeftCorner.AsWinFormsPointF(cellMetrics), block.Dimensions.AsWinFormsSizeF(cellMetrics)));
 }
Beispiel #2
0
 private void TriggerDraw(PointGrid.Block block)
 {
     Invalidate(block.AsWinFormsRectangle(_cellMetrics));
 }