- Messages
- 75
- Country

I am working off the SDK Samples and creating some simple GDI+ gauges. Namely, I am using GDIPlusAircraft SDK sample to expand on their 3 sets of gauges.
Everything is more or less going well, except for a few quirks I can't seem to solve. First, and as the title says, I can only get solid lines to render. If I set any other line style, they just render as solid lines. My code couldn't be simpler:
...and yet, no dashes. Just a solid line. Same with any other line style. What am I doing wrong?
Everything is more or less going well, except for a few quirks I can't seem to solve. First, and as the title says, I can only get solid lines to render. If I set any other line style, they just render as solid lines. My code couldn't be simpler:
C++:
...
penPurpleDashThin(Color(255, 0, 204));
penPurpleDashThin.SetDashStyle(DashStyle::DashStyleDash);
...
gfx->DrawLine(&penPurpleDashThin, 0, 0, 0, 176);
...
...and yet, no dashes. Just a solid line. Same with any other line style. What am I doing wrong?