-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-System.DrawinguntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Description
Description
Linked to #49275
When trying to use GDI+ methods in Linux (specifically FillPie) I'm getting Generic GDI+ Error
This works fine in Windows and fails in Linux.
Configuration
- Which version of .NET is the code running on? 5.0.4
- What OS and version, and what distro if applicable? Ubuntu 16
- What is the architecture (x64, x86, ARM, ARM64)? x64
- Do you know whether it is specific to that configuration? yes
Other information
Error:
System.AggregateException: One or more errors occurred. (A generic error occurred in GDI+.)
---> System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
at System.Drawing.SafeNativeMethods.Gdip.CheckStatus(Int32 status)
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.FillPie(Brush brush, Single x, Single y, Single width, Single height, Single startAngle, Single sweepAngle)
at System.Drawing.Graphics.FillPie(Brush brush, Rectangle rect, Single startAngle, Single sweepAngle)
at ...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.DrawinguntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner