/// <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); } }
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); } }
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); } }
/// <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); } }
/// <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); } }
/// <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); } }
void IDrawable.Draw(IDrawingWand wand) { if (wand != null) { wand.FillColor(Color); } }
void IDrawable.Draw(IDrawingWand wand) { if (wand != null) { wand.StrokeDashOffset(Offset); } }
void IDrawable.Draw(IDrawingWand wand) { if (wand != null) { wand.PopPattern(); } }
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()); } }
void IDrawable.Draw(IDrawingWand wand) { if (wand != null) { wand.Scaling(X, Y); } }
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); } }
/// <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); } }
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 IPath.Draw(IDrawingWand wand) { if (wand != null) { wand.PathClose(); } }
void IPath.Draw(IDrawingWand wand) { if (wand != null) { wand.PathLineToVerticalAbs(Y); } }
void IDrawable.Draw(IDrawingWand wand) { if (wand != null) { wand.Alpha(X, Y, PaintMethod); } }
void IDrawable.Draw(IDrawingWand wand) { if (wand != null) { wand.StrokeLineJoin(LineJoin); } }
void IDrawable.Draw(IDrawingWand wand) { if (wand != null) { wand.TextEncoding(Encoding); } }
void IDrawable.Draw(IDrawingWand wand) { if (wand != null) { wand.Circle(OriginX, OriginY, PerimeterX, PerimeterY); } }
/// <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(); }
/// <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); }
/// <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); }
/// <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); }
/// <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); }
/// <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); }
/// <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); }
/// <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); }
/// <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); }
/// <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); }