Inheritance: IDisposable
Ejemplo n.º 1
0
 internal static IntPtr GetInstance(DrawingWand instance)
 {
   if (instance == null)
     return IntPtr.Zero;
   return instance._NativeInstance.Instance;
 }
Ejemplo n.º 2
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?.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);
Ejemplo n.º 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());
Ejemplo n.º 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());
Ejemplo n.º 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());
Ejemplo n.º 8
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?.BorderColor(Color);
Ejemplo n.º 9
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?.FillColor(Color);
Ejemplo n.º 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());
Ejemplo n.º 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);
Ejemplo n.º 12
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?.TextEncoding(Encoding);
Ejemplo n.º 13
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?.StrokeColor(Color);
Ejemplo n.º 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);