Exemple #1
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Affine(ScaleX, ScaleY, ShearX, ShearY, TranslateX, TranslateY);
     }
 }
Exemple #2
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Polygon(_Coordinates.ToList());
     }
 }
 void IPath.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.PathSmoothQuadraticCurveToAbs(_End);
     }
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Composite(X, Y, Width, Height, Compose, _Image);
     }
 }
Exemple #5
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.StrokeColor(Color);
     }
 }
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Arc(StartX, StartY, EndX, EndY, StartDegrees, EndDegrees);
     }
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.RoundRectangle(CenterX, CenterY, Width, Height, CornerWidth, CornerHeight);
     }
 }
Exemple #8
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Viewbox(UpperLeftX, UpperLeftY, LowerRightX, LowerRightY);
     }
 }
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.TextAlignment(Alignment);
     }
 }
Exemple #10
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Translation(X, Y);
     }
 }
Exemple #11
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Gravity(Gravity);
     }
 }
Exemple #12
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.FillColor(Color);
     }
 }
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.StrokeDashOffset(Offset);
     }
 }
Exemple #14
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.PopPattern();
     }
 }
Exemple #15
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.TextUnderColor(Color);
     }
 }
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Density(Density);
     }
 }
 void IPath.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.PathLineToRel(_Coordinates.ToList());
     }
 }
Exemple #18
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Scaling(X, Y);
     }
 }
Exemple #19
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.StrokeWidth(Width);
     }
 }
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.TextAntialias(IsEnabled);
     }
 }
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.StrokePatternUrl(Url);
     }
 }
Exemple #22
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IPath.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.PathQuadraticCurveToAbs(_ControlPoint, _End);
     }
 }
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.FontPointSize(PointSize);
     }
 }
Exemple #24
0
 void IPath.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.PathCurveToRel(_ControlPointStart, _ControlPointEnd, _End);
     }
 }
Exemple #25
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IPath.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.PathClose();
     }
 }
Exemple #26
0
 void IPath.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.PathLineToVerticalAbs(Y);
     }
 }
Exemple #27
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Alpha(X, Y, PaintMethod);
     }
 }
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.StrokeLineJoin(LineJoin);
     }
 }
Exemple #29
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.TextEncoding(Encoding);
     }
 }
Exemple #30
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Circle(OriginX, OriginY, PerimeterX, PerimeterY);
     }
 }
Exemple #31
0
    /// <summary>
    /// Draws this instance with the drawing wand.
    /// </summary>
    /// <param name="wand">The want to draw on.</param>
    void IDrawable.Draw(IDrawingWand wand)
    {
      if (wand == null)
        return;

      wand.PathStart();
      foreach (IPath path in _Paths)
        path.Draw(wand);
      wand.PathFinish();
    }
Exemple #32
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IPath.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.PathArcRel(_Coordinates.ToList());
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.StrokePatternUrl(Url);
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.TextKerning(Kerning);
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.PopGraphicContext();
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.ClipRule(FillRule);
 }
Exemple #37
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IPath.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.PathLineToAbs(_Coordinates.ToList());
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.Scaling(X, Y);
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.Polyline(_Coordinates.ToList());
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.BorderColor(Color);
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IPath.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.PathSmoothQuadraticCurveToAbs(_End);
 }
Exemple #42
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IPath.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.PathMoveToRel(_Coordinate.X, _Coordinate.Y);
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IPath.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.PathLineToHorizontalAbs(X);
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.Rotation(Angle);
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.Viewbox(UpperLeftX, UpperLeftY, LowerRightX, LowerRightY);
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.StrokeAntialias(IsEnabled);
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.StrokeWidth(Width);
 }
Exemple #48
0
    /// <summary>
    /// Draws this instance with the drawing wand.
    /// </summary>
    /// <param name="wand">The want to draw on.</param>
    void IDrawable.Draw(IDrawingWand wand)
    {
      if (wand == null)
        return;

      foreach (string extension in _FontExtensions)
      {
        if (Family.EndsWith(extension, StringComparison.OrdinalIgnoreCase))
        {
          wand.Font(Family);
          return;
        }
      }

      wand.FontFamily(Family, Style, Weight, Stretch);
    }
Exemple #49
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IPath.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.PathClose();
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.StrokeMiterLimit(Miterlimit);
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.FillColor(Color);
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.PushPattern(ID, X, Y, Width, Height);
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.Composite(X, Y, Width, Height, Compose, _Image);
 }
Exemple #54
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.Affine(ScaleX, ScaleY, ShearX, ShearY, TranslateX, TranslateY);
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.StrokeDashOffset(Offset);
 }
Exemple #56
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.Point(X, Y);
 }
Exemple #57
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.SkewY(Angle);
 }
Exemple #58
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IPath.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.PathCurveToRel(_ControlPointStart, _ControlPointEnd, _End);
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawable.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.StrokeOpacity((double)Opacity / 100);
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IPath.Draw(IDrawingWand wand)
 {
   if (wand != null)
     wand.PathSmoothCurveToAbs(_ControlPoint, _End);
 }