Setting pixels
-
How to set pixels in Bitmap? I created bitmap by using createbitmap(..), but i need to higlight the pixels at certain cordiantes like (20,20),(30,30).......How shooudl i proceed? -- modified at 6:42 Friday 24th March, 2006
-
How to set pixels in Bitmap? I created bitmap by using createbitmap(..), but i need to higlight the pixels at certain cordiantes like (20,20),(30,30).......How shooudl i proceed? -- modified at 6:42 Friday 24th March, 2006
CImage m; m.SetPixel();
-
CImage m; m.SetPixel();
thank u for your reply, how could i use it for C coding?
-
thank u for your reply, how could i use it for C coding?
//or you can use HDC hdc=CreateCompatibleDC(GetDC()->m_hDC); HBITMAP hBit=CreateCompatibleBitmap(GetDC()->m_hDC,X,Y); SelectObject(hdc,hBit); ... ... SetPixel(hdc,20,20,RGB(120,120,120));