コード例 #1
0
 public VectorObject(VectorPoint position)
 {
     this.position = position;
 }
コード例 #2
0
ファイル: VectorPoint.cs プロジェクト: cxleb/AVSketch
 public static VectorPoint DivPoints(VectorPoint a, VectorPoint b)
 {
     return(new VectorPoint(a.x / b.x, a.y / b.y));
 }
コード例 #3
0
ファイル: VectorEllipse.cs プロジェクト: cxleb/AVSketch
 public VectorEllipse(VectorPoint point, VectorPoint radii, bool fillin) : base(point)
 {
     this.radii  = radii;
     this.fillin = fillin;
 }
コード例 #4
0
ファイル: VectorPoint.cs プロジェクト: cxleb/AVSketch
 public static VectorPoint SubPoints(VectorPoint a, VectorPoint b)
 {
     return(new VectorPoint(a.x - b.x, a.y - b.y));
 }
コード例 #5
0
ファイル: VectorPoint.cs プロジェクト: cxleb/AVSketch
 public static VectorPoint MultPoints(VectorPoint a, VectorPoint b)
 {
     return(new VectorPoint(a.x * b.x, a.y * b.y));
 }
コード例 #6
0
ファイル: VectorPoint.cs プロジェクト: cxleb/AVSketch
 public static VectorPoint AddPoints(VectorPoint a, VectorPoint b)
 {
     return(new VectorPoint(a.x + b.x, a.y + b.y));
 }
コード例 #7
0
ファイル: VectorLine.cs プロジェクト: cxleb/AVSketch
 public void addPoint(VectorPoint point)
 {
     points.Add(point);
 }
コード例 #8
0
ファイル: VectorLine.cs プロジェクト: cxleb/AVSketch
 public VectorLine(VectorPoint start) : base(start)
 {
     points = new List <VectorPoint>();
 }
コード例 #9
0
 public VectorText(VectorPoint point, string text) : base(point)
 {
     this.text = text;
 }
コード例 #10
0
ファイル: VectorBox.cs プロジェクト: cxleb/AVSketch
 public VectorBox(VectorPoint position, VectorPoint size, bool fillin) : base(position)
 {
     this.size   = size;
     this.fillin = fillin;
 }