Inheritance: IDisposable
Example #1
0
 internal static IntPtr GetInstance(DrawingWand instance)
 {
   if (instance == null)
     return IntPtr.Zero;
   return instance._NativeInstance.Instance;
 }
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawingWand.Draw(DrawingWand wand)
 => 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 IDrawingWand.Draw(DrawingWand wand) => wand?.TextUnderColor(Color);
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawingWand.Draw(DrawingWand wand) => wand?.FillPatternUrl(Url);
Example #5
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawingWand.Draw(DrawingWand wand) => wand?.PathLineToRel(_coordinates.ToList());
Example #6
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawingWand.Draw(DrawingWand wand)
 => wand?.PathArcAbs(_coordinates.ToList());
Example #7
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawingWand.Draw(DrawingWand wand)
 => wand?.Bezier(_coordinates.ToList());
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawingWand.Draw(DrawingWand wand) => wand?.BorderColor(Color);
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawingWand.Draw(DrawingWand wand) => wand?.FillColor(Color);
Example #10
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawingWand.Draw(DrawingWand wand) => wand?.Polygon(_coordinates.ToList());
Example #11
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawingWand.Draw(DrawingWand wand) => wand?.StrokePatternUrl(Url);
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawingWand.Draw(DrawingWand wand) => wand?.TextEncoding(Encoding);
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawingWand.Draw(DrawingWand wand) => wand?.StrokeColor(Color);
Example #14
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawingWand.Draw(DrawingWand wand) => wand?.Affine(ScaleX, ScaleY, ShearX, ShearY, TranslateX, TranslateY);