ToPaintGeometry is marked as deprecated

Hello,

The function

/**
	 * !!! DEPRECATED FUNCTION !!! Use ToPaintGeometry taking a layout transform instead!
	 * Create a paint geometry relative to this one with a given local space size and layout transform given as a scale+offset.
	 * The paint geometry inherits the widget's render transform.
	 *
	 * @param LocalOffset	Offset of the paint geometry relative to the parent. Scale+Offset effectively define the layout transform.
	 * @param LocalSize		The size of the paint geometry in local space.
	 * @param LocalScale	Scale of the paint geometry relative to the parent. Scale+Offset effectively define the layout transform.
	 * 
	 * @return				The new paint geometry derived from this one.
	 */
	FPaintGeometry ToPaintGeometry( const FVector2D& LocalOffset, const FVector2D& LocalSize, float LocalScale = 1.0f ) const;

I was using it to draw an icon within a widget with a FMargin.

	FSlateRect InsideRect(MyClippingRect.InsetBy(IconMargin));
	
	// Draw icon box
	if (IconBrush && IconBrush->HasUObject())
	{
		FSlateDrawElement::MakeBox(
			OutDrawElements,
			LayerId,
			AllottedGeometry.ToPaintGeometry(FVector2D(IconMargin.Left, IconMargin.Top), InsideRect.GetSize()),
			IconBrush,
			MyClippingRect,
			ESlateDrawEffect::None,
			(IconColor == COL_EMPTY) ? 
				IconBrush->GetTint(InWidgetStyle) * InWidgetStyle.GetColorAndOpacityTint() 
				: IconColor * InWidgetStyle.GetColorAndOpacityTint()
			);
	}

How to do the same without the offset and the size ?

Txs.
D.