3 writes to _originalImageSize
Microsoft.Maui.Controls (3)
Button\Button.iOS.cs (3)
96
_originalImageSize
= CGSize.Empty;
343
_originalImageSize
= image.Size;
477
_originalImageSize
= CGSize.Empty;
5 references to _originalImageSize
Microsoft.Maui.Controls (5)
Button\Button.iOS.cs (5)
340
if (
_originalImageSize
== CGSize.Empty || _originalCGImage is null || image.CGImage != _originalCGImage)
395
image = ResizeImageSource(image, availableWidth, availableHeight,
_originalImageSize
);
400
&& currentImageHeight !=
_originalImageSize
.Height
401
&& currentImageWidth !=
_originalImageSize
.Width)
403
image = ResizeImageSource(image, (nfloat)widthConstraint - additionalHorizontalSpace, (nfloat)heightConstraint - additionalVerticalSpace,
_originalImageSize
, true);