R
Rangaraj.P
Guest
Hello,
i am using GDI plus with vc++ for displaying transparent color and i tried below code but its not transparent
Code:
Gdiplus:en pen_;
pen_(Gdiplus::Color(127,0,0,0), 1);
COLORREFF color = RGB(180,180,0);
pen_.SetColor(Gdiplus::Color(127,GetRValue(color), GetGValue(color),
GetBValue(color)));
graphics->DrawLine(&pen_, startpoint, endpoint); ---> display line color
127 -> alpha value for transparent.
please kindly give your suggestion.
Rangaraj Palanisamy
Continue reading...
i am using GDI plus with vc++ for displaying transparent color and i tried below code but its not transparent
Code:
Gdiplus:en pen_;
pen_(Gdiplus::Color(127,0,0,0), 1);
COLORREFF color = RGB(180,180,0);
pen_.SetColor(Gdiplus::Color(127,GetRValue(color), GetGValue(color),
GetBValue(color)));
graphics->DrawLine(&pen_, startpoint, endpoint); ---> display line color
127 -> alpha value for transparent.
please kindly give your suggestion.
Rangaraj Palanisamy
Continue reading...