Пример #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);
     }
 }
Пример #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);
     }
 }
Пример #4
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.Composite(X, Y, Width, Height, Compose, _Image);
     }
 }
Пример #5
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.StrokeColor(Color);
     }
 }
Пример #6
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Arc(StartX, StartY, EndX, EndY, StartDegrees, EndDegrees);
     }
 }
Пример #7
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.RoundRectangle(CenterX, CenterY, Width, Height, CornerWidth, CornerHeight);
     }
 }
Пример #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);
     }
 }
Пример #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);
     }
 }
Пример #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);
     }
 }
Пример #12
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.FillColor(Color);
     }
 }
Пример #13
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.StrokeDashOffset(Offset);
     }
 }
Пример #14
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.PopPattern();
     }
 }
Пример #15
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.TextUnderColor(Color);
     }
 }
Пример #16
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Density(Density);
     }
 }
Пример #17
0
 void IPath.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.PathLineToRel(_Coordinates.ToList());
     }
 }
Пример #18
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Scaling(X, Y);
     }
 }
Пример #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);
     }
 }
Пример #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);
     }
 }
Пример #24
0
 void IPath.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.PathCurveToRel(_ControlPointStart, _ControlPointEnd, _End);
     }
 }
Пример #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();
     }
 }
Пример #26
0
 void IPath.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.PathLineToVerticalAbs(Y);
     }
 }
Пример #27
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Alpha(X, Y, PaintMethod);
     }
 }
Пример #28
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.StrokeLineJoin(LineJoin);
     }
 }
Пример #29
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.TextEncoding(Encoding);
     }
 }
Пример #30
0
 void IDrawable.Draw(IDrawingWand wand)
 {
     if (wand != null)
     {
         wand.Circle(OriginX, OriginY, PerimeterX, PerimeterY);
     }
 }
Пример #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();
    }
Пример #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);
 }
Пример #34
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.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();
 }
Пример #36
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.ClipRule(FillRule);
 }
Пример #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());
 }
Пример #38
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.Scaling(X, Y);
 }
Пример #39
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.Polyline(_Coordinates.ToList());
 }
Пример #40
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.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);
 }
Пример #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);
 }
Пример #43
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.PathLineToHorizontalAbs(X);
 }
Пример #44
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.Rotation(Angle);
 }
Пример #45
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);
 }
Пример #46
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.StrokeAntialias(IsEnabled);
 }
Пример #47
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.StrokeWidth(Width);
 }
Пример #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);
    }
Пример #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);
 }
Пример #51
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.FillColor(Color);
 }
Пример #52
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.PushPattern(ID, X, Y, Width, Height);
 }
Пример #53
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.Composite(X, Y, Width, Height, Compose, _Image);
 }
Пример #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);
 }
Пример #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);
 }
Пример #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);
 }
Пример #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);
 }
Пример #59
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.StrokeOpacity((double)Opacity / 100);
 }
Пример #60
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.PathSmoothCurveToAbs(_ControlPoint, _End);
 }