In the program, you need to draw multiple dashed lines. Original SelectObject has a dotted brush and then uses the LINETO function. The results of the drawing are very low, very slow. So change the code:
INT NY = M_NTOPMARGINPOS; While (NY setpixel (Cali.Point.x, NY, M_CLRSCALE); NY = 2;}
This is no problem.
Recently, you need to change the broken line to the solid line. If you don't think too much, you will change the NY = 2 this sentence to NY = 1. The result is very slow, it is looking for a long time, and the problem is still here. It's really a strange thing, trying to change to Lineto and solved it.
I only know, I don't know if it is.
Moreover, these lines levels are both vertical, and the performance of Lineto and SetPixel in both cases, I really want it.