jingwood / jingwood/d2dlib

Do not drawing polygon with transparent fill color

Open
#74 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
261
Forks
48
PR merge metrics
No merged PRs in 30d

Description

This code not drawing polygon. I am drawing on D2DControl.

```cs
g.DrawPolygon(new D2DPoint[] { new D2DPoint(100, 100), new D2DPoint(150, 150),
new D2DPoint(100, 150) }, D2DColor.Black, 1.7F, D2DDashStyle.Solid, D2DColor.Transparent);
```

when I set fill color its show OK.
But I am need draw only polygon frame.
Please help me.
Paul

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with D2DControl and the DrawPolygon call shown in the issue, then trace how D2DColor.Transparent is handled for the fill. Verify the behavior with the supplied three-point polygon and confirm that a transparent fill still renders the black outline with the requested width and dash style.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.