public override void execute(WindowsGraphics underlying) { underlying.setColor(color); underlying.setAlpha(alpha); underlying.setFont(font); underlying.drawString(str, x, y); }
public void executeWithClip(WindowsGraphics underlying) { if (clip.getWidth() > 0 && clip.getHeight() > 0) { underlying.setClip(clip); execute(underlying); underlying.removeClip(); } }
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); } }
public override void execute(WindowsGraphics underlying) { underlying.setAlpha(0xff); underlying.tileImage(canvasBitmap, x, y, w, h); }
public override void execute(WindowsGraphics underlying) { underlying.setColor(color); underlying.setAlpha(alpha); underlying.clear(); }
public abstract void execute(WindowsGraphics underlying);
public override void execute(WindowsGraphics underlying) { underlying.setRawClip(clip); }
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); }
public override void execute(WindowsGraphics underlying) { underlying.clearRect(x, y, w, h); }
public AsyncGraphics(CanvasDrawingSession graphics) : base(graphics) { internalGraphics = new WindowsGraphics(graphics); }
public override void execute(WindowsGraphics underlying) { underlying.setColor(color); underlying.setAlpha(alpha); underlying.drawLine(x1, y1, x2, y2); }
public override void execute(WindowsGraphics underlying) { underlying.setColor(color); underlying.setAlpha(alpha); underlying.fillRect(x, y, w, h); }
public override void execute(WindowsGraphics underlying) { underlying.setColor(color); underlying.setAlpha(alpha); underlying.drawRect(x, y, w, h, stroke); }
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); }
public override void execute(WindowsGraphics underlying) { underlying.setColor(color); underlying.setAlpha(alpha); underlying.fillPolygon(p1, p2); }
public override void execute(WindowsGraphics underlying) { underlying.setTransform(transform); }