14 references to Draw
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (14)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (14)
146 Draw(s => s.FillGeometry(geometry, CurrentState.PlatformFillBrush)); 208 Draw(ctx => ctx.FillGeometry(geometry, CurrentState.PlatformFillBrush)); 213 Draw(s => s.FillRectangle(x, y, width, height, CurrentState.PlatformFillBrush)); 218 Draw(s => s.FillRoundedRectangle(x, y, width, height, cornerRadius, cornerRadius, CurrentState.PlatformFillBrush)); 248 Draw(s => s.FillEllipse(_point1, radiusX, radiusY, CurrentState.PlatformFillBrush)); 293 Draw(ctx => ctx.DrawTextLayout(textLayout, _point1, CurrentState.PlatformFontBrush)); 364 Draw(ctx => ctx.DrawTextLayout(textLayout, _point1, CurrentState.PlatformFontBrush)); 539 Draw(s => s.DrawImage(platformImage.PlatformRepresentation, _rect, WRect.Empty, CurrentState.Alpha, CanvasImageInterpolation.Linear)); 550 Draw(s => s.DrawLine(x1, y1, x2, y2, CurrentState.PlatformStrokeBrush, CurrentState.StrokeSize, CurrentState.PlatformStrokeStyle)); 596 Draw(ctx => ctx.DrawGeometry(geometry, CurrentState.PlatformStrokeBrush, strokeWidth, CurrentState.PlatformStrokeStyle)); 604 Draw(s => s.DrawRectangle(_rect, CurrentState.PlatformStrokeBrush, CurrentState.StrokeSize, CurrentState.PlatformStrokeStyle)); 622 Draw(s => s.DrawRoundedRectangle(_rect, cornerRadius, cornerRadius, CurrentState.PlatformStrokeBrush, CurrentState.StrokeSize, CurrentState.PlatformStrokeStyle)); 655 Draw(s => s.DrawEllipse(px, py, radiusX, radiusY, CurrentState.PlatformStrokeBrush, CurrentState.StrokeSize, CurrentState.PlatformStrokeStyle)); 678 Draw(s =>