Trigonometric Function Values

The six trigonmetric functions are ratios of the sides of the reference triangle.

How do we know if a trigonometric value is positive or negative in a given quadrant?