|
From: Jason H. <jas...@bt...> - 2001-10-31 11:29:35
|
You can either use the Windows GDI and get a device context etc..., which isn't recomended if you want speed, or you can write your own algorithm to do it. You might want to look up something like the Bresenhams algorithm which does that. If you want more information I can dig out a copy of Bresenhams I developed in college? Jason. ----- Original Message ----- From: "<Dx 8a>" <vin...@ed...> To: "Dev-C++ mailing list" <dev...@li...> Sent: Wednesday, October 31, 2001 5:02 AM Subject: [Dev-C++] Drawing lines > In DirectX's DirectDraw, how do I draw a straight line from Point A having coordinates (x1,y1) to point B with coordinates (x2,y2). is there a specific function for this operation? > > Thanks > > __________________________________ > www.edsamail.com > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |