Let $C$ be a simple closed curve in the complex plane, and let $f$ be holomorphic on an open set containing $C$. Is there a condition on the signs of Im $f$ and Re $f$ on $C$ that guarantees the existence of a zero of $f$ in the interior of $C$? (Shih's theorem is not quite what I want; there the condition is $\text{Re }\overline{z} \cdot f(z) > 0$.) (See M.-H. Shih, "Bolzano's Theorem for Functions of a complex variable, Am. Math. Monthly v. 89 (1982), 210-211.)
If the number of zeros of $f$ inside $C =$ the number of zeros of the identity in $f(C)$ then it should be sufficient that $f(C)$ passes through each quadrant in cyclic order (which can be rewritten as conditions on the imaginary and real parts as originally requested.) When is this equality the case?