2 writes to _canvas
Microsoft.Maui.Graphics.Skia (2)
30 references to _canvas
Microsoft.Maui.Graphics.Skia (30)
SkiaCanvas.cs (30)
36 get => _canvas;
392 _canvas.DrawLine(x1, y1, x2, y2, CurrentState.StrokePaintWithAlpha);
429 _canvas.DrawPath(platformPath, CurrentState.StrokePaintWithAlpha);
437 _canvas.DrawPath(platformPath, CurrentState.StrokePaintWithAlpha);
470 _canvas.DrawPath(platformPath, CurrentState.FillPaintWithAlpha);
494 _canvas.DrawRect(rectX, rectY, rectWidth, rectHeight, CurrentState.StrokePaintWithAlpha);
508 _canvas.DrawRect(rectX, rectY, rectWidth, rectHeight, CurrentState.FillPaintWithAlpha);
527 _canvas.DrawRoundRect(rectX, rectY, rectWidth, rectHeight, radius, radius, CurrentState.StrokePaintWithAlpha);
544 _canvas.DrawRoundRect(rect, radius, radius, CurrentState.FillPaintWithAlpha);
562 _canvas.DrawOval(rect, CurrentState.StrokePaintWithAlpha);
578 _canvas.DrawOval(rect, CurrentState.FillPaintWithAlpha);
588 _canvas.ClipRect(rect, SKClipOperation.Difference);
595 _canvas.DrawPath(platformPath, CurrentState.StrokePaintWithAlpha);
604 _canvas.ClipPath(platformPath);
612 _canvas.DrawPath(platformPath, CurrentState.FillPaintWithAlpha);
627 _canvas.DrawText(value, x, y, CurrentState.FontPaint);
634 _canvas.DrawText(value, x, y, CurrentState.FontPaint);
641 _canvas.DrawText(value, x, y, CurrentState.FontPaint);
677 _canvas.DrawText(text, point.X, point.Y, CurrentState.FontPaint);
718 _canvas?.Restore();
749 _canvas.RotateDegrees(degrees, x, y);
756 _canvas.RotateDegrees(degrees);
766 _canvas.Scale(xFactor < 0 ? -1 : 1, yFactor < 0 ? -1 : 1);
773 _canvas.Translate(tx * CurrentState.ScaleX, ty * CurrentState.ScaleY);
781 _canvas.TotalMatrix.GetValues(values);
791 _canvas.Save();
814 _canvas.Save();
830 _canvas.DrawBitmap(bitmap, srcRect, destRect, paint);
832 _canvas.Restore();
842 _canvas.ClipRect(new SKRect(x, y, x + width, y + height));