Exemple #1
0
 private static void DrawDoubleRect(ChartRenderer renderer, int rL, int rT, int rW, int rH, int streak, float pw)
 {
     using (var pen = renderer.CreatePen(BSDColors.Black, pw)) {
         renderer.DrawRectangle(pen, null, rL, rT, rW, rH);
         rL += streak;
         rT += streak;
         rW -= streak * 2;
         rH -= streak * 2;
         renderer.DrawRectangle(pen, null, rL, rT, rW, rH);
     }
 }
Exemple #2
0
 private static void DrawSingleRect(ChartRenderer renderer, int rL, int rT, int rW, int rH, float pw)
 {
     using (var pen = renderer.CreatePen(BSDColors.Black, pw)) {
         renderer.DrawRectangle(pen, null, rL, rT, rW, rH);
     }
 }