5 writes to _scaleX
Microsoft.Maui.Graphics (5)
39 references to _scaleX
Microsoft.Maui.Graphics (39)
ScalingCanvas.cs (39)
106 _canvas.SubtractFromClip(x1 * _scaleX, y1 * _scaleY, x2 * _scaleX, y2 * _scaleY);
111 _canvas.DrawLine(x1 * _scaleX, y1 * _scaleY, x2 * _scaleX, y2 * _scaleY);
116 _canvas.DrawArc(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY, startAngle, endAngle, clockwise, closed);
121 _canvas.FillArc(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY, startAngle, endAngle, clockwise);
126 _canvas.DrawEllipse(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY);
131 _canvas.DrawImage(image, x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY);
136 _canvas.DrawRectangle(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY);
141 _canvas.DrawRoundedRectangle(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY, cornerRadius * _scaleX);
146 _canvas.DrawString(value, x * _scaleX, y * _scaleY, horizontalAlignment);
152 _canvas.DrawString(value, x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY, horizontalAlignment, verticalAlignment, textFlow);
157 _canvas.DrawText(value, x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY);
162 _canvas.FillEllipse(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY);
167 _canvas.FillRectangle(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY);
172 _canvas.FillRoundedRectangle(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY, cornerRadius * _scaleX);
177 var scaledPath = path.AsScaledPath(_scaleX, _scaleY);
183 var scaledPath = path.AsScaledPath(_scaleX, _scaleY);
189 var scaledPath = path.AsScaledPath(_scaleX, _scaleY);
195 _canvas.ClipRectangle(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY);
200 _canvas.Rotate(degrees, x * _scaleX, y * _scaleY);
205 _canvas.SetFillPaint(paint, new RectF(rectangle.X * _scaleX, rectangle.Y * _scaleY, rectangle.Width * _scaleX, rectangle.Height * _scaleY));
236 _scaleXStack.Push(_scaleX);
268 return _scaleX;