Example #1
0
 /// <summary>
 /// Fills the interior of a GraphicsPath.
 /// </summary>
 /// <param name="brush">Brush that determines the characteristics of the fill. </param>
 /// <param name="path">GraphicsPath that represents the path to fill. </param>
 public abstract void DrawPath(RBrush brush, RGraphicsPath path);
Example #2
0
 /// <summary>
 /// Draws a GraphicsPath.
 /// </summary>
 /// <param name="pen">Pen that determines the color, width, and style of the path. </param>
 /// <param name="path">GraphicsPath to draw. </param>
 public abstract void DrawPath(RPen pen, RGraphicsPath path);
Example #3
0
 /// <summary>
 /// Fills the interior of a GraphicsPath.
 /// </summary>
 /// <param name="brush">Brush that determines the characteristics of the fill. </param>
 /// <param name="path">GraphicsPath that represents the path to fill. </param>
 public abstract void DrawPath(RBrush brush, RGraphicsPath path);
Example #4
0
 /// <summary>
 /// Draws a GraphicsPath.
 /// </summary>
 /// <param name="pen">Pen that determines the color, width, and style of the path. </param>
 /// <param name="path">GraphicsPath to draw. </param>
 public abstract void DrawPath(RPen pen, RGraphicsPath path);
 public override void DrawPath(RBrush brush, RGraphicsPath path)
 {
     ReleaseHdc();
     _g.FillPath(((BrushAdapter)brush).Brush, ((GraphicsPathAdapter)path).GraphicsPath);
 }
 public override void DrawPath(RPen pen, RGraphicsPath path)
 {
     _g.DrawPath(((PenAdapter)pen).Pen, ((GraphicsPathAdapter)path).GraphicsPath);
 }