Exemple #1
0
 public void CurveTo(Vector1D x2, Vector1D y2, Vector1D x3, Vector1D y3)
 {
     cb.CurveTo(
         (float)x2.Value(UnitsOfMeasure.Points),
         (float)y2.Value(UnitsOfMeasure.Points),
         (float)x3.Value(UnitsOfMeasure.Points),
         (float)y3.Value(UnitsOfMeasure.Points));
 }
Exemple #2
0
 public void CurveFromTo(Vector1D x1, Vector1D y1, Vector1D x3, Vector1D y3)
 {
     cb.CurveFromTo(
         (float)x1.Value(UnitsOfMeasure.Points),
         (float)y1.Value(UnitsOfMeasure.Points),
         (float)x3.Value(UnitsOfMeasure.Points),
         (float)y3.Value(UnitsOfMeasure.Points));
 }
Exemple #3
0
 public void Arc(Vector1D x1, Vector1D y1, Vector1D x2, Vector1D y2, float startAngle, float extentAngle)
 {
     cb.Arc(
         (float)x1.Value(UnitsOfMeasure.Points),
         (float)y1.Value(UnitsOfMeasure.Points),
         (float)x2.Value(UnitsOfMeasure.Points),
         (float)y2.Value(UnitsOfMeasure.Points), startAngle, extentAngle);
 }
Exemple #4
0
 public void Rectangle(Vector1D x, Vector1D y, Vector1D width, Vector1D height)
 {
     cb.Rectangle(
         (float)x.Value(UnitsOfMeasure.Points),
         (float)y.Value(UnitsOfMeasure.Points),
         (float)width.Value(UnitsOfMeasure.Points),
         (float)height.Value(UnitsOfMeasure.Points));
 }
Exemple #5
0
 public void Ellipse(Vector1D x, Vector1D y, Vector1D width, Vector1D height)
 {
     cb.Ellipse(
         (float)x.Value(UnitsOfMeasure.Points),
         (float)y.Value(UnitsOfMeasure.Points),
         (float)(x + width).Value(UnitsOfMeasure.Points),
         (float)(y + height).Value(UnitsOfMeasure.Points));
 }
Exemple #6
0
 public void MoveTo(Vector1D x, Vector1D y)
 {
     cb.MoveTo(
         (float)x.Value(UnitsOfMeasure.Points),
         (float)y.Value(UnitsOfMeasure.Points));
 }