5#include "CoreMinimal.h"
22FVector2D
FitToBudget(FIntPoint Source,
float BudgetWidth,
float MaxAspect,
float DpiScale);
Working out how much room an inline image gets, kept apart from the widget so it can be tested.
Definition AttachmentLayout.cpp:6
FString WithResizeQuery(const FString &Url, const FIntPoint MaxPixels)
Ask Stream's CDN for an image no bigger than it is about to be drawn.
Definition AttachmentLayout.cpp:32
FVector2D FitToBudget(const FIntPoint Source, const float BudgetWidth, const float MaxAspect, const float DpiScale)
The size, in slate units, to draw an image of the given pixel dimensions at.
Definition AttachmentLayout.cpp:7