fix(web): stride-correct CropBounds Fill rendering in compositor (take-23)
This commit is contained in:
@@ -29,9 +29,9 @@ public sealed class VideoFrame
|
||||
|
||||
/// <summary>WebSource crop metadata: the alpha bounding box of the widget content
|
||||
/// within the full canvas (X/Y/W/H in pixels). When set, the compositor uses these
|
||||
/// bounds for Fill-style scaling (stretch to cover, no aspect preservation) instead
|
||||
/// of UniformToFill. The transparent margins of the full canvas are preserved so
|
||||
/// they reveal layers beneath — the crop defines the actual content region.</summary>
|
||||
/// bounds for Fill-style scaling (stretch to cover, no aspect preservation) instead of
|
||||
/// UniformToFill. The transparent margins of the full canvas are preserved so they
|
||||
/// reveal layers beneath — the crop defines the actual content region.</summary>
|
||||
public (int X, int Y, int W, int H)? CropBounds { get; init; }
|
||||
|
||||
public VideoFrame(int width, int height, byte[] bgraPixels)
|
||||
|
||||
Reference in New Issue
Block a user