Exemplo n.º 1
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     if (!flags.HasFlag(MetafilePlayFlags.NoOpacityChange))
     {
         target.Opacity = opacity;
     }
 }
Exemplo n.º 2
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     if (!flags.HasFlag(MetafilePlayFlags.NoLineStyleChange))
     {
         target.LineStyle = style;
     }
 }
Exemplo n.º 3
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     if (!flags.HasFlag(MetafilePlayFlags.NoColorChange))
     {
         target.Color = rgb;
     }
 }
Exemplo n.º 4
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     if (target != null)
     {
         foreach (var rec in records)
         {
             rec.Play(target, flags);
         }
     }
 }
Exemplo n.º 5
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     target.Pattern = pattern;
 }
Exemplo n.º 6
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     target.LineJoin = join;
 }
Exemplo n.º 7
0
 public override void Play(Painter target, MetafilePlayFlags flags)
 {
     target.FillPathT(path);
 }
Exemplo n.º 8
0
 public override void Play(Painter target, MetafilePlayFlags flags)
 {
     target.DrawEllipseT(x, y, aradius, bradius, tilt);
 }
Exemplo n.º 9
0
 public override void Play(Painter target, MetafilePlayFlags flags)
 {
     target.DrawArcT(x1, y1, x2, y2, bulge);
 }
Exemplo n.º 10
0
 public override void Play(Painter target, MetafilePlayFlags flags)
 {
     target.DrawCircleT(x1, y1, radius);
 }
Exemplo n.º 11
0
 public override void Play(Painter target, MetafilePlayFlags flags)
 {
     target.DrawRectangleT(x1, y1, x2, y2);
 }
Exemplo n.º 12
0
 public virtual void Play(Painter target, MetafilePlayFlags flags)
 {
     target.SetPixel(x, y, rgb);
 }
Exemplo n.º 13
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     target.PatternTransform = t;
 }
Exemplo n.º 14
0
 public override void Play(Painter target, MetafilePlayFlags flags)
 {
     target.DrawMarkT(x, y, type, size);
 }
Exemplo n.º 15
0
 public virtual void Play(Painter target, MetafilePlayFlags flags)
 {
     target.DrawMark(x, y, type, size);
 }
Exemplo n.º 16
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     target.Blit(pic, dst_x, dst_y, dst_w, dst_h, src_x, src_y, src_w, src_h);
 }
Exemplo n.º 17
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     target.DrawPictureT(pic, x, y);
 }
Exemplo n.º 18
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     target.DrawTextT(txt, x, y, size, angle, align);
 }
Exemplo n.º 19
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     target.FillMode = fm;
 }
Exemplo n.º 20
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     target.AntiGrain = antigrain;
 }
Exemplo n.º 21
0
 public virtual void Play(Painter target, MetafilePlayFlags flags)
 {
     target.DrawRectangle(x1, y1, x2, y2);
 }
Exemplo n.º 22
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     target.Hatch = hatch;
 }
Exemplo n.º 23
0
 public virtual void Play(Painter target, MetafilePlayFlags flags)
 {
     target.DrawCircle(x1, y1, radius);
 }
Exemplo n.º 24
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     target.LineWidth = lwt;
 }
Exemplo n.º 25
0
 public virtual void Play(Painter target, MetafilePlayFlags flags)
 {
     target.DrawArc(x1, y1, x2, y2, bulge);
 }
Exemplo n.º 26
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     target.LineStyleDashes = dashes;
 }
Exemplo n.º 27
0
 public virtual void Play(Painter target, MetafilePlayFlags flags)
 {
     target.DrawEllipse(x, y, aradius, bradius, tilt);
 }
Exemplo n.º 28
0
 public void Play(Painter target, MetafilePlayFlags flags)
 {
     target.EndCaps = cap;
 }
Exemplo n.º 29
0
 public override void Play(Painter target, MetafilePlayFlags flags)
 {
     target.DrawEllipticArcT(x, y, aradius, bradius, tilt, startangle, sweepangle);
 }
Exemplo n.º 30
0
 public virtual void Play(Painter target, MetafilePlayFlags flags)
 {
     target.FillPath(path);
 }