This project is read-only.

GDIPlus DarkSalmon

Topics: Bug Information, Enhancement Request
Feb 17, 2010 at 1:02 PM
Edited Feb 19, 2010 at 7:48 PM

Hi,

I noticed

 

1)color DarkSalmon is converted as pure black when I apply

 

oBrush = .Drawing2D.LinearGradientBrush.New( ;
                  .Rectangle.New(0,0,1,_SCREEN.Height), ;
                  .Color.Blue, ;
                  .Color.DarkSalmon, ;
                  .Drawing2D.LineargradientMode.Vertical )

my GdiPlusConstants.H file has #DEFINE ARGB_DarkSalmon     -1468806

other colors result color as expected, also

2) it seems Aqua and Cyan are the same color (16711681)

Are these 2 things to be corrected, or did I misunderstand?

Regards,

Koen

Mar 11, 2010 at 7:35 PM

Hi Koen,

According the the following link, -1468806 (0xFFE9967A) is the documented color for dark salmon. I will do some testing on my end to see why it is black:
http://msdn.microsoft.com/en-us/library/system.drawing.color.darksalmon.aspx

And, yes, Aqua and Cyan are the same color: 0xFF00FFFF. See:
http://msdn.microsoft.com/en-us/library/system.drawing.color.cyan.aspx
http://msdn.microsoft.com/en-us/library/system.drawing.color.aqua.aspx

Thanks,
Bo

Apr 7, 2010 at 6:41 PM

 

Bo,

Hi,

 

Did you test the salmon already?

Regards,

 

Koen