In the top left corner of hSrc there is a single pixel. So why doesn't this work?
for(int i = 0; i < height; i++)
for(int k = 0; k < width; k++)
BitBlt( hDst, k, i, 1, 1, hSrc, 0, 0, SRCCOPY);
What is the problem here?
In the top left corner of hSrc there is a single pixel. So why doesn't this work?
for(int i = 0; i < height; i++)
for(int k = 0; k < width; k++)
BitBlt( hDst, k, i, 1, 1, hSrc, 0, 0, SRCCOPY);
What is the problem here?
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
Works ok for me. Care to provide more source?