We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f1e13e commit 53d30edCopy full SHA for 53d30ed
1 file changed
Sources/WindowsAppSupport/WAS_Direct2DContextBase.cpp
@@ -161,6 +161,7 @@ bool Direct2DContextBase::NeedToDraw (ItemPreviewMode)
161
162
void Direct2DContextBase::DrawLine (const NUIE::Point& beg, const NUIE::Point& end, const NUIE::Pen& pen)
163
{
164
+ Direct2DAntialiasGuard antialiasGuard (renderTarget, D2D1_ANTIALIAS_MODE_PER_PRIMITIVE);
165
ID2D1SolidColorBrush* d2Brush = CreateBrush (renderTarget, pen.GetColor ());
166
renderTarget->DrawLine (CreatePoint (beg), CreatePoint (end), d2Brush, GetPenThickness (pen));
167
SafeRelease (&d2Brush);
0 commit comments