Hi,all, I want to paint a bias and never use LineTo(),Because I want get every point's coordinate in the bias.How can i do?
C / C++ / MFC
4
Posts
3
Posters
5
Views
1
Watching
-
Hi,all, I want to paint a bias and never use LineTo(),Because I want get every point's coordinate in the bias.How can i do? Thanks! BR jzhlily
-
Have you looked at Polyline()? It takes an array on points (coordinates) and draw them all at once. mike...
-
Hi,all, I want to paint a bias and never use LineTo(),Because I want get every point's coordinate in the bias.How can i do? Thanks! BR jzhlily
I'm not sure if this is what you want, but you may want to look at the LineDDA function. It passes all the coordinates needed to draw a specified line to a user defined callback function (it calls the callback function for each pixel in the line). Best regards, John