public override void DrawPath(RPen pen, RGraphicsPath path)
 {
     _g.DrawPath(((PenAdapter)pen).Pen, ((GraphicsPathAdapter)path).GraphicsPath);
 }
 public override void DrawLine(RPen pen, double x1, double y1, double x2, double y2)
 {
     _g.DrawLine(((PenAdapter)pen).Pen, x1, y1, x2, y2);
 }
 public override void DrawRectangle(RPen pen, double x, double y, double width, double height)
 {
     _g.DrawRectangle(((PenAdapter)pen).Pen, x, y, width, height);
 }
 public override void DrawLine(RPen pen, double x1, double y1, double x2, double y2)
 {
     ReleaseHdc();
     _g.DrawLine(((PenAdapter)pen).Pen, (float)x1, (float)y1, (float)x2, (float)y2);
 }
 public override void DrawRectangle(RPen pen, double x, double y, double width, double height)
 {
     ReleaseHdc();
     _g.DrawRectangle(((PenAdapter)pen).Pen, (float)x, (float)y, (float)width, (float)height);
 }
Beispiel #6
0
 public override void DrawRectangle(RPen pen, double x, double y, double width, double height)
 {
     _g.DrawRectangle(pen, (float)x, (float)y, (float)width, (float)height);
 }
Beispiel #7
0
 public override void DrawLine(RPen pen, double x1, double y1, double x2, double y2)
 {
     _g.DrawLine(pen, (float)x1, (float)y1, (float)x2, (float)y2);
 }
 public override void DrawPath(RPen pen, RGraphicsPath path)
 {
     _g.DrawGeometry(null, ((PenAdapter)pen).CreatePen(), ((GraphicsPathAdapter)path).GetClosedGeometry());
 }
Beispiel #9
0
 internal static Adapters.PenAdapter ToPenA(this RPen pen)
 {
     return(pen as Adapters.PenAdapter);
 }
Beispiel #10
0
 public DrawPathCommand(RPen pen, SKPath path)
 {
     Pen  = pen;
     Path = path;
 }