예제 #1
0
 public override void DrawPath(RPen pen, RGraphicsPath path)
 {
     _g.DrawGeometry(null, ((PenAdapter)pen).CreatePen(), ((GraphicsPathAdapter)path).GetClosedGeometry());
 }
예제 #2
0
 public override void DrawPath(RBrush brush, RGraphicsPath path)
 {
     _g.DrawGeometry(((BrushAdapter)brush).Brush, null, ((GraphicsPathAdapter)path).GetClosedGeometry());
 }
예제 #3
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);
예제 #4
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);
예제 #5
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);
예제 #6
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)
 {
     _g.DrawPath((XBrush)((BrushAdapter)brush).Brush, ((GraphicsPathAdapter)path).GraphicsPath);
 }
 public override void DrawPath(RPen pen, RGraphicsPath path)
 {
     _g.DrawPath(((PenAdapter)pen).Pen, ((GraphicsPathAdapter)path).GraphicsPath);
 }
예제 #9
0
 public override void DrawPath(RBrush brush, RGraphicsPath path)
 {
     ReleaseHdc();
     _g.FillPath(((BrushAdapter)brush).Brush, ((GraphicsPathAdapter)path).GraphicsPath);
 }