示例#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);
     }
 }
 /// <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);
     }
 }
 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);
     }
 }
 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);
 }
 /// <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);
 }
 /// <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);
 }
 /// <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);
 }