Description

WidgetBlueprintLibrary::DrawLines which calls FSlateDrawElement::MakeLines has broken AA for sharp cornered lines.

Steps to Reproduce

Draw an anti-aliased line with a sharp change in direction using WidgetBlueprint::DrawLines. Here's one way to rig it:

New Widget Blueprint
Override OnPaint event as follows:

OnPaint -> Draw Lines -> return
Where Draw Lines takes an array of
[0]200,100; [1]300,500; [2]320,100

Add new widget to level UI graph
Event BeginPlay -> Create widget -> Add to viewport

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-30481 in the post.

1
Login to Vote

Fixed
ComponentUE - Editor - UI Systems
Affects Versions4.104.11
Target Fix4.13
Fix Commit3070807
Main Commit3092051
Release Commit3070807
CreatedMay 9, 2016
ResolvedAug 1, 2016
UpdatedSep 17, 2021
View Jira Issue