Exemplo n.º 1
0
 public Trapeze(TPoint point, int r1, int rr1, Pen pen, Bitmap mbit)
 {
     this.point = point;
     this.lol   = r1;
     this.hol   = rr1;
 }
Exemplo n.º 2
0
 public Circle(TPoint point, int r1, Pen pen, Bitmap mbit)
 {
     this.point = point;
     hol        = r1;
 }
Exemplo n.º 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();
 }
Exemplo n.º 4
0
 public Ugolnik(TPoint point)
 {
     paramPoint = point;
 }
Exemplo n.º 5
0
 public override void Show(TPoint point5, int lol, int hol, Pen pen, Bitmap mbit)
 {
 }
Exemplo n.º 6
0
 public Rectangle(TPoint point, int l1, int h1, Pen pen, Bitmap mbit)
 {
     this.point = point;
     lol        = l1;
     hol        = h1;
 }
Exemplo n.º 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();
 }
Exemplo n.º 8
0
 public Liner(TPoint point, int xx1, int yy1, Pen pen, Bitmap mbit)
 {
     this.point = point;
     lol        = xx1;
     hol        = yy1;
 }
Exemplo n.º 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();
 }
Exemplo n.º 10
0
 public void MoveTO(TPoint point, Pen pen, Bitmap mbit, int r, int rr)
 {
     paramPoint = point;
     Show(point, r, rr, pen, mbit);
 }
Exemplo n.º 11
0
 public virtual void Show(TPoint point, int lol, int hol, Pen pen, Bitmap mbit)
 {
 }
Exemplo n.º 12
0
 public TCircle(TPoint point)
 {
     paramPoint = point;
 }
Exemplo n.º 13
0
 public HardFig(TPoint point, int r1, int rr1, Pen pen, Bitmap mbit)
 {
     this.point = point;
     lol        = r1;
     hol        = rr1;
 }
Exemplo n.º 14
0
 public Kolso(TPoint point, int r, Pen pen, Bitmap mbit)
 {
     this.point = point;
     hol        = r;
 }