Drawing a mat picture not correct in hdc of C++

And actually, I dont understand your second point, could you please explain it.
Thank you