예제 #1
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setColor(color);
     underlying.setAlpha(alpha);
     underlying.setFont(font);
     underlying.drawString(str, x, y);
 }
예제 #2
0
 public void executeWithClip(WindowsGraphics underlying)
 {
     if (clip.getWidth() > 0 && clip.getHeight() > 0)
     {
         underlying.setClip(clip);
         execute(underlying);
         underlying.removeClip();
     }
 }
예제 #3
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setAlpha(0xff);
     //underlying.setColor(0xff0000);
     if (w <= 0 || h <= 0)
     {
         //underlying.drawRect(x, y, (int)canvasBitmap.SizeInPixels.Width, (int)canvasBitmap.SizeInPixels.Height);
         underlying.drawImage(canvasBitmap, x, y);
     }
     else
     {
         //underlying.drawRect(x, y, w, h);
         underlying.drawImage(canvasBitmap, x, y, w, h);
     }
 }
예제 #4
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setAlpha(0xff);
     underlying.tileImage(canvasBitmap, x, y, w, h);
 }
예제 #5
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setColor(color);
     underlying.setAlpha(alpha);
     underlying.clear();
 }
예제 #6
0
 public abstract void execute(WindowsGraphics underlying);
예제 #7
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setRawClip(clip);
 }
예제 #8
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setColor(color);
     underlying.setAlpha(alpha);
     underlying.fillArc(x, y, w, h, startAngle, arcAngle);
 }
 public override void execute(WindowsGraphics underlying)
 {
     underlying.fillLinearGradient(startColor, endColor, x, y, width, height, horizontal);
 }
예제 #10
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.clearRect(x, y, w, h);
 }
예제 #11
0
 public AsyncGraphics(CanvasDrawingSession graphics)
     : base(graphics)
 {
     internalGraphics = new WindowsGraphics(graphics);
 }
예제 #12
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setColor(color);
     underlying.setAlpha(alpha);
     underlying.drawLine(x1, y1, x2, y2);
 }
예제 #13
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setColor(color);
     underlying.setAlpha(alpha);
     underlying.fillRect(x, y, w, h);
 }
예제 #14
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setColor(color);
     underlying.setAlpha(alpha);
     underlying.clear();
 }
예제 #15
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setColor(color);
     underlying.setAlpha(alpha);
     underlying.drawLine(x1, y1, x2, y2);
 }
예제 #16
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setColor(color);
     underlying.setAlpha(alpha);
     underlying.drawRect(x, y, w, h, stroke);
 }
예제 #17
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setColor(color);
     underlying.setAlpha(alpha);
     underlying.fillRoundRect(x, y, w, h, arcW, arcH);
 }
 public override void execute(WindowsGraphics underlying)
 {
     underlying.fillRadialGradient(startColor, endColor, x, y, width, height);
 }
예제 #19
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setColor(color);
     underlying.setAlpha(alpha);
     underlying.fillArc(x, y, w, h, startAngle, arcAngle);
 }
 public override void execute(WindowsGraphics underlying)
 {
     underlying.fillLinearGradient(startColor, endColor, x, y, width, height, horizontal);
 }
예제 #21
0
 public AsyncGraphics(CanvasDrawingSession graphics)
     : base(graphics)
 {
     internalGraphics = new WindowsGraphics(graphics);
 }
예제 #22
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setColor(color);
     underlying.setAlpha(alpha);
     underlying.fillPolygon(p1, p2);
 }
예제 #23
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setColor(color);
     underlying.setAlpha(alpha);
     underlying.drawRect(x, y, w, h, stroke);
 }
예제 #24
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setColor(color);
     underlying.setAlpha(alpha);
     underlying.fillPolygon(p1, p2);
 }
예제 #25
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setAlpha(0xff);
     underlying.tileImage(canvasBitmap, x, y, w, h);
 }
예제 #26
0
 public override void execute(WindowsGraphics underlying)
 {
     underlying.setTransform(transform);
 }