is there an equivalent of 'putpixel' and like simple graphics functions
that compiles under win (millenium)
(i'm using BC 4.52)
thx
is there an equivalent of 'putpixel' and like simple graphics functions
that compiles under win (millenium)
(i'm using BC 4.52)
thx
You bet!
Code:COLORREF SetPixel( HDC hdc, // handle to DC int X, // x-coordinate of pixel int Y, // y-coordinate of pixel COLORREF crColor // pixel color );
You didn't ask but the win32 api also has this:
Code:BOOL TextOut( HDC hdc, // handle of device context int nXStart, // x-coordinate of starting position int nYStart, // y-coordinate of starting position LPCTSTR lpString, // address of string int cbString // number of characters in string );