Пример #1
0
 public Trapeze(TPoint point, int r1, int rr1, Pen pen, Bitmap mbit)
 {
     this.point = point;
     this.lol   = r1;
     this.hol   = rr1;
 }
Пример #2
0
 public Circle(TPoint point, int r1, Pen pen, Bitmap mbit)
 {
     this.point = point;
     hol        = r1;
 }
Пример #3
0
 public override void Show(TPoint point, int lol, int hol, Pen pen, Bitmap mbit)
 {
     circle = Graphics.FromImage(mbit);
     circle.DrawEllipse(pen, point.paramX, point.paramY, hol, hol);
     circle.Dispose();
 }
Пример #4
0
 public Ugolnik(TPoint point)
 {
     paramPoint = point;
 }
Пример #5
0
 public override void Show(TPoint point5, int lol, int hol, Pen pen, Bitmap mbit)
 {
 }
Пример #6
0
 public Rectangle(TPoint point, int l1, int h1, Pen pen, Bitmap mbit)
 {
     this.point = point;
     lol        = l1;
     hol        = h1;
 }
Пример #7
0
 public override void Show(TPoint point5, int lol, int hol, Pen pen, Bitmap mbit)
 {
     rectangle = Graphics.FromImage(mbit);
     rectangle.DrawRectangle(pen, point.paramX, point.paramY, lol, hol);
     rectangle.Dispose();
 }
Пример #8
0
 public Liner(TPoint point, int xx1, int yy1, Pen pen, Bitmap mbit)
 {
     this.point = point;
     lol        = xx1;
     hol        = yy1;
 }
Пример #9
0
 public override void Show(TPoint point5, int lol, int hol, Pen pen, Bitmap mbit)
 {
     liner = Graphics.FromImage(mbit);
     liner.DrawLine(pen, point.paramX, point.paramY, point.paramX + lol, point.paramY + hol);
     liner.Dispose();
 }
Пример #10
0
 public void MoveTO(TPoint point, Pen pen, Bitmap mbit, int r, int rr)
 {
     paramPoint = point;
     Show(point, r, rr, pen, mbit);
 }
Пример #11
0
 public virtual void Show(TPoint point, int lol, int hol, Pen pen, Bitmap mbit)
 {
 }
Пример #12
0
 public TCircle(TPoint point)
 {
     paramPoint = point;
 }
Пример #13
0
 public HardFig(TPoint point, int r1, int rr1, Pen pen, Bitmap mbit)
 {
     this.point = point;
     lol        = r1;
     hol        = rr1;
 }
Пример #14
0
 public Kolso(TPoint point, int r, Pen pen, Bitmap mbit)
 {
     this.point = point;
     hol        = r;
 }