Пример #1
0
 public override void DrawRectangle(CommonGui.Drawing.Pen pen, RectangleF rect)
 {
     using (System.Drawing.Pen pen2 = CreatePen(pen))
     {
         InternalGraphics.DrawRectangle(pen2, rect.Left, rect.Top, rect.Width, rect.Height);
     }
 }
Пример #2
0
 public override void FillRectangle(Chaos.Image.RawColor color, Chaos.Util.Mathematics.RectangleF rect)
 {
     using (System.Drawing.Brush brush2 = CreateBrush(color))
     {
         InternalGraphics.FillRectangle(brush2, rect.Convert());
     }
 }
Пример #3
0
 public abstract void FillRectangle(RawColor color, RectangleF rect);
Пример #4
0
 public abstract void DrawRectangle(Pen pen, RectangleF rect);