Ejemplo n.º 1
0
 public override void DrawPath(RPen pen, RGraphicsPath path)
 {
     _g.DrawPath(((PenAdapter)pen).Pen, ((GraphicsPathAdapter)path).GraphicsPath);
 }
Ejemplo n.º 2
0
 public override void DrawLine(RPen pen, double x1, double y1, double x2, double y2)
 {
     _g.DrawLine(((PenAdapter)pen).Pen, x1, y1, x2, y2);
 }
Ejemplo n.º 3
0
 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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());
 }
Ejemplo n.º 9
0
 internal static Adapters.PenAdapter ToPenA(this RPen pen)
 {
     return(pen as Adapters.PenAdapter);
 }
Ejemplo n.º 10
0
 public DrawPathCommand(RPen pen, SKPath path)
 {
     Pen  = pen;
     Path = path;
 }